Class GenericNumber.Nature

  • All Implemented Interfaces:
    DataObject, Immutable, Serializable
    Enclosing class:
    GenericNumber

    public static final class GenericNumber.Nature
    extends NamedInteger
    Nature of address indicator constants.

    The API offered by this class is as if the type were specified in ASN.1 as follows.

     Nature ::= ENUMERATED {
         ... ,
         SUBSCRIBER    (1),
         UNKNOWN       (2),
         NATIONAL      (3),
         INTERNATIONAL (4),
         ...
     }
    See Also:
    Serialized Form
    • Method Detail

      • fromValue

        public static GenericNumber.Nature fromValue​(int value)
        Returns a Nature for a particular integer value.
        Returns:
        any known instance, or a new object
      • namedValues

        public static GenericNumber.Nature[] namedValues()
        Returns an array containing all of Nature's named numbers.
        Returns:
        a new Nature[]