Class MAPOccurrenceInfo
- java.lang.Object
-
- java.lang.Number
-
- com.opencloud.util.NamedInteger
-
- MAPOccurrenceInfo
-
- All Implemented Interfaces:
DataObject,Immutable,Serializable
public class MAPOccurrenceInfo extends NamedInteger
API for MAP-LCS-DataTypes.OccurrenceInfo. Generated from the following ASN.1 type definition.OccurrenceInfo ::= ENUMERATED { oneTimeEvent(0), multipleTimeEvent(1), ... }Added in release 6.Used as field type by
MAPAreaEventInfo.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int_multipleTimeEventInteger value of the constant multipleTimeEvent.static int_oneTimeEventInteger value of the constant oneTimeEvent.static intMAX_VALUEMaximum value that a com.opencloud.slee.resources.cgin.map.MAPOccurrenceInfo instance may take (1).static intMIN_VALUEMinimum value that a com.opencloud.slee.resources.cgin.map.MAPOccurrenceInfo instance may take (0).static MAPOccurrenceInfomultipleTimeEventReference to value of the constant multipleTimeEvent.static MAPOccurrenceInfooneTimeEventReference to value of the constant oneTimeEvent.
-
Constructor Summary
Constructors Modifier Constructor Description protectedMAPOccurrenceInfo(int value)Constructs an enumeration constant for the given numeric value.protectedMAPOccurrenceInfo(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 MAPOccurrenceInfofromValue(int value)Finds or constructs an enumeration constant for the given numeric value.static MAPOccurrenceInfo[]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
-
_oneTimeEvent
public static final int _oneTimeEvent
Integer value of the constant oneTimeEvent.- See Also:
- Constant Field Values
-
oneTimeEvent
public static final MAPOccurrenceInfo oneTimeEvent
Reference to value of the constant oneTimeEvent.
-
_multipleTimeEvent
public static final int _multipleTimeEvent
Integer value of the constant multipleTimeEvent.- See Also:
- Constant Field Values
-
multipleTimeEvent
public static final MAPOccurrenceInfo multipleTimeEvent
Reference to value of the constant multipleTimeEvent.
-
MIN_VALUE
public static final int MIN_VALUE
Minimum value that a com.opencloud.slee.resources.cgin.map.MAPOccurrenceInfo 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.MAPOccurrenceInfo instance may take (1).- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MAPOccurrenceInfo
protected MAPOccurrenceInfo(int value, String description)Constructs an enumeration constant for the given numeric value, noting its name.- Parameters:
value- numeric valuedescription- name of number
-
MAPOccurrenceInfo
protected MAPOccurrenceInfo(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 MAPOccurrenceInfo 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 MAPOccurrenceInfo[] namedValues()
Returns an array containing all the enumeration constants referenced by fields.- Returns:
- array of enumeration constants
-
-