Class MAPKeyStatus
-
- All Implemented Interfaces:
DataObject
,Immutable
,Serializable
public class MAPKeyStatus extends NamedInteger
API for MAP-MS-DataTypes.KeyStatus. Generated from the following ASN.1 type definition.KeyStatus ::= ENUMERATED { old(0), new(1), ... }
Added in R99. Exception handling: received values in range 2-31 shall be treated as 'old'; received values greater than 31 shall be treated as 'new'.Used as field type by
MAPForwardAccessSignalling_Arg_v3
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_new
Integer value of the constant new.static int
_old
Integer value of the constant old.static int
MAX_VALUE
Maximum value that a com.opencloud.slee.resources.cgin.map.MAPKeyStatus instance may take (1).static int
MIN_VALUE
Minimum value that a com.opencloud.slee.resources.cgin.map.MAPKeyStatus instance may take (0).static MAPKeyStatus
New
Reference to value of the constant new.static MAPKeyStatus
old
Reference to value of the constant old.
-
Constructor Summary
Constructors Modifier Constructor Description protected
MAPKeyStatus(int value)
Constructs an enumeration constant for the given numeric value.protected
MAPKeyStatus(int value, String description)
Constructs an enumeration constant for the given numeric value, noting its name.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MAPKeyStatus
fromValue(int value)
Finds or constructs an enumeration constant for the given numeric value.static MAPKeyStatus[]
namedValues()
Returns an array containing all the enumeration constants referenced by fields.-
Methods inherited from class com.opencloud.util.NamedInteger
byteValue, clone, doubleValue, equals, floatValue, hashCode, intValue, isReadOnly, longValue, setReadOnly, shortValue, toString, valueOf
-
-
-
-
Field Detail
-
_old
public static final int _old
Integer value of the constant old.- See Also:
- Constant Field Values
-
old
public static final MAPKeyStatus old
Reference to value of the constant old.
-
_new
public static final int _new
Integer value of the constant new.- See Also:
- Constant Field Values
-
New
public static final MAPKeyStatus New
Reference to value of the constant new.
-
MIN_VALUE
public static final int MIN_VALUE
Minimum value that a com.opencloud.slee.resources.cgin.map.MAPKeyStatus instance may take (0).- See Also:
- Constant Field Values
-
MAX_VALUE
public static final int MAX_VALUE
Maximum value that a com.opencloud.slee.resources.cgin.map.MAPKeyStatus instance may take (1).- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MAPKeyStatus
protected MAPKeyStatus(int value, String description)
Constructs an enumeration constant for the given numeric value, noting its name.- Parameters:
value
- numeric valuedescription
- name of number
-
MAPKeyStatus
protected MAPKeyStatus(int value)
Constructs an enumeration constant for the given numeric value. Suitable for use as decode method.- Parameters:
value
- numeric value
-
-
Method Detail
-
fromValue
public static MAPKeyStatus fromValue(int value)
Finds or constructs an enumeration constant for the given numeric value.- Parameters:
value
- integer- Returns:
- one of the fields if suitable, else a newly constructed object
-
namedValues
public static MAPKeyStatus[] namedValues()
Returns an array containing all the enumeration constants referenced by fields.- Returns:
- array of enumeration constants
-
-