001/**
002 * Copyright 2016 Tampere University of Technology, Pori Department
003 * 
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 * 
008 *   http://www.apache.org/licenses/LICENSE-2.0
009 * 
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package service.tut.pori.apilta.sensors.reference;
017
018/**
019 * reference definitions
020 * 
021 */
022public final class Definitions {
023  /* elements */
024  /** xml element declaration */
025  protected static final String ELEMENT_EXAMPLE = "example";
026  
027  /* methods */
028  /** service method declaration */
029  public static final String METHOD_TASK_DETAILS = service.tut.pori.tasks.Definitions.ELEMENT_TASK+"/details";
030  /** service method declaration */
031  public static final String METHOD_TASK_RESULTS = service.tut.pori.tasks.Definitions.ELEMENT_TASK+"/results";
032  
033  /* services */
034  /** service name declaration */
035  public static final String SERVICE_SENSORS_REFERENCE_BACKEND = "cserb";
036  /** service name declaration */
037  public static final String SERVICE_SENSORS_REFERENCE_CLIENT = "cserc";
038  /** service name declaration */
039  public static final String SERVICE_SENSORS_REFERENCE_EXAMPLE = "csere";
040  /** service name declaration */
041  public static final String SERVICE_SENSORS_REFERENCE_SERVER = "csers";
042  
043  /* parameters */
044  /** parameter declaration */
045  protected static final String PARAMETER_TASK_TYPE = "task_type";
046
047  /**
048   * 
049   */
050  private Definitions(){
051    // nothing needed
052  }
053}