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