Class CCMiscCallInfo.MessageType
-
- All Implemented Interfaces:
DataObject
,Immutable
,Serializable
- Enclosing class:
- CCMiscCallInfo
public static class CCMiscCallInfo.MessageType extends NamedInteger
API for CC-DataTypes.MiscCallInfo.messageType. Generated from the following ASN.1 type definition and the adaptations below.messageType ::= ENUMERATED { request(0), notification(1) } CC-DataTypes { MiscCallInfo { messageType { @extendible } } }
Used as field type by
CCMiscCallInfo
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_notification
Integer value of the constant notification.static int
_request
Integer value of the constant request.static int
MAX_VALUE
Maximum value that a com.opencloud.slee.resources.cgin.callcontrol.CCMiscCallInfo.MessageType instance may take (1).static int
MIN_VALUE
Minimum value that a com.opencloud.slee.resources.cgin.callcontrol.CCMiscCallInfo.MessageType instance may take (0).static CCMiscCallInfo.MessageType
notification
Reference to value of the constant notification.static CCMiscCallInfo.MessageType
request
Reference to value of the constant request.
-
Constructor Summary
Constructors Modifier Constructor Description protected
MessageType(int value)
Constructs an enumeration constant for the given numeric value.protected
MessageType(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 CCMiscCallInfo.MessageType
fromValue(int value)
Finds or constructs an enumeration constant for the given numeric value.static CCMiscCallInfo.MessageType[]
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
-
_request
public static final int _request
Integer value of the constant request.- See Also:
- Constant Field Values
-
request
public static final CCMiscCallInfo.MessageType request
Reference to value of the constant request.
-
_notification
public static final int _notification
Integer value of the constant notification.- See Also:
- Constant Field Values
-
notification
public static final CCMiscCallInfo.MessageType notification
Reference to value of the constant notification.
-
MIN_VALUE
public static final int MIN_VALUE
Minimum value that a com.opencloud.slee.resources.cgin.callcontrol.CCMiscCallInfo.MessageType 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.callcontrol.CCMiscCallInfo.MessageType instance may take (1).- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MessageType
protected MessageType(int value, String description)
Constructs an enumeration constant for the given numeric value, noting its name.- Parameters:
value
- numeric valuedescription
- name of number
-
MessageType
protected MessageType(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 CCMiscCallInfo.MessageType 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 CCMiscCallInfo.MessageType[] namedValues()
Returns an array containing all the enumeration constants referenced by fields.- Returns:
- array of enumeration constants
-
-