Class LocationNumber.Nature
- java.lang.Object
-
- java.lang.Number
-
- com.opencloud.util.NamedInteger
-
- com.opencloud.slee.resources.in.datatypes.cc.LocationNumber.Nature
-
- All Implemented Interfaces:
DataObject
,Immutable
,Serializable
- Enclosing class:
- LocationNumber
public static final class LocationNumber.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
International number.static int
_NATIONAL
National (significant) number (national use).static int
_SUBSCRIBER
Reserved for subscriber number (national use).static int
_UNKNOWN
Reserved for unknown (national use).static LocationNumber.Nature
INTERNATIONAL
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 LocationNumber.Nature
NATIONAL
National (significant) number (national use).static LocationNumber.Nature
SUBSCRIBER
Reserved for subscriber number (national use).static LocationNumber.Nature
UNKNOWN
Reserved for unknown (national use).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LocationNumber.Nature
fromValue(int value)
Returns a Nature for a particular integer value.static LocationNumber.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
Reserved for subscriber number (national use).- See Also:
- Constant Field Values
-
_UNKNOWN
public static final int _UNKNOWN
Reserved for unknown (national use).- See Also:
- Constant Field Values
-
_NATIONAL
public static final int _NATIONAL
National (significant) number (national use).- See Also:
- Constant Field Values
-
_INTERNATIONAL
public static final int _INTERNATIONAL
International number.- See Also:
- Constant Field Values
-
SUBSCRIBER
public static final LocationNumber.Nature SUBSCRIBER
Reserved for subscriber number (national use).
-
UNKNOWN
public static final LocationNumber.Nature UNKNOWN
Reserved for unknown (national use).
-
NATIONAL
public static final LocationNumber.Nature NATIONAL
National (significant) number (national use).
-
INTERNATIONAL
public static final LocationNumber.Nature INTERNATIONAL
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 LocationNumber.Nature fromValue(int value)
Returns a Nature for a particular integer value.- Returns:
- any known instance, or a new object
-
namedValues
public static LocationNumber.Nature[] namedValues()
Returns an array containing all of Nature's named numbers.- Returns:
- a new Nature[]
-
-