Class ObsDimensionsCodeType.Enum
- java.lang.Object
-
- org.apache.xmlbeans.StringEnumAbstractBase
-
- org.sdmx.resources.sdmxml.schemas.v21.common.ObsDimensionsCodeType.Enum
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- ObsDimensionsCodeType
public static final class ObsDimensionsCodeType.Enum extends org.apache.xmlbeans.StringEnumAbstractBaseEnumeration value class for org.sdmx.resources.sdmxml.schemas.v21.common.ObsDimensionsCodeType. 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_ALL_DIMENSIONS 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 static org.apache.xmlbeans.StringEnumAbstractBase.Tabletable
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ObsDimensionsCodeType.EnumforInt(int i)Returns the enum value corresponding to an int, or null if none.static ObsDimensionsCodeType.EnumforString(String s)Returns the enum value for a string, or null if none.
-
-
-
Method Detail
-
forString
public static ObsDimensionsCodeType.Enum forString(String s)
Returns the enum value for a string, or null if none.
-
forInt
public static ObsDimensionsCodeType.Enum forInt(int i)
Returns the enum value corresponding to an int, or null if none.
-
-