Class OpenId.Choice
-
- All Implemented Interfaces:
DataObject,Immutable,Serializable
- Enclosing class:
- OpenId
public static class OpenId.Choice extends NamedInteger
API for the choice's discriminant.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int_GLOBALInteger value of the choice GLOBAL.static int_LOCALInteger value of the choice LOCAL.static OpenId.ChoiceGLOBALReference to the choice GLOBAL.static OpenId.ChoiceLOCALReference to the choice LOCAL.
-
Method Summary
-
Methods inherited from class com.opencloud.util.NamedInteger
byteValue, clone, doubleValue, equals, floatValue, hashCode, intValue, isReadOnly, longValue, setReadOnly, shortValue, toString, valueOf
-
-
-
-
Field Detail
-
_GLOBAL
public static final int _GLOBAL
Integer value of the choice GLOBAL.- See Also:
- Constant Field Values
-
GLOBAL
public static final OpenId.Choice GLOBAL
Reference to the choice GLOBAL.
-
_LOCAL
public static final int _LOCAL
Integer value of the choice LOCAL.- See Also:
- Constant Field Values
-
LOCAL
public static final OpenId.Choice LOCAL
Reference to the choice LOCAL.
-
-
Constructor Detail
-
Choice
protected Choice(int value, String description)Constructs a number, noting its name.- Parameters:
value- numeric valuedescription- name of number
-
-