Enum DirectionCompassEnum
- java.lang.Object
-
- java.lang.Enum<DirectionCompassEnum>
-
- eu.datex2.siri21.schema._2_0rc1._2_0.DirectionCompassEnum
-
- All Implemented Interfaces:
Serializable,Comparable<DirectionCompassEnum>
public enum DirectionCompassEnum extends Enum<DirectionCompassEnum>
Java class for DirectionCompassEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DirectionCompassEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="east"/> <enumeration value="eastNorthEast"/> <enumeration value="eastSouthEast"/> <enumeration value="north"/> <enumeration value="northEast"/> <enumeration value="northNorthEast"/> <enumeration value="northNorthWest"/> <enumeration value="northWest"/> <enumeration value="south"/> <enumeration value="southEast"/> <enumeration value="southSouthEast"/> <enumeration value="southSouthWest"/> <enumeration value="southWest"/> <enumeration value="west"/> <enumeration value="westNorthWest"/> <enumeration value="westSouthWest"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EASTEAST_NORTH_EASTEAST_SOUTH_EASTNORTHNORTH_EASTNORTH_NORTH_EASTNORTH_NORTH_WESTNORTH_WESTSOUTHSOUTH_EASTSOUTH_SOUTH_EASTSOUTH_SOUTH_WESTSOUTH_WESTWESTWEST_NORTH_WESTWEST_SOUTH_WEST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DirectionCompassEnumfromValue(String v)Stringvalue()static DirectionCompassEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static DirectionCompassEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EAST
public static final DirectionCompassEnum EAST
-
EAST_NORTH_EAST
public static final DirectionCompassEnum EAST_NORTH_EAST
-
EAST_SOUTH_EAST
public static final DirectionCompassEnum EAST_SOUTH_EAST
-
NORTH
public static final DirectionCompassEnum NORTH
-
NORTH_EAST
public static final DirectionCompassEnum NORTH_EAST
-
NORTH_NORTH_EAST
public static final DirectionCompassEnum NORTH_NORTH_EAST
-
NORTH_NORTH_WEST
public static final DirectionCompassEnum NORTH_NORTH_WEST
-
NORTH_WEST
public static final DirectionCompassEnum NORTH_WEST
-
SOUTH
public static final DirectionCompassEnum SOUTH
-
SOUTH_EAST
public static final DirectionCompassEnum SOUTH_EAST
-
SOUTH_SOUTH_EAST
public static final DirectionCompassEnum SOUTH_SOUTH_EAST
-
SOUTH_SOUTH_WEST
public static final DirectionCompassEnum SOUTH_SOUTH_WEST
-
SOUTH_WEST
public static final DirectionCompassEnum SOUTH_WEST
-
WEST
public static final DirectionCompassEnum WEST
-
WEST_NORTH_WEST
public static final DirectionCompassEnum WEST_NORTH_WEST
-
WEST_SOUTH_WEST
public static final DirectionCompassEnum WEST_SOUTH_WEST
-
-
Method Detail
-
values
public static DirectionCompassEnum[] 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 (DirectionCompassEnum c : DirectionCompassEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DirectionCompassEnum 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 DirectionCompassEnum fromValue(String v)
-
-