001package jmri.jmrit.operations.rollingstock;
002
003/**
004 * A convenient place to access operations xml element and attribute names.
005 *
006 * @author Daniel Boudreau Copyright (C) 2012
007 * 
008 *
009 */
010public class Xml {
011
012    private Xml(){
013        //class of constants
014    }
015
016    // Common to operation xml files
017    protected static final String ID = "id"; // NOI18N
018    protected static final String NAME = "name"; // NOI18N
019    protected static final String CAR_TYPES = "carTypes"; // NOI18N
020    protected static final String DIR = "dir"; // NOI18N
021    protected static final String COMMENT = "comment"; // NOI18N
022    protected static final String TRACK = "track"; // NOI18N
023    public static final String TYPE = "type"; // NOI18N
024    protected static final String LENGTH = "length"; // NOI18N
025
026    protected static final String TRUE = "true"; // NOI18N
027    protected static final String FALSE = "false"; // NOI18N
028
029    // RollingStock.java
030    protected static final String ROAD_NUMBER = "roadNumber"; // NOI18N
031    protected static final String ROAD_NAME = "roadName"; // NOI18N
032    protected static final String COLOR = "color"; // NOI18N
033    protected static final String WEIGHT = "weight"; // NOI18N
034    protected static final String WEIGHT_TONS = "weightTons"; // NOI18N
035    protected static final String BUILT = "built"; // NOI18N
036    protected static final String LOCATION = "location"; // NOI18N
037    protected static final String MOVES = "moves"; // NOI18N
038    protected static final String OWNER = "owner"; // NOI18N
039    protected static final String VALUE = "value"; // NOI18N
040    protected static final String RFID = "rfid"; // NOI18N
041    protected static final String TRAIN = "train"; // NOI18N
042    protected static final String TRAIN_ID = "trainId"; // NOI18N
043    protected static final String LAST_TRAIN = "lastTrain"; // NOI18N
044    protected static final String LAST_TRAIN_ID = "lastTrainId"; // NOI18N
045    protected static final String OUT_OF_SERVICE = "outOfService"; // NOI18N
046    protected static final String DESTINATION = "destination"; // NOI18N
047    protected static final String DES_TRACK = "desTrack"; // NOI18N
048    protected static final String LOC_UNKNOWN = "locUnknown"; // NOI18N
049    protected static final String DATE = "date"; // NOI18N
050    protected static final String BLOCKING = "blocking"; // NOI18N
051    protected static final String SELECTED = "selected"; // NOI18N
052
053    protected static final String LOCATION_ID = "locationId"; // NOI18N
054    protected static final String SEC_LOCATION_ID = "secLocationId"; // NOI18N
055    protected static final String DESTINATION_ID = "destinationId"; // NOI18N
056    protected static final String SEC_DESTINATION_ID = "secDestinationId"; // NOI18N
057    protected static final String LAST_LOCATION_ID = "lastLocationId"; // NOI18N
058    protected static final String LAST_TRACK_ID = "lastTrackId"; // NOI18N
059    protected static final String ROUTE_LOCATION_ID = "routeLocationId"; // NOI18N
060    protected static final String ROUTE_DESTINATION_ID = "routeDestinationId"; // NOI18N
061    protected static final String LAST_ROUTE_ID = "lastRouteId"; // NOI18N
062    protected static final String DIVISION_ID_ERROR = "DivisionId"; // NOI18N
063    protected static final String DIVISION_ID = "divisionId"; // NOI18N
064    protected static final String PICKUP_TIME = "pickupTime"; // NOI18N
065    protected static final String SETOUT_TIME = "setoutTime"; // NOI18N
066    protected static final String CLONE = "clone"; // NOI18N
067
068    // Car.java
069    protected static final String PASSENGER = "passenger"; // NOI18N
070    protected static final String LOAD = "load"; // NOI18N
071    protected static final String SHIP = "ship"; // NOI18N
072}