Package net.opengis.gml.x32
Class TimeUnitType.Member.Enum
- java.lang.Object
-
- org.apache.xmlbeans.StringEnumAbstractBase
-
- net.opengis.gml.x32.TimeUnitType.Member.Enum
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- TimeUnitType.Member
public static final class TimeUnitType.Member.Enum extends org.apache.xmlbeans.StringEnumAbstractBaseEnumeration value class for net.opengis.gml.x32.TimeUnitType$Member. 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_YEAR 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_DAY(package private) static intINT_HOUR(package private) static intINT_MINUTE(package private) static intINT_MONTH(package private) static intINT_SECOND(package private) static intINT_YEARstatic org.apache.xmlbeans.StringEnumAbstractBase.Tabletable
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TimeUnitType.Member.EnumforInt(int i)Returns the enum value corresponding to an int, or null if none.static TimeUnitType.Member.EnumforString(String s)Returns the enum value for a string, or null if none.
-
-
-
Field Detail
-
INT_YEAR
static final int INT_YEAR
- See Also:
- Constant Field Values
-
INT_MONTH
static final int INT_MONTH
- See Also:
- Constant Field Values
-
INT_DAY
static final int INT_DAY
- See Also:
- Constant Field Values
-
INT_HOUR
static final int INT_HOUR
- See Also:
- Constant Field Values
-
INT_MINUTE
static final int INT_MINUTE
- See Also:
- Constant Field Values
-
INT_SECOND
static final int INT_SECOND
- See Also:
- Constant Field Values
-
table
public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table
-
-
Method Detail
-
forString
public static TimeUnitType.Member.Enum forString(String s)
Returns the enum value for a string, or null if none.
-
forInt
public static TimeUnitType.Member.Enum forInt(int i)
Returns the enum value corresponding to an int, or null if none.
-
-