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