Package net.opengis.ogc
Class SortOrderType.Enum
- java.lang.Object
-
- org.apache.xmlbeans.StringEnumAbstractBase
-
- net.opengis.ogc.SortOrderType.Enum
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- SortOrderType
public static final class SortOrderType.Enum extends org.apache.xmlbeans.StringEnumAbstractBaseEnumeration value class for net.opengis.ogc.SortOrderType. 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_DESC 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
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SortOrderType.EnumforInt(int i)Returns the enum value corresponding to an int, or null if none.static SortOrderType.EnumforString(String s)Returns the enum value for a string, or null if none.
-
-
-
Field Detail
-
INT_DESC
static final int INT_DESC
- See Also:
- Constant Field Values
-
INT_ASC
static final int INT_ASC
- See Also:
- Constant Field Values
-
table
public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table
-
-
Method Detail
-
forString
public static SortOrderType.Enum forString(String s)
Returns the enum value for a string, or null if none.
-
forInt
public static SortOrderType.Enum forInt(int i)
Returns the enum value corresponding to an int, or null if none.
-
-