Class CallingPartyNumber.Nature
- java.lang.Object
-
- java.lang.Number
-
- com.opencloud.util.NamedInteger
-
- com.opencloud.slee.resources.in.datatypes.cc.CallingPartyNumber.Nature
-
- All Implemented Interfaces:
DataObject
,Immutable
,Serializable
- Enclosing class:
- CallingPartyNumber
public static final class CallingPartyNumber.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 Summary
Fields Modifier and Type Field Description static int
_INTERNATIONAL
Nature of address indicator value corresponding to an international number.static int
_NATIONAL
Nature of Address indicator value corresponding to a national (significant) number.static int
_SUBSCRIBER
Nature of Address indicator value corresponding to a subscriber number (national use).static int
_UNKNOWN
Nature of Address indicator value corresponding to unknown (national use).static CallingPartyNumber.Nature
INTERNATIONAL
Nature of address indicator value corresponding to an international number.static int
MAX_VALUE
Maximum value that a Nature instance may take (127).static int
MIN_VALUE
Minimum value that a Nature instance may take (0).static CallingPartyNumber.Nature
NATIONAL
Nature of Address indicator value corresponding to a national (significant) number.static CallingPartyNumber.Nature
SUBSCRIBER
Nature of Address indicator value corresponding to a subscriber number (national use).static CallingPartyNumber.Nature
UNKNOWN
Nature of Address indicator value corresponding to unknown (national use).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CallingPartyNumber.Nature
fromValue(int value)
Returns a Nature for a particular integer value.static CallingPartyNumber.Nature[]
namedValues()
Returns an array containing all of Nature's named numbers.-
Methods inherited from class com.opencloud.util.NamedInteger
byteValue, clone, doubleValue, equals, floatValue, hashCode, intValue, isReadOnly, longValue, setReadOnly, shortValue, toString, valueOf
-
-
-
-
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
-
SUBSCRIBER
public static final CallingPartyNumber.Nature SUBSCRIBER
Nature of Address indicator value corresponding to a subscriber number (national use).
-
UNKNOWN
public static final CallingPartyNumber.Nature UNKNOWN
Nature of Address indicator value corresponding to unknown (national use).
-
NATIONAL
public static final CallingPartyNumber.Nature NATIONAL
Nature of Address indicator value corresponding to a national (significant) number.
-
INTERNATIONAL
public static final CallingPartyNumber.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 CallingPartyNumber.Nature fromValue(int value)
Returns a Nature for a particular integer value.- Returns:
- any known instance, or a new object
-
namedValues
public static CallingPartyNumber.Nature[] namedValues()
Returns an array containing all of Nature's named numbers.- Returns:
- a new Nature[]
-
-