Class CCVariablePart.Choice
-
- All Implemented Interfaces:
DataObject,Immutable,Serializable
- Enclosing class:
- CCVariablePart
public static class CCVariablePart.Choice extends NamedInteger
API for CC-DataTypes.VariablePart.Choice.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int_DATEInteger value of the choice DATE.static int_INTEGERInteger value of the choice INTEGER.static int_NUMBERInteger value of the choice NUMBER.static int_PRICEInteger value of the choice PRICE.static int_TIMEInteger value of the choice TIME.static CCVariablePart.ChoiceDATEReference to the choice DATE.static CCVariablePart.ChoiceINTEGERReference to the choice INTEGER.static intMAX_VALUEMaximum value that a com.opencloud.slee.resources.cgin.callcontrol.CCVariablePart.Choice instance may take (548868).static intMIN_VALUEMinimum value that a com.opencloud.slee.resources.cgin.callcontrol.CCVariablePart.Choice instance may take (548864).static CCVariablePart.ChoiceNUMBERReference to the choice NUMBER.static CCVariablePart.ChoicePRICEReference to the choice PRICE.static CCVariablePart.ChoiceTIMEReference to the choice TIME.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CCVariablePart.ChoicefromValue(int value)Finds or constructs an integer for the given numeric value.static CCVariablePart.Choice[]namedValues()Returns an array containing all the numeric values that distinguish choices.-
Methods inherited from class com.opencloud.util.NamedInteger
byteValue, clone, doubleValue, equals, floatValue, hashCode, intValue, isReadOnly, longValue, setReadOnly, shortValue, toString, valueOf
-
-
-
-
Field Detail
-
_DATE
public static final int _DATE
Integer value of the choice DATE.- See Also:
- Constant Field Values
-
DATE
public static final CCVariablePart.Choice DATE
Reference to the choice DATE.
-
_INTEGER
public static final int _INTEGER
Integer value of the choice INTEGER.- See Also:
- Constant Field Values
-
INTEGER
public static final CCVariablePart.Choice INTEGER
Reference to the choice INTEGER.
-
_NUMBER
public static final int _NUMBER
Integer value of the choice NUMBER.- See Also:
- Constant Field Values
-
NUMBER
public static final CCVariablePart.Choice NUMBER
Reference to the choice NUMBER.
-
_PRICE
public static final int _PRICE
Integer value of the choice PRICE.- See Also:
- Constant Field Values
-
PRICE
public static final CCVariablePart.Choice PRICE
Reference to the choice PRICE.
-
_TIME
public static final int _TIME
Integer value of the choice TIME.- See Also:
- Constant Field Values
-
TIME
public static final CCVariablePart.Choice TIME
Reference to the choice TIME.
-
MIN_VALUE
public static final int MIN_VALUE
Minimum value that a com.opencloud.slee.resources.cgin.callcontrol.CCVariablePart.Choice instance may take (548864).- See Also:
- Constant Field Values
-
MAX_VALUE
public static final int MAX_VALUE
Maximum value that a com.opencloud.slee.resources.cgin.callcontrol.CCVariablePart.Choice instance may take (548868).- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Choice
protected Choice(int value, String description)Constructs a number, noting its name.- Parameters:
value- numeric valuedescription- name of number
-
-
Method Detail
-
fromValue
public static CCVariablePart.Choice fromValue(int value)
Finds or constructs an integer for the given numeric value.- Parameters:
value- numeric value- Returns:
- one of the fields if suitable, else a newly constructed object
-
namedValues
public static CCVariablePart.Choice[] namedValues()
Returns an array containing all the numeric values that distinguish choices.- Returns:
- array of integers
-
-