public enum SectionTypeEnumeration extends Enum<SectionTypeEnumeration>
Java class for SectionTypeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SectionTypeEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
<enumeration value="trunk"/>
<enumeration value="branch"/>
<enumeration value="endLoop"/>
<enumeration value="other"/>
</restriction>
</simpleType>
| Modifier and Type | Method and Description |
|---|---|
static SectionTypeEnumeration |
fromValue(String v) |
String |
value() |
static SectionTypeEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SectionTypeEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SectionTypeEnumeration TRUNK
public static final SectionTypeEnumeration BRANCH
public static final SectionTypeEnumeration END_LOOP
public static final SectionTypeEnumeration OTHER
public static SectionTypeEnumeration[] values()
for (SectionTypeEnumeration c : SectionTypeEnumeration.values()) System.out.println(c);
public static SectionTypeEnumeration 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 SectionTypeEnumeration fromValue(String v)
Copyright © 2018 Entur AS. All rights reserved.