public enum PublicTransportType extends java.lang.Enum<PublicTransportType>
| Enum Constant and Description |
|---|
BUS
The 'BUS' literal object.
|
TRAM
The 'TRAM' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
BUS_VALUE
The 'BUS' literal value.
|
static int |
TRAM_VALUE
The 'TRAM' literal value.
|
static java.util.List<PublicTransportType> |
VALUES
A public read-only list of all the 'Public Transport Type' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static PublicTransportType |
get(int value)
Returns the 'Public Transport Type' literal with the specified integer value.
|
static PublicTransportType |
get(java.lang.String literal)
Returns the 'Public Transport Type' literal with the specified literal value.
|
static PublicTransportType |
getByName(java.lang.String name)
Returns the 'Public Transport Type' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static PublicTransportType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PublicTransportType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PublicTransportType TRAM
TRAM_VALUEpublic static final PublicTransportType BUS
BUS_VALUEpublic static final int TRAM_VALUE
TRAM,
Constant Field Valuespublic static final int BUS_VALUE
BUS,
Constant Field Valuespublic static final java.util.List<PublicTransportType> VALUES
public static PublicTransportType[] values()
for (PublicTransportType c : PublicTransportType.values()) System.out.println(c);
public static PublicTransportType 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 static PublicTransportType get(java.lang.String literal)
literal - the literal.null.public static PublicTransportType getByName(java.lang.String name)
name - the name.null.public static PublicTransportType get(int value)
value - the integer value.null.public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString in class java.lang.Enum<PublicTransportType>Data In Motion Consuling GmbH - All rights reserved