Enum ReferencePointDirectionEnum
- java.lang.Object
-
- java.lang.Enum<ReferencePointDirectionEnum>
-
- eu.datex2.siri14.schema._1_0._1_0.ReferencePointDirectionEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ReferencePointDirectionEnum>
public enum ReferencePointDirectionEnum extends Enum<ReferencePointDirectionEnum>
Java class for ReferencePointDirectionEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ReferencePointDirectionEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="both"/> <enumeration value="negative"/> <enumeration value="positive"/> <enumeration value="unknown"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTHIndicates that both directions of traffic flow are affected by the situation or relate to the traffic data.NEGATIVEIndicates that the direction of traffic flow affected by the situation or related to the traffic data is in the opposite sense to the ordering (by their sequential numbering scheme) of the marker posts.POSITIVEIndicates that the direction of traffic flow affected by the situation or related to the traffic data is in the same sense as the ordering (by their sequential numbering scheme) of the marker posts.UNKNOWNIndicates that the direction of traffic flow affected by the situation or related to the traffic data is unknown.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReferencePointDirectionEnumfromValue(String v)Stringvalue()static ReferencePointDirectionEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ReferencePointDirectionEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOTH
public static final ReferencePointDirectionEnum BOTH
Indicates that both directions of traffic flow are affected by the situation or relate to the traffic data.
-
NEGATIVE
public static final ReferencePointDirectionEnum NEGATIVE
Indicates that the direction of traffic flow affected by the situation or related to the traffic data is in the opposite sense to the ordering (by their sequential numbering scheme) of the marker posts.
-
POSITIVE
public static final ReferencePointDirectionEnum POSITIVE
Indicates that the direction of traffic flow affected by the situation or related to the traffic data is in the same sense as the ordering (by their sequential numbering scheme) of the marker posts.
-
UNKNOWN
public static final ReferencePointDirectionEnum UNKNOWN
Indicates that the direction of traffic flow affected by the situation or related to the traffic data is unknown.
-
-
Method Detail
-
values
public static ReferencePointDirectionEnum[] 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 (ReferencePointDirectionEnum c : ReferencePointDirectionEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReferencePointDirectionEnum 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 ReferencePointDirectionEnum fromValue(String v)
-
-