Class CalledPartyNumber.Nature

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

    public static final class CalledPartyNumber.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),
         NETWORK_SPECIFIC                      (5),
         NETWORK_ROUTING_NATIONAL              (6),
         NETWORK_ROUTING_NETWORK_SPECIFIC      (7),
         NETWORK_ROUTING_WITH_CALLED_DIRECTORY (8),
         ...
     }
    See Also:
    Serialized Form
    • Field Detail

      • _SUBSCRIBER

        public static final int _SUBSCRIBER
        Nature of Address indicator value corresponding to a subscriber number (national use).
        See Also:
        Constant Field Values
      • _UNKNOWN

        public static final int _UNKNOWN
        Nature of Address indicator value corresponding to unknown (national use).
        See Also:
        Constant Field Values
      • _NATIONAL

        public static final int _NATIONAL
        Nature of Address indicator value corresponding to a national (significant) number.
        See Also:
        Constant Field Values
      • _INTERNATIONAL

        public static final int _INTERNATIONAL
        Nature of Address indicator value corresponding to an international number.
        See Also:
        Constant Field Values
      • _NETWORK_SPECIFIC

        public static final int _NETWORK_SPECIFIC
        Nature of Address indicator value corresponding to a network-specific number (national use).
        See Also:
        Constant Field Values
      • _NETWORK_ROUTING_NATIONAL

        public static final int _NETWORK_ROUTING_NATIONAL
        Nature of Address indicator value corresponding to a network routing number in national (significant) number format (national use).
        See Also:
        Constant Field Values
      • _NETWORK_ROUTING_NETWORK_SPECIFIC

        public static final int _NETWORK_ROUTING_NETWORK_SPECIFIC
        Nature of Address indicator value corresponding to a network routing number in network-specific number format (national use).
        See Also:
        Constant Field Values
      • _NETWORK_ROUTING_WITH_CALLED_DIRECTORY

        public static final int _NETWORK_ROUTING_WITH_CALLED_DIRECTORY
        Nature of Address indicator value corresponding to a network routing number concatenated with Called Directory Number (national use).
        See Also:
        Constant Field Values
      • SUBSCRIBER

        public static final CalledPartyNumber.Nature SUBSCRIBER
        Nature of Address indicator value corresponding to a subscriber number (national use).
      • UNKNOWN

        public static final CalledPartyNumber.Nature UNKNOWN
        Nature of Address indicator value corresponding to unknown (national use).
      • NATIONAL

        public static final CalledPartyNumber.Nature NATIONAL
        Nature of Address indicator value corresponding to a national (significant) number.
      • INTERNATIONAL

        public static final CalledPartyNumber.Nature INTERNATIONAL
        Nature of Address indicator value corresponding to an international number.
      • NETWORK_SPECIFIC

        public static final CalledPartyNumber.Nature NETWORK_SPECIFIC
        Nature of Address indicator value corresponding to a network-specific number (national use).
      • NETWORK_ROUTING_NATIONAL

        public static final CalledPartyNumber.Nature NETWORK_ROUTING_NATIONAL
        Nature of Address indicator value corresponding to a network routing number in national (significant) number format (national use).
      • NETWORK_ROUTING_NETWORK_SPECIFIC

        public static final CalledPartyNumber.Nature NETWORK_ROUTING_NETWORK_SPECIFIC
        Nature of Address indicator value corresponding to a network routing number in network-specific number format (national use).
      • NETWORK_ROUTING_WITH_CALLED_DIRECTORY

        public static final CalledPartyNumber.Nature NETWORK_ROUTING_WITH_CALLED_DIRECTORY
        Nature of Address indicator value corresponding to a network routing number concatenated with Called Directory Number (national use).
      • MIN_VALUE

        public static final int MIN_VALUE
        Minimum value that a Nature instance may take (0).
        See Also:
        Constant Field Values
      • MAX_VALUE

        public static final int MAX_VALUE
        Maximum value that a Nature instance may take (127).
        See Also:
        Constant Field Values
    • Method Detail

      • fromValue

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

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