public enum PathDirectionEnumeration extends Enum<PathDirectionEnumeration>
Java class for PathDirectionEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PathDirectionEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="oneWay"/>
<enumeration value="twoWay"/>
</restriction>
</simpleType>
| Modifier and Type | Method and Description |
|---|---|
static PathDirectionEnumeration |
fromValue(String v) |
String |
value() |
static PathDirectionEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PathDirectionEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathDirectionEnumeration ONE_WAY
public static final PathDirectionEnumeration TWO_WAY
public static PathDirectionEnumeration[] values()
for (PathDirectionEnumeration c : PathDirectionEnumeration.values()) System.out.println(c);
public static PathDirectionEnumeration valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static PathDirectionEnumeration fromValue(String v)
Copyright © 2018 Entur AS. All rights reserved.