Class LegType.EncodedValue
- java.lang.Object
-
- java.lang.Number
-
- com.opencloud.util.NamedInteger
-
- com.opencloud.slee.resources.in.datatypes.cc.LegType.EncodedValue
-
- All Implemented Interfaces:
DataObject
,Immutable
,Serializable
- Enclosing class:
- LegType
public static final class LegType.EncodedValue extends NamedInteger
Leg type constants.The API offered by this class is as if the type were specified in ASN.1 as follows.
EncodedValue ::= ENUMERATED { ... , CALLING_PARTY (1), CALLED_PARTY (2), ... }
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_CALLED_PARTY
Leg type value corresponding to the called party, created as a result of the InitialDP operation, followed by the Connect, Continue or ContinueWithArgument operation.static int
_CALLING_PARTY
Leg type value corresponding to the calling party, present when InitialDP is sent to the SCF.static int
_UNSPECIFIED
Leg type value corresponding to initial value until explicitly set.static LegType.EncodedValue
CALLED_PARTY
Leg type value corresponding to the called party, created as a result of the InitialDP operation, followed by the Connect, Continue or ContinueWithArgument operation.static LegType.EncodedValue
CALLING_PARTY
Leg type value corresponding to the calling party, present when InitialDP is sent to the SCF.static int
MAX_VALUE
Maximum value that a EncodedValue instance may take (255).static int
MIN_VALUE
Minimum value that a EncodedValue instance may take (0).static LegType.EncodedValue
UNSPECIFIED
Leg type value corresponding to initial value until explicitly set.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LegType.EncodedValue
fromValue(int value)
Returns a EncodedValue for a particular integer value.static LegType.EncodedValue[]
namedValues()
Returns an array containing all of EncodedValue's named numbers.-
Methods inherited from class com.opencloud.util.NamedInteger
byteValue, clone, doubleValue, equals, floatValue, hashCode, intValue, isReadOnly, longValue, setReadOnly, shortValue, toString, valueOf
-
-
-
-
Field Detail
-
_UNSPECIFIED
public static final int _UNSPECIFIED
Leg type value corresponding to initial value until explicitly set.- See Also:
- Constant Field Values
-
_CALLING_PARTY
public static final int _CALLING_PARTY
Leg type value corresponding to the calling party, present when InitialDP is sent to the SCF.- See Also:
- Constant Field Values
-
_CALLED_PARTY
public static final int _CALLED_PARTY
Leg type value corresponding to the called party, created as a result of the InitialDP operation, followed by the Connect, Continue or ContinueWithArgument operation.- See Also:
- Constant Field Values
-
UNSPECIFIED
public static final LegType.EncodedValue UNSPECIFIED
Leg type value corresponding to initial value until explicitly set.
-
CALLING_PARTY
public static final LegType.EncodedValue CALLING_PARTY
Leg type value corresponding to the calling party, present when InitialDP is sent to the SCF.
-
CALLED_PARTY
public static final LegType.EncodedValue CALLED_PARTY
Leg type value corresponding to the called party, created as a result of the InitialDP operation, followed by the Connect, Continue or ContinueWithArgument operation.
-
MIN_VALUE
public static final int MIN_VALUE
Minimum value that a EncodedValue instance may take (0).- See Also:
- Constant Field Values
-
MAX_VALUE
public static final int MAX_VALUE
Maximum value that a EncodedValue instance may take (255).- See Also:
- Constant Field Values
-
-
Method Detail
-
fromValue
public static LegType.EncodedValue fromValue(int value)
Returns a EncodedValue for a particular integer value.- Returns:
- any known instance, or a new object
-
namedValues
public static LegType.EncodedValue[] namedValues()
Returns an array containing all of EncodedValue's named numbers.- Returns:
- a new EncodedValue[]
-
-