public class CS1ChargingEvent extends AbstractFieldsObject
ChargingEvent ::= SEQUENCE { eventTypeCharging EventTypeCharging, monitorMode MonitorMode, legID LegID OPTIONAL } Core-INAP-CS1-DataTypes { ChargingEvent { eventTypeCharging { @forceOptional } } }
Used in array as argument type by CS1Operations.requestNotificationChargingEvent
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CS1ChargingEvent()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CS1ChargingEvent |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CS1ChargingEvent |
copyOf(CS1ChargingEvent 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.
|
CS1EventTypeCharging |
getEventTypeCharging()
Gets the value of the field eventTypeCharging.
|
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 |
hasEventTypeCharging()
Tests whether the field eventTypeCharging has a value.
|
boolean |
hasLegID()
Tests whether the field legID has a value.
|
boolean |
hasMonitorMode()
Tests whether the field monitorMode has a value.
|
CS1ChargingEvent |
setEventTypeCharging(CS1EventTypeCharging value)
Sets the value of the field eventTypeCharging.
|
CS1ChargingEvent |
setLegID(CCLegID value)
Sets the value of the field legID.
|
CS1ChargingEvent |
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 CS1ChargingEvent()
public CS1ChargingEvent clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CS1ChargingEvent copyOf(CS1ChargingEvent from)
from
- the object from which to copypublic CS1EventTypeCharging getEventTypeCharging()
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 hasEventTypeCharging()
public boolean hasLegID()
public boolean hasMonitorMode()
public CS1ChargingEvent setEventTypeCharging(CS1EventTypeCharging value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CS1ChargingEvent setLegID(CCLegID value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CS1ChargingEvent 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