Class 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 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[]