Class MAPResponseTimeCategory
- java.lang.Object
-
- java.lang.Number
-
- com.opencloud.util.NamedInteger
-
- MAPResponseTimeCategory
-
- All Implemented Interfaces:
DataObject
,Immutable
,Serializable
public class MAPResponseTimeCategory extends NamedInteger
API for MAP-LCS-DataTypes.ResponseTimeCategory. Generated from the following ASN.1 type definition.ResponseTimeCategory ::= ENUMERATED { lowdelay(0), delaytolerant(1), ... }
Added in R98. Exception handling: an unrecognized value shall be treated the same as value 1 (delaytolerant).Used as field type by
MAPResponseTime
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_delaytolerant
Integer value of the constant delaytolerant.static int
_lowdelay
Integer value of the constant lowdelay.static MAPResponseTimeCategory
delaytolerant
Reference to value of the constant delaytolerant.static MAPResponseTimeCategory
lowdelay
Reference to value of the constant lowdelay.static int
MAX_VALUE
Maximum value that a com.opencloud.slee.resources.cgin.map.MAPResponseTimeCategory instance may take (1).static int
MIN_VALUE
Minimum value that a com.opencloud.slee.resources.cgin.map.MAPResponseTimeCategory instance may take (0).
-
Constructor Summary
Constructors Modifier Constructor Description protected
MAPResponseTimeCategory(int value)
Constructs an enumeration constant for the given numeric value.protected
MAPResponseTimeCategory(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 MAPResponseTimeCategory
fromValue(int value)
Finds or constructs an enumeration constant for the given numeric value.static MAPResponseTimeCategory[]
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
-
_lowdelay
public static final int _lowdelay
Integer value of the constant lowdelay.- See Also:
- Constant Field Values
-
lowdelay
public static final MAPResponseTimeCategory lowdelay
Reference to value of the constant lowdelay.
-
_delaytolerant
public static final int _delaytolerant
Integer value of the constant delaytolerant.- See Also:
- Constant Field Values
-
delaytolerant
public static final MAPResponseTimeCategory delaytolerant
Reference to value of the constant delaytolerant.
-
MIN_VALUE
public static final int MIN_VALUE
Minimum value that a com.opencloud.slee.resources.cgin.map.MAPResponseTimeCategory 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.MAPResponseTimeCategory instance may take (1).- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MAPResponseTimeCategory
protected MAPResponseTimeCategory(int value, String description)
Constructs an enumeration constant for the given numeric value, noting its name.- Parameters:
value
- numeric valuedescription
- name of number
-
MAPResponseTimeCategory
protected MAPResponseTimeCategory(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 MAPResponseTimeCategory 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 MAPResponseTimeCategory[] namedValues()
Returns an array containing all the enumeration constants referenced by fields.- Returns:
- array of enumeration constants
-
-