Enum RedirectingPartyNumber.Presentation
- java.lang.Object
-
- java.lang.Enum<RedirectingPartyNumber.Presentation>
-
- com.opencloud.slee.resources.in.datatypes.cc.RedirectingPartyNumber.Presentation
-
- All Implemented Interfaces:
Serializable
,Comparable<RedirectingPartyNumber.Presentation>
- Enclosing class:
- RedirectingPartyNumber
public static enum RedirectingPartyNumber.Presentation extends Enum<RedirectingPartyNumber.Presentation>
Enumeration of Address Presentation Restricted indicator constants.The API offered by this class is as if the type were specified in ASN.1 as follows.
Presentation ::= ENUMERATED { ALLOWED (0), RESTRICTED (1), ADDRESS_NOT_AVAILABLE (2), NETWORK_RESTRICTED (3) }
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDRESS_NOT_AVAILABLE
Address presentation restricted indicator value (2) corresponding to address not available (national use).ALLOWED
Address presentation restricted indicator value (0) corresponding to presentation allowed.NETWORK_RESTRICTED
Address presentation restricted indicator value (3) corresponding to reserved for restriction by network.RESTRICTED
Address presentation restricted indicator value (1) corresponding to presentation restricted.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RedirectingPartyNumber.Presentation
fromValue(int value)
Returns the enumeration constant for a given encoded value.int
intValue()
Gets the integer ASN.1 encoded value of this enumeration constant.static RedirectingPartyNumber.Presentation
valueOf(String name)
Returns the enum constant of this type with the specified name.static RedirectingPartyNumber.Presentation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLOWED
public static final RedirectingPartyNumber.Presentation ALLOWED
Address presentation restricted indicator value (0) corresponding to presentation allowed.
-
RESTRICTED
public static final RedirectingPartyNumber.Presentation RESTRICTED
Address presentation restricted indicator value (1) corresponding to presentation restricted.
-
ADDRESS_NOT_AVAILABLE
public static final RedirectingPartyNumber.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 nature of address and numbering plan parameters are set to 0 (undefined spare values), and any address signal is omitted.
-
NETWORK_RESTRICTED
public static final RedirectingPartyNumber.Presentation NETWORK_RESTRICTED
Address presentation restricted indicator value (3) corresponding to reserved for restriction by network.
-
-
Method Detail
-
values
public static RedirectingPartyNumber.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 (RedirectingPartyNumber.Presentation c : RedirectingPartyNumber.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 RedirectingPartyNumber.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 nameNullPointerException
- 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 RedirectingPartyNumber.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
-
-