Package jmri.server.json.operations
Class JsonOperations
- java.lang.Object
-
- jmri.server.json.operations.JsonOperations
-
public class JsonOperations extends java.lang.Object
JSON Tokens used by JSON Operations.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BUILT
"built"static java.lang.String
CABOOSE
"caboose"static java.lang.String
CAR
"car"static java.lang.String
CAR_SUB_TYPE
"carSubType"static java.lang.String
CAR_TYPE
"carType"static java.lang.String
CAR_TYPES
"carTypes"static java.lang.String
CARS
"cars"static java.lang.String
COLOR
"color"static java.lang.String
COMMENT
"comment"static java.lang.String
DATE
"date"static java.lang.String
DESTINATION
"destination"static java.lang.String
DESTINATION_TRACK
"dest&track"static java.lang.String
DIVISION
"division"static java.lang.String
ENGINE
"engine"static java.lang.String
ENGINES
"engines"static java.lang.String
FINAL_DEST_TRACK
"fd&track"static java.lang.String
FINAL_DESTINATION
"final dest"static java.lang.String
FRED
"fred"static java.lang.String
HAZARDOUS
"hazardous"static java.lang.String
HP
"hp"static java.lang.String
IS_LOCAL
"isLocal"static java.lang.String
KERNEL
"kernel"static java.lang.String
LEAD
"lead"static java.lang.String
LEAD_ENGINE
"leadEngine"static java.lang.String
LENGTH
"length"static java.lang.String
LOAD
"load"static java.lang.String
LOCATION
"location"static java.lang.String
LOCATION_COMMENT
"locationComment"static java.lang.String
LOCATION_ID
"locationId"static java.lang.String
LOCATION_NAME
"locationName"static java.lang.String
LOCATION_UNKNOWN
"locationUnknown"static java.lang.String
MODEL
"model"static java.lang.String
NULL
"null"static java.lang.String
NUMBER
"number"static java.lang.String
OUT_OF_SERVICE
"outOfService"static java.lang.String
OWNER
"owner"static java.lang.String
PASSENGER
"passenger"static java.lang.String
PICKUP_COMMENT
"pickup msg"static java.lang.String
RETURN_WHEN_EMPTY
"rwe"static java.lang.String
RETURN_WHEN_LOADED
static java.lang.String
ROAD
"road"static java.lang.String
ROLLING_STOCK
"rollingStock"static java.lang.String
SETOUT_COMMENT
"setout msg"static java.lang.String
TERMINATE
"terminate"static java.lang.String
TRACK
"track"static java.lang.String
TRAIN
"train"static java.lang.String
TRAIN_ICON_NAME
"trainIconName"static java.lang.String
TRAIN_ID
"trainId"static java.lang.String
TRAIN_NAME
"trainName"static java.lang.String
TRAINS
"trains"static java.lang.String
TYPE
"type"static java.lang.String
UTILITY
"utility"static java.lang.String
WEIGHT
"weight"static java.lang.String
WEIGHT_TONS
"weightTons"
-
-
-
Field Detail
-
CARS
public static final java.lang.String CARS
"cars"- See Also:
- Constant Field Values
-
TRAINS
public static final java.lang.String TRAINS
"trains"- See Also:
- Constant Field Values
-
CAR
public static final java.lang.String CAR
"car"- See Also:
- Constant Field Values
-
ENGINE
public static final java.lang.String ENGINE
"engine"- See Also:
- Constant Field Values
-
ENGINES
public static final java.lang.String ENGINES
"engines"- See Also:
- Constant Field Values
-
LOCATION
public static final java.lang.String LOCATION
"location"- See Also:
- Constant Field Values
-
LOCATION_COMMENT
public static final java.lang.String LOCATION_COMMENT
"locationComment"- See Also:
- Constant Field Values
-
LOCATION_ID
public static final java.lang.String LOCATION_ID
"locationId"- See Also:
- Constant Field Values
-
LOCATION_NAME
public static final java.lang.String LOCATION_NAME
"locationName"- See Also:
- Constant Field Values
-
LOCATION_UNKNOWN
public static final java.lang.String LOCATION_UNKNOWN
"locationUnknown"- See Also:
- Constant Field Values
-
TRAIN_ID
public static final java.lang.String TRAIN_ID
"trainId"- See Also:
- Constant Field Values
-
TRAIN_NAME
public static final java.lang.String TRAIN_NAME
"trainName"- See Also:
- Constant Field Values
-
TRAIN_ICON_NAME
public static final java.lang.String TRAIN_ICON_NAME
"trainIconName"- See Also:
- Constant Field Values
-
TRAIN
public static final java.lang.String TRAIN
"train"- See Also:
- Constant Field Values
-
LENGTH
public static final java.lang.String LENGTH
"length"Used for rolling stock length in feet or meters
- See Also:
- Constant Field Values
-
WEIGHT
public static final java.lang.String WEIGHT
"weight"Rolling stock or a train's weight in tons
- See Also:
- Constant Field Values
-
WEIGHT_TONS
public static final java.lang.String WEIGHT_TONS
"weightTons"Used for model weight of rolling stock in tons
- See Also:
- Constant Field Values
-
TYPE
public static final java.lang.String TYPE
"type"- See Also:
- Constant Field Values
-
COLOR
public static final java.lang.String COLOR
"color"- See Also:
- Constant Field Values
-
LOAD
public static final java.lang.String LOAD
"load"- See Also:
- Constant Field Values
-
MODEL
public static final java.lang.String MODEL
"model"- See Also:
- Constant Field Values
-
HP
public static final java.lang.String HP
"hp"- See Also:
- Constant Field Values
-
ROAD
public static final java.lang.String ROAD
"road"- See Also:
- Constant Field Values
-
NUMBER
public static final java.lang.String NUMBER
"number"- See Also:
- Constant Field Values
-
OWNER
public static final java.lang.String OWNER
"owner"- See Also:
- Constant Field Values
-
HAZARDOUS
public static final java.lang.String HAZARDOUS
"hazardous"- See Also:
- Constant Field Values
-
COMMENT
public static final java.lang.String COMMENT
"comment"- See Also:
- Constant Field Values
-
KERNEL
public static final java.lang.String KERNEL
"kernel"- See Also:
- Constant Field Values
-
FINAL_DESTINATION
public static final java.lang.String FINAL_DESTINATION
"final dest"- See Also:
- Constant Field Values
-
FINAL_DEST_TRACK
public static final java.lang.String FINAL_DEST_TRACK
"fd&track"- See Also:
- Constant Field Values
-
RETURN_WHEN_EMPTY
public static final java.lang.String RETURN_WHEN_EMPTY
"rwe"- See Also:
- Constant Field Values
-
SETOUT_COMMENT
public static final java.lang.String SETOUT_COMMENT
"setout msg"- Since:
- 1.1
- See Also:
- Constant Field Values
-
PICKUP_COMMENT
public static final java.lang.String PICKUP_COMMENT
"pickup msg"- Since:
- 1.1
- See Also:
- Constant Field Values
-
IS_LOCAL
public static final java.lang.String IS_LOCAL
"isLocal"- Since:
- 1.1
- See Also:
- Constant Field Values
-
RETURN_WHEN_LOADED
public static final java.lang.String RETURN_WHEN_LOADED
- Since:
- 5.4.0
- See Also:
- Constant Field Values
-
DIVISION
public static final java.lang.String DIVISION
"division"- Since:
- 5.4.0
- See Also:
- Constant Field Values
-
UTILITY
public static final java.lang.String UTILITY
"utility"- Since:
- 1.1
- See Also:
- Constant Field Values
-
BUILT
public static final java.lang.String BUILT
"built"- See Also:
- Constant Field Values
-
LEAD_ENGINE
public static final java.lang.String LEAD_ENGINE
"leadEngine"- See Also:
- Constant Field Values
-
CABOOSE
public static final java.lang.String CABOOSE
"caboose"- See Also:
- Constant Field Values
-
FRED
public static final java.lang.String FRED
"fred"- See Also:
- Constant Field Values
-
PASSENGER
public static final java.lang.String PASSENGER
"passenger"- See Also:
- Constant Field Values
-
TERMINATE
public static final java.lang.String TERMINATE
"terminate"- See Also:
- Constant Field Values
-
TRACK
public static final java.lang.String TRACK
"track"- Since:
- 1.1
- See Also:
- Constant Field Values
-
DATE
public static final java.lang.String DATE
"date"- Since:
- 1.1
- See Also:
- Constant Field Values
-
DESTINATION
public static final java.lang.String DESTINATION
"destination"- See Also:
- Constant Field Values
-
DESTINATION_TRACK
public static final java.lang.String DESTINATION_TRACK
"dest&track"- See Also:
- Constant Field Values
-
LEAD
public static final java.lang.String LEAD
"lead"- See Also:
- Constant Field Values
-
CAR_SUB_TYPE
public static final java.lang.String CAR_SUB_TYPE
"carSubType"- See Also:
- Constant Field Values
-
CAR_TYPE
public static final java.lang.String CAR_TYPE
"carType"- See Also:
- Constant Field Values
-
CAR_TYPES
public static final java.lang.String CAR_TYPES
"carTypes"- See Also:
- Constant Field Values
-
ROLLING_STOCK
public static final java.lang.String ROLLING_STOCK
"rollingStock"- See Also:
- Constant Field Values
-
OUT_OF_SERVICE
public static final java.lang.String OUT_OF_SERVICE
"outOfService"- See Also:
- Constant Field Values
-
NULL
public static final java.lang.String NULL
"null"- See Also:
- Constant Field Values
-
-