Enum CalledPartyBCDNumber.NumberingPlan

  • All Implemented Interfaces:
    Serializable, Comparable<CalledPartyBCDNumber.NumberingPlan>
    Enclosing class:
    CalledPartyBCDNumber

    public static enum CalledPartyBCDNumber.NumberingPlan
    extends Enum<CalledPartyBCDNumber.NumberingPlan>
    Enumeration of numbering plan indicator constants.

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

     NumberingPlan ::= ENUMERATED {
         UNKNOWN      (0),
         ISDN         (1),
         RESERVED_2   (2),
         DATA         (3),
         TELEX        (4),
         RESERVED_5   (5),
         RESERVED_6   (6),
         RESERVED_7   (7),
         NATIONAL     (8),
         PRIVATE      (9),
         RESERVED_10 (10),
         RESERVED_11 (11),
         RESERVED_12 (12),
         RESERVED_13 (13),
         RESERVED_14 (14),
         RESERVED_15 (15)
     }
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DATA
      Numbering plan indicator value (3) corresponding to the Data numbering plan (ITU-T Recommendation X.121) (national use).
      ISDN
      Numbering plan indicator value (1) corresponding to the ISDN (Telephony) numbering plan (ITU-T Recommendation E.164).
      NATIONAL
      Numbering plan indicator value (8) corresponding to the national numbering plan.
      PRIVATE
      Numbering plan indicator value (9) corresponding to a private numbering plan.
      RESERVED_10
      Numbering plan indicator value (0xA) corresponding to reserved.
      RESERVED_11
      Numbering plan indicator value (0xB) corresponding to reserved for CTS (see 3GPP TS 4.056).
      RESERVED_12
      Numbering plan indicator value (0xC) corresponding to reserved.
      RESERVED_13
      Numbering plan indicator value (0xD) corresponding to reserved.
      RESERVED_14
      Numbering plan indicator value (0xE) corresponding to reserved.
      RESERVED_15
      Numbering plan indicator value (0xF) corresponding to reserved for extension.
      RESERVED_2
      Numbering plan indicator value (2) corresponding to reserved.
      RESERVED_5
      Numbering plan indicator value (5) corresponding to reserved.
      RESERVED_6
      Numbering plan indicator value (6) corresponding to reserved.
      RESERVED_7
      Numbering plan indicator value (7) corresponding to reserved.
      TELEX
      Numbering plan indicator value (4) corresponding to the Telex numbering plan (ITU-T Recommendation F.69) (national use).
      UNKNOWN
      Numbering plan indicator value (0) corresponding to unknown.
    • Method Detail

      • values

        public static CalledPartyBCDNumber.NumberingPlan[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CalledPartyBCDNumber.NumberingPlan c : CalledPartyBCDNumber.NumberingPlan.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CalledPartyBCDNumber.NumberingPlan valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • intValue

        public int intValue()
        Gets the integer ASN.1 encoded value of this enumeration constant.
        Returns:
        encoded value
      • fromValue

        public static CalledPartyBCDNumber.NumberingPlan fromValue​(int value)
        Returns the enumeration constant for a given encoded value.
        Parameters:
        value - encoded value
        Returns:
        the appropriate enumeration constant for the encoded value
        Throws:
        IllegalArgumentException - if there is no enumeration constant with the given encoded value