001/** 002 * Copyright 2018 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.shock.datatypes; 017 018/** 019 * 020 * 021 */ 022public final class Definitions { 023 /* elements */ 024 /** xml element declaration */ 025 public static final String ELEMENT_ACCELEROMETER_DATA = "accelerometerData"; 026 /** xml element declaration */ 027 public static final String ELEMENT_FROM_TIMESTAMP = "from"; 028 /** xml element declaration */ 029 public static final String ELEMENT_LATITUDE = "latitude"; 030 /** xml element declaration */ 031 public static final String ELEMENT_LEVEL = "level"; 032 /** xml element declaration */ 033 public static final String ELEMENT_LOCATION_DATA = "locationData"; 034 /** xml element declaration */ 035 public static final String ELEMENT_LONGITUDE = "longitude"; 036 /** xml element declaration */ 037 public static final String ELEMENT_HEADING = "heading"; 038 /** xml element declaration */ 039 public static final String ELEMENT_MEASUREMENT_COUNT = "measurementCount"; 040 /** xml element declaration */ 041 public static final String ELEMENT_MIN_LEVEL = "minLevel"; 042 /** xml element declaration */ 043 public static final String ELEMENT_MAX_LEVEL = "maxLevel"; 044 /** xml element declaration */ 045 public static final String ELEMENT_MAX_RANGE = "maxRange"; 046 /** xml element declaration */ 047 public static final String ELEMENT_SHOCK_HIGHLIGHT = "highlight"; 048 /** xml element declaration */ 049 public static final String ELEMENT_SHOCK_HIGHLIGHT_LIST = "highlightList"; 050 /** xml element declaration */ 051 public static final String ELEMENT_SPEED = "speed"; 052 /** xml element declaration */ 053 public static final String ELEMENT_SYSTEMATIC_ERROR = "systematicError"; 054 /** xml element declaration */ 055 public static final String ELEMENT_TIMESTAMP = "timestamp"; 056 /** xml element declaration */ 057 public static final String ELEMENT_TO_TIMESTAMP = "to"; 058 /** xml element declaration */ 059 public static final String ELEMENT_USER_COUNT = "userCount"; 060 /** xml element declaration */ 061 public static final String ELEMENT_X_ACCELERATION = "x_acc"; 062 /** xml element declaration */ 063 public static final String ELEMENT_Y_ACCELERATION = "y_acc"; 064 /** xml element declaration */ 065 public static final String ELEMENT_Z_ACCELERATION = "z_acc"; 066 067 /** 068 */ 069 private Definitions() { 070 // nothing needed 071 } 072}