Enum DirectionEnum
- java.lang.Object
-
- java.lang.Enum<DirectionEnum>
-
- eu.datex2.siri20.schema._2_0rc1._2_0.DirectionEnum
-
- All Implemented Interfaces:
Serializable,Comparable<DirectionEnum>
public enum DirectionEnum extends Enum<DirectionEnum>
Java class for DirectionEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DirectionEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="anticlockwise"/> <enumeration value="clockwise"/> <enumeration value="northBound"/> <enumeration value="northEastBound"/> <enumeration value="eastBound"/> <enumeration value="southEastBound"/> <enumeration value="southBound"/> <enumeration value="southWestBound"/> <enumeration value="westBound"/> <enumeration value="northWestBound"/> <enumeration value="inboundTowardsTown"/> <enumeration value="outboundFromTown"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANTICLOCKWISECLOCKWISEEAST_BOUNDINBOUND_TOWARDS_TOWNNORTH_BOUNDNORTH_EAST_BOUNDNORTH_WEST_BOUNDOUTBOUND_FROM_TOWNSOUTH_BOUNDSOUTH_EAST_BOUNDSOUTH_WEST_BOUNDWEST_BOUND
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DirectionEnumfromValue(String v)Stringvalue()static DirectionEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static DirectionEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANTICLOCKWISE
public static final DirectionEnum ANTICLOCKWISE
-
CLOCKWISE
public static final DirectionEnum CLOCKWISE
-
NORTH_BOUND
public static final DirectionEnum NORTH_BOUND
-
NORTH_EAST_BOUND
public static final DirectionEnum NORTH_EAST_BOUND
-
EAST_BOUND
public static final DirectionEnum EAST_BOUND
-
SOUTH_EAST_BOUND
public static final DirectionEnum SOUTH_EAST_BOUND
-
SOUTH_BOUND
public static final DirectionEnum SOUTH_BOUND
-
SOUTH_WEST_BOUND
public static final DirectionEnum SOUTH_WEST_BOUND
-
WEST_BOUND
public static final DirectionEnum WEST_BOUND
-
NORTH_WEST_BOUND
public static final DirectionEnum NORTH_WEST_BOUND
-
INBOUND_TOWARDS_TOWN
public static final DirectionEnum INBOUND_TOWARDS_TOWN
-
OUTBOUND_FROM_TOWN
public static final DirectionEnum OUTBOUND_FROM_TOWN
-
-
Method Detail
-
values
public static DirectionEnum[] 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 (DirectionEnum c : DirectionEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DirectionEnum 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 nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static DirectionEnum fromValue(String v)
-
-