Class GenericDigits.TypeOfDigits
- java.lang.Object
-
- java.lang.Number
-
- com.opencloud.util.NamedInteger
-
- com.opencloud.slee.resources.in.datatypes.cc.GenericDigits.TypeOfDigits
-
- All Implemented Interfaces:
DataObject
,Immutable
,Serializable
- Enclosing class:
- GenericDigits
public static final class GenericDigits.TypeOfDigits extends NamedInteger
Type of digits constants.The API offered by this class is as if the type were specified in ASN.1 as follows.
TypeOfDigits ::= ENUMERATED { ACCOUNT_CODE (0), AUTHORISATION_CODE (1), TRAVELLING_CLASS_MARK (2), GROUP_IDENTITY (3), ... }
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_ACCOUNT_CODE
Type of digits value corresponding to reserved for account code.static int
_AUTHORISATION_CODE
Type of digits value corresponding to reserved for authorisation code.static int
_GROUP_IDENTITY
Type of digits value corresponding to reserved for business communication group identity.static int
_TRAVELLING_CLASS_MARK
Type of digits value corresponding to reserved for private networking travelling class mark.static GenericDigits.TypeOfDigits
ACCOUNT_CODE
Type of digits value corresponding to reserved for account code.static GenericDigits.TypeOfDigits
AUTHORISATION_CODE
Type of digits value corresponding to reserved for authorisation code.static GenericDigits.TypeOfDigits
GROUP_IDENTITY
Type of digits value corresponding to reserved for business communication group identity.static int
MAX_VALUE
Maximum value that a TypeOfDigits instance may take (31).static int
MIN_VALUE
Minimum value that a TypeOfDigits instance may take (0).static GenericDigits.TypeOfDigits
TRAVELLING_CLASS_MARK
Type of digits value corresponding to reserved for private networking travelling class mark.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GenericDigits.TypeOfDigits
fromValue(int value)
Returns a TypeOfDigits for a particular integer value.static GenericDigits.TypeOfDigits[]
namedValues()
Returns an array containing all of TypeOfDigits'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
-
_ACCOUNT_CODE
public static final int _ACCOUNT_CODE
Type of digits value corresponding to reserved for account code.- See Also:
- Constant Field Values
-
_AUTHORISATION_CODE
public static final int _AUTHORISATION_CODE
Type of digits value corresponding to reserved for authorisation code.- See Also:
- Constant Field Values
-
_TRAVELLING_CLASS_MARK
public static final int _TRAVELLING_CLASS_MARK
Type of digits value corresponding to reserved for private networking travelling class mark.- See Also:
- Constant Field Values
-
_GROUP_IDENTITY
public static final int _GROUP_IDENTITY
Type of digits value corresponding to reserved for business communication group identity.- See Also:
- Constant Field Values
-
ACCOUNT_CODE
public static final GenericDigits.TypeOfDigits ACCOUNT_CODE
Type of digits value corresponding to reserved for account code.
-
AUTHORISATION_CODE
public static final GenericDigits.TypeOfDigits AUTHORISATION_CODE
Type of digits value corresponding to reserved for authorisation code.
-
TRAVELLING_CLASS_MARK
public static final GenericDigits.TypeOfDigits TRAVELLING_CLASS_MARK
Type of digits value corresponding to reserved for private networking travelling class mark.
-
GROUP_IDENTITY
public static final GenericDigits.TypeOfDigits GROUP_IDENTITY
Type of digits value corresponding to reserved for business communication group identity.
-
MIN_VALUE
public static final int MIN_VALUE
Minimum value that a TypeOfDigits instance may take (0).- See Also:
- Constant Field Values
-
MAX_VALUE
public static final int MAX_VALUE
Maximum value that a TypeOfDigits instance may take (31).- See Also:
- Constant Field Values
-
-
Method Detail
-
fromValue
public static GenericDigits.TypeOfDigits fromValue(int value)
Returns a TypeOfDigits for a particular integer value.- Returns:
- any known instance, or a new object
-
namedValues
public static GenericDigits.TypeOfDigits[] namedValues()
Returns an array containing all of TypeOfDigits's named numbers.- Returns:
- a new TypeOfDigits[]
-
-