public enum CommentType2Enum extends java.lang.Enum<CommentType2Enum>
Java-Klasse für CommentType2Enum.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<simpleType name="CommentType2Enum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="roadworksName"/> <enumeration value="roadworksType"/> <enumeration value="additionalRestriction"/> <enumeration value="heavyDutyTransportRestriction"/> <enumeration value="trafficInformation"/> <enumeration value="routeRecommendation"/> </restriction> </simpleType>
Enum Constant and Description |
---|
ADDITIONAL_RESTRICTION
An addtional restriction.
|
HEAVY_DUTY_TRANSPORT_RESTRICTION
A restriction for heay duty transports.
|
ROADWORKS_NAME
A name of these roadworks.
|
ROADWORKS_TYPE
The type of roadworks.
|
ROUTE_RECOMMENDATION
A route recommendation.
|
TRAFFIC_INFORMATION
An addtional traffic information.
|
Modifier and Type | Method and Description |
---|---|
static CommentType2Enum |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static CommentType2Enum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommentType2Enum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommentType2Enum ROADWORKS_NAME
public static final CommentType2Enum ROADWORKS_TYPE
public static final CommentType2Enum ADDITIONAL_RESTRICTION
public static final CommentType2Enum HEAVY_DUTY_TRANSPORT_RESTRICTION
public static final CommentType2Enum TRAFFIC_INFORMATION
public static final CommentType2Enum ROUTE_RECOMMENDATION
public static CommentType2Enum[] values()
for (CommentType2Enum c : CommentType2Enum.values()) System.out.println(c);
public static CommentType2Enum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String value()
public static CommentType2Enum fromValue(java.lang.String v)