Class RedirectingPartyNumber.Nature

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

    public static final class RedirectingPartyNumber.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
    • 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 national (significant) number (national use).
        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
      • SUBSCRIBER

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

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

        public static final RedirectingPartyNumber.Nature INTERNATIONAL
        Nature of Address indicator value corresponding to an international number.
      • 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 RedirectingPartyNumber.Nature fromValue​(int value)
        Returns a Nature for a particular integer value.
        Returns:
        any known instance, or a new object
      • namedValues

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