Enum LocationNumber.Presentation

    • Enum Constant Detail

      • ALLOWED

        public static final LocationNumber.Presentation ALLOWED
        Address presentation restricted indicator value (0) corresponding to presentation allowed.
      • RESTRICTED

        public static final LocationNumber.Presentation RESTRICTED
        Address presentation restricted indicator value (1) corresponding to presentation restricted.
      • ADDRESS_NOT_AVAILABLE

        public static final LocationNumber.Presentation ADDRESS_NOT_AVAILABLE
        Address presentation restricted indicator value (2) corresponding to address not available (national use). Note: if this presentation restricted indicator is used, the screening indicator is set to LocationNumber.Screening.NETWORK_PROVIDED, the nature of address and numbering plan parameters are set to 0 (undefined spare values), routing to an internal number is allowed, and any address signal is omitted.
      • SPARE_3

        public static final LocationNumber.Presentation SPARE_3
        Address presentation restricted indicator value (3) corresponding to spare.
    • Method Detail

      • values

        public static LocationNumber.Presentation[] 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 (LocationNumber.Presentation c : LocationNumber.Presentation.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LocationNumber.Presentation 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 LocationNumber.Presentation 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