Class MAPNumberPortabilityStatus
- java.lang.Object
-
- java.lang.Number
-
- com.opencloud.util.NamedInteger
-
- MAPNumberPortabilityStatus
-
- All Implemented Interfaces:
DataObject,Immutable,Serializable
public class MAPNumberPortabilityStatus extends NamedInteger
API for MAP-MS-DataTypes.NumberPortabilityStatus. Generated from the following ASN.1 type definition.NumberPortabilityStatus ::= ENUMERATED { notKnownToBePorted(0), ownNumberPortedOut(1), foreignNumberPortedToForeignNetwork(2), ... ownNumberNotPortedOut(4), -- Added in release 5. foreignNumberPortedIn(5) -- Added in release 5. }Added in R98. Moved from MAP-CH-DataTypes between releases 4 and 5. Exception handling: reception of other values than the ones listed the receiver shall ignore the whole NumberPortabilityStatus; ownNumberNotPortedOut or foreignNumberPortedIn may only be included in Any Time Interrogation message.Used as field type by
MAPMNPInfoRes.Used as field type by
MAPSendRoutingInfoRes_v3.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int_foreignNumberPortedInInteger value of the constant foreignNumberPortedIn.static int_foreignNumberPortedToForeignNetworkInteger value of the constant foreignNumberPortedToForeignNetwork.static int_notKnownToBePortedInteger value of the constant notKnownToBePorted.static int_ownNumberNotPortedOutInteger value of the constant ownNumberNotPortedOut.static int_ownNumberPortedOutInteger value of the constant ownNumberPortedOut.static MAPNumberPortabilityStatusforeignNumberPortedInReference to value of the constant foreignNumberPortedIn.static MAPNumberPortabilityStatusforeignNumberPortedToForeignNetworkReference to value of the constant foreignNumberPortedToForeignNetwork.static intMAX_VALUEMaximum value that a com.opencloud.slee.resources.cgin.map.MAPNumberPortabilityStatus instance may take (5).static intMIN_VALUEMinimum value that a com.opencloud.slee.resources.cgin.map.MAPNumberPortabilityStatus instance may take (0).static MAPNumberPortabilityStatusnotKnownToBePortedReference to value of the constant notKnownToBePorted.static MAPNumberPortabilityStatusownNumberNotPortedOutReference to value of the constant ownNumberNotPortedOut.static MAPNumberPortabilityStatusownNumberPortedOutReference to value of the constant ownNumberPortedOut.
-
Constructor Summary
Constructors Modifier Constructor Description protectedMAPNumberPortabilityStatus(int value)Constructs an enumeration constant for the given numeric value.protectedMAPNumberPortabilityStatus(int value, String description)Constructs an enumeration constant for the given numeric value, noting its name.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MAPNumberPortabilityStatusfromValue(int value)Finds or constructs an enumeration constant for the given numeric value.static MAPNumberPortabilityStatus[]namedValues()Returns an array containing all the enumeration constants referenced by fields.-
Methods inherited from class com.opencloud.util.NamedInteger
byteValue, clone, doubleValue, equals, floatValue, hashCode, intValue, isReadOnly, longValue, setReadOnly, shortValue, toString, valueOf
-
-
-
-
Field Detail
-
_notKnownToBePorted
public static final int _notKnownToBePorted
Integer value of the constant notKnownToBePorted.- See Also:
- Constant Field Values
-
notKnownToBePorted
public static final MAPNumberPortabilityStatus notKnownToBePorted
Reference to value of the constant notKnownToBePorted.
-
_ownNumberPortedOut
public static final int _ownNumberPortedOut
Integer value of the constant ownNumberPortedOut.- See Also:
- Constant Field Values
-
ownNumberPortedOut
public static final MAPNumberPortabilityStatus ownNumberPortedOut
Reference to value of the constant ownNumberPortedOut.
-
_foreignNumberPortedToForeignNetwork
public static final int _foreignNumberPortedToForeignNetwork
Integer value of the constant foreignNumberPortedToForeignNetwork.- See Also:
- Constant Field Values
-
foreignNumberPortedToForeignNetwork
public static final MAPNumberPortabilityStatus foreignNumberPortedToForeignNetwork
Reference to value of the constant foreignNumberPortedToForeignNetwork.
-
_ownNumberNotPortedOut
public static final int _ownNumberNotPortedOut
Integer value of the constant ownNumberNotPortedOut.- See Also:
- Constant Field Values
-
ownNumberNotPortedOut
public static final MAPNumberPortabilityStatus ownNumberNotPortedOut
Reference to value of the constant ownNumberNotPortedOut.
-
_foreignNumberPortedIn
public static final int _foreignNumberPortedIn
Integer value of the constant foreignNumberPortedIn.- See Also:
- Constant Field Values
-
foreignNumberPortedIn
public static final MAPNumberPortabilityStatus foreignNumberPortedIn
Reference to value of the constant foreignNumberPortedIn.
-
MIN_VALUE
public static final int MIN_VALUE
Minimum value that a com.opencloud.slee.resources.cgin.map.MAPNumberPortabilityStatus instance may take (0).- See Also:
- Constant Field Values
-
MAX_VALUE
public static final int MAX_VALUE
Maximum value that a com.opencloud.slee.resources.cgin.map.MAPNumberPortabilityStatus instance may take (5).- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MAPNumberPortabilityStatus
protected MAPNumberPortabilityStatus(int value, String description)Constructs an enumeration constant for the given numeric value, noting its name.- Parameters:
value- numeric valuedescription- name of number
-
MAPNumberPortabilityStatus
protected MAPNumberPortabilityStatus(int value)
Constructs an enumeration constant for the given numeric value. Suitable for use as decode method.- Parameters:
value- numeric value
-
-
Method Detail
-
fromValue
public static MAPNumberPortabilityStatus fromValue(int value)
Finds or constructs an enumeration constant for the given numeric value.- Parameters:
value- integer- Returns:
- one of the fields if suitable, else a newly constructed object
-
namedValues
public static MAPNumberPortabilityStatus[] namedValues()
Returns an array containing all the enumeration constants referenced by fields.- Returns:
- array of enumeration constants
-
-