Class TransportTypeValueType.Enum
- java.lang.Object
-
- org.apache.xmlbeans.StringEnumAbstractBase
-
- eu.europa.ec.inspire.schemas.tn.x40.TransportTypeValueType.Enum
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- TransportTypeValueType
public static final class TransportTypeValueType.Enum extends org.apache.xmlbeans.StringEnumAbstractBaseEnumeration value class for eu.europa.ec.inspire.schemas.tn.x40.TransportTypeValueType. These enum values can be used as follows:enum.toString(); // returns the string value of the enum enum.intValue(); // returns an int value, useful for switches // e.g., case Enum.INT_AIR Enum.forString(s); // returns the enum value for a string Enum.forInt(i); // returns the enum value for an int
Enumeration objects are immutable singleton objects that can be compared using == object equality. They have no public constructor. See the constants defined within this class for all the valid values.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static intINT_AIR(package private) static intINT_CABLE(package private) static intINT_RAIL(package private) static intINT_ROAD(package private) static intINT_WATERstatic org.apache.xmlbeans.StringEnumAbstractBase.Tabletable
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransportTypeValueType.EnumforInt(int i)Returns the enum value corresponding to an int, or null if none.static TransportTypeValueType.EnumforString(String s)Returns the enum value for a string, or null if none.
-
-
-
Field Detail
-
INT_AIR
static final int INT_AIR
- See Also:
- Constant Field Values
-
INT_CABLE
static final int INT_CABLE
- See Also:
- Constant Field Values
-
INT_RAIL
static final int INT_RAIL
- See Also:
- Constant Field Values
-
INT_ROAD
static final int INT_ROAD
- See Also:
- Constant Field Values
-
INT_WATER
static final int INT_WATER
- See Also:
- Constant Field Values
-
table
public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table
-
-
Method Detail
-
forString
public static TransportTypeValueType.Enum forString(String s)
Returns the enum value for a string, or null if none.
-
forInt
public static TransportTypeValueType.Enum forInt(int i)
Returns the enum value corresponding to an int, or null if none.
-
-