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