public class CAP3EventReportGPRSArg extends AbstractFieldsObject
EventReportGPRSArg ::= SEQUENCE { gPRSEventType GPRSEventType, miscGPRSInfo MiscCallInfo DEFAULT { messageType request }, gPRSEventSpecificInformation GPRSEventSpecificInformation OPTIONAL, pDPID PDPID OPTIONAL, ... }
Used as argument type by CAP3Operations.eventReportGPRS
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CAP3EventReportGPRSArg()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CAP3EventReportGPRSArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP3EventReportGPRSArg |
copyOf(CAP3EventReportGPRSArg 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.
|
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.
|
CAP3GPRSEventSpecificInformation |
getGPRSEventSpecificInformation()
Gets the value of the field gPRSEventSpecificInformation.
|
CAP3GPRSEventType |
getGPRSEventType()
Gets the value of the field gPRSEventType.
|
CCMiscCallInfo |
getMiscGPRSInfo()
Gets the value of the field miscGPRSInfo.
|
byte[] |
getPDPID()
Gets the value of the field pDPID.
|
boolean |
hasGPRSEventSpecificInformation()
Tests whether the field gPRSEventSpecificInformation has a value.
|
boolean |
hasGPRSEventType()
Tests whether the field gPRSEventType has a value.
|
boolean |
hasMiscGPRSInfo()
Tests whether the field miscGPRSInfo has a value.
|
boolean |
hasPDPID()
Tests whether the field pDPID has a value.
|
CAP3EventReportGPRSArg |
setGPRSEventSpecificInformation(CAP3GPRSEventSpecificInformation value)
Sets the value of the field gPRSEventSpecificInformation.
|
CAP3EventReportGPRSArg |
setGPRSEventType(CAP3GPRSEventType value)
Sets the value of the field gPRSEventType.
|
CAP3EventReportGPRSArg |
setMiscGPRSInfo(CCMiscCallInfo value)
Sets the value of the field miscGPRSInfo.
|
CAP3EventReportGPRSArg |
setPDPID(byte[] value)
Sets the value of the field pDPID.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public CAP3EventReportGPRSArg()
public CAP3EventReportGPRSArg clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CAP3EventReportGPRSArg copyOf(CAP3EventReportGPRSArg from)
from
- the object from which to copypublic static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic CAP3GPRSEventSpecificInformation getGPRSEventSpecificInformation()
public CAP3GPRSEventType getGPRSEventType()
public CCMiscCallInfo getMiscGPRSInfo()
public byte[] getPDPID()
public boolean hasGPRSEventSpecificInformation()
public boolean hasGPRSEventType()
public boolean hasMiscGPRSInfo()
public boolean hasPDPID()
public CAP3EventReportGPRSArg setGPRSEventSpecificInformation(CAP3GPRSEventSpecificInformation value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3EventReportGPRSArg setGPRSEventType(CAP3GPRSEventType value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3EventReportGPRSArg setMiscGPRSInfo(CCMiscCallInfo value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3EventReportGPRSArg setPDPID(byte[] 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