public static final class LegType.EncodedValue extends NamedInteger
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), ... }
Modifier and Type | Field and 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.
|
Modifier and Type | Method and 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.
|
byteValue, clone, doubleValue, equals, floatValue, hashCode, intValue, isReadOnly, longValue, setReadOnly, shortValue, toString
public static final int _UNSPECIFIED
public static final int _CALLING_PARTY
public static final int _CALLED_PARTY
public static final LegType.EncodedValue UNSPECIFIED
public static final LegType.EncodedValue CALLING_PARTY
public static final LegType.EncodedValue CALLED_PARTY
public static final int MIN_VALUE
public static final int MAX_VALUE
public static LegType.EncodedValue fromValue(int value)
public static LegType.EncodedValue[] namedValues()