public class CCBCSMEvent extends AbstractFieldsObject
BCSMEvent ::= SEQUENCE { eventTypeBCSM EventTypeBCSM, monitorMode MonitorMode, legID LegID OPTIONAL }
Used in array as field type by CCRequestReportBCSMEventArg
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CCBCSMEvent()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CCBCSMEvent |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CCBCSMEvent |
copyOf(CCBCSMEvent from)
Creates a new object of this type, cloning the values of common fields from the given object of any subclass of the same base type.
|
CCEventTypeBCSM |
getEventTypeBCSM()
Gets the value of the field eventTypeBCSM.
|
static FieldAccessor[] |
getFieldAccessors()
Gets a new array of the accessors for fields of this type.
|
Map<String,Object> |
getFieldsMap(boolean withAbsents)
Gets a Map from field-name to field-value.
|
CCLegID |
getLegID()
Gets the value of the field legID.
|
CCMonitorMode |
getMonitorMode()
Gets the value of the field monitorMode.
|
boolean |
hasEventTypeBCSM()
Tests whether the field eventTypeBCSM has a value.
|
boolean |
hasLegID()
Tests whether the field legID has a value.
|
boolean |
hasMonitorMode()
Tests whether the field monitorMode has a value.
|
CCBCSMEvent |
setEventTypeBCSM(CCEventTypeBCSM value)
Sets the value of the field eventTypeBCSM.
|
CCBCSMEvent |
setLegID(CCLegID value)
Sets the value of the field legID.
|
CCBCSMEvent |
setMonitorMode(CCMonitorMode value)
Sets the value of the field monitorMode.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public CCBCSMEvent clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CCBCSMEvent copyOf(CCBCSMEvent from)
from
- the object from which to copypublic CCEventTypeBCSM getEventTypeBCSM()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic CCLegID getLegID()
public CCMonitorMode getMonitorMode()
public boolean hasEventTypeBCSM()
public boolean hasLegID()
public boolean hasMonitorMode()
public CCBCSMEvent setEventTypeBCSM(CCEventTypeBCSM value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCBCSMEvent setLegID(CCLegID value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCBCSMEvent setMonitorMode(CCMonitorMode value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject