public class CAP3EventReportSMSArg extends AbstractFieldsObject
EventReportSMSArg ::= SEQUENCE { eventTypeSMS EventTypeSMS, eventSpecificInformationSMS EventSpecificInformationSMS OPTIONAL, miscCallInfo MiscCallInfo DEFAULT { messageType request }, extensions Extensions OPTIONAL, ... }
Used as argument type by CAP3Operations.eventReportSMS
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CAP3EventReportSMSArg()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CAP3EventReportSMSArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP3EventReportSMSArg |
copyOf(CAP3EventReportSMSArg 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.
|
CAP3EventSpecificInformationSMS |
getEventSpecificInformationSMS()
Gets the value of the field eventSpecificInformationSMS.
|
CAP3EventTypeSMS |
getEventTypeSMS()
Gets the value of the field eventTypeSMS.
|
CAP1ExtensionField[] |
getExtensions()
Gets the value of the field extensions.
|
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.
|
CCMiscCallInfo |
getMiscCallInfo()
Gets the value of the field miscCallInfo.
|
boolean |
hasEventSpecificInformationSMS()
Tests whether the field eventSpecificInformationSMS has a value.
|
boolean |
hasEventTypeSMS()
Tests whether the field eventTypeSMS has a value.
|
boolean |
hasExtensions()
Tests whether the field extensions has a value.
|
boolean |
hasMiscCallInfo()
Tests whether the field miscCallInfo has a value.
|
CAP3EventReportSMSArg |
setEventSpecificInformationSMS(CAP3EventSpecificInformationSMS value)
Sets the value of the field eventSpecificInformationSMS.
|
CAP3EventReportSMSArg |
setEventTypeSMS(CAP3EventTypeSMS value)
Sets the value of the field eventTypeSMS.
|
CAP3EventReportSMSArg |
setExtensions(CAP1ExtensionField[] value)
Sets the value of the field extensions.
|
CAP3EventReportSMSArg |
setMiscCallInfo(CCMiscCallInfo value)
Sets the value of the field miscCallInfo.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public CAP3EventReportSMSArg()
public CAP3EventReportSMSArg clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CAP3EventReportSMSArg copyOf(CAP3EventReportSMSArg from)
from
- the object from which to copypublic CAP3EventSpecificInformationSMS getEventSpecificInformationSMS()
public CAP3EventTypeSMS getEventTypeSMS()
public CAP1ExtensionField[] getExtensions()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic CCMiscCallInfo getMiscCallInfo()
public boolean hasEventSpecificInformationSMS()
public boolean hasEventTypeSMS()
public boolean hasExtensions()
public boolean hasMiscCallInfo()
public CAP3EventReportSMSArg setEventSpecificInformationSMS(CAP3EventSpecificInformationSMS value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3EventReportSMSArg setEventTypeSMS(CAP3EventTypeSMS value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3EventReportSMSArg setExtensions(CAP1ExtensionField[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3EventReportSMSArg setMiscCallInfo(CCMiscCallInfo 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