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