Class MAPCallOutcome
- java.lang.Object
-
- java.lang.Number
-
- com.opencloud.util.NamedInteger
-
- MAPCallOutcome
-
- All Implemented Interfaces:
DataObject,Immutable,Serializable
public class MAPCallOutcome extends NamedInteger
API for MAP-CH-DataTypes.CallOutcome. Generated from the following ASN.1 type definition.CallOutcome ::= ENUMERATED { success(0), failure(1), busy(2), ... }Added in R97. Exception handling: reception of values 3-10 shall be mapped to 'success'; reception of values 11-20 shall be mapped to 'failure'; reception of values > 20 shall be mapped to 'busy'.Used as field type by
MAPCallReportData.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int_busyInteger value of the constant busy.static int_failureInteger value of the constant failure.static int_successInteger value of the constant success.static MAPCallOutcomebusyReference to value of the constant busy.static MAPCallOutcomefailureReference to value of the constant failure.static intMAX_VALUEMaximum value that a com.opencloud.slee.resources.cgin.map.MAPCallOutcome instance may take (2).static intMIN_VALUEMinimum value that a com.opencloud.slee.resources.cgin.map.MAPCallOutcome instance may take (0).static MAPCallOutcomesuccessReference to value of the constant success.
-
Constructor Summary
Constructors Modifier Constructor Description protectedMAPCallOutcome(int value)Constructs an enumeration constant for the given numeric value.protectedMAPCallOutcome(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 MAPCallOutcomefromValue(int value)Finds or constructs an enumeration constant for the given numeric value.static MAPCallOutcome[]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
-
_success
public static final int _success
Integer value of the constant success.- See Also:
- Constant Field Values
-
success
public static final MAPCallOutcome success
Reference to value of the constant success.
-
_failure
public static final int _failure
Integer value of the constant failure.- See Also:
- Constant Field Values
-
failure
public static final MAPCallOutcome failure
Reference to value of the constant failure.
-
_busy
public static final int _busy
Integer value of the constant busy.- See Also:
- Constant Field Values
-
busy
public static final MAPCallOutcome busy
Reference to value of the constant busy.
-
MIN_VALUE
public static final int MIN_VALUE
Minimum value that a com.opencloud.slee.resources.cgin.map.MAPCallOutcome 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.MAPCallOutcome instance may take (2).- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MAPCallOutcome
protected MAPCallOutcome(int value, String description)Constructs an enumeration constant for the given numeric value, noting its name.- Parameters:
value- numeric valuedescription- name of number
-
MAPCallOutcome
protected MAPCallOutcome(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 MAPCallOutcome 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 MAPCallOutcome[] namedValues()
Returns an array containing all the enumeration constants referenced by fields.- Returns:
- array of enumeration constants
-
-