com.ecebs.rtd.enabler.types.itso
Enum LOCE.LocDefType
java.lang.Object
java.lang.Enum<LOCE.LocDefType>
com.ecebs.rtd.enabler.types.itso.LOCE.LocDefType
- All Implemented Interfaces:
- Serializable, Comparable<LOCE.LocDefType>
- Enclosing class:
- LOCE
public static enum LOCE.LocDefType
- extends Enum<LOCE.LocDefType>
Defines the types of locations defined in ITSO
1000-1, 4.2.4
- Author:
- Kyle
EMPTY
public static final LOCE.LocDefType EMPTY
BUS_FARE_STAGE_TYPE_1
public static final LOCE.LocDefType BUS_FARE_STAGE_TYPE_1
SHORT_NLC
public static final LOCE.LocDefType SHORT_NLC
ZONAL_BITMAP_ANYWHERE
public static final LOCE.LocDefType ZONAL_BITMAP_ANYWHERE
ZONAL_BITMAP_ZONETOZONE
public static final LOCE.LocDefType ZONAL_BITMAP_ZONETOZONE
NAPTAN_CODE
public static final LOCE.LocDefType NAPTAN_CODE
ZONE_NUMBER
public static final LOCE.LocDefType ZONE_NUMBER
FULL_NLC
public static final LOCE.LocDefType FULL_NLC
BUS_FARE_STAGE_TYPE_2
public static final LOCE.LocDefType BUS_FARE_STAGE_TYPE_2
SERVICE_NUMBERS
public static final LOCE.LocDefType SERVICE_NUMBERS
ATCO_CODE
public static final LOCE.LocDefType ATCO_CODE
MULTIPLE_NAPTAN_CODES
public static final LOCE.LocDefType MULTIPLE_NAPTAN_CODES
NULL
public static final LOCE.LocDefType NULL
values
public static LOCE.LocDefType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (LOCE.LocDefType c : LOCE.LocDefType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LOCE.LocDefType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getLocDefCode
public int getLocDefCode()
convert
public static LOCE.LocDefType convert(short code)
Copyright © 2013 Ecebs Ltd. All Rights Reserved.