public class CAP3ApplyChargingReportGPRSArg extends AbstractFieldsObject
ApplyChargingReportGPRSArg ::=
SEQUENCE {
chargingResult ChargingResult,
qualityOfService QualityOfService OPTIONAL,
active BOOLEAN DEFAULT TRUE,
pDPID PDPID OPTIONAL,
...
chargingRollOver ChargingRollOver OPTIONAL
}
Used as argument type by CAP3Operations.applyChargingReportGPRS.
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CAP3ApplyChargingReportGPRSArg()
Constructs an object with uninitialised state.
|
| Modifier and Type | Method and Description |
|---|---|
CAP3ApplyChargingReportGPRSArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP3ApplyChargingReportGPRSArg |
copyOf(CAP3ApplyChargingReportGPRSArg 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.
|
boolean |
getActive()
Gets the value of the field active.
|
CAP3ChargingResult |
getChargingResult()
Gets the value of the field chargingResult.
|
CAP3ChargingRollOver |
getChargingRollOver()
Gets the value of the field chargingRollOver.
|
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.
|
byte[] |
getPDPID()
Gets the value of the field pDPID.
|
CAP3QualityOfService |
getQualityOfService()
Gets the value of the field qualityOfService.
|
boolean |
hasActive()
Tests whether the field active has a value.
|
boolean |
hasChargingResult()
Tests whether the field chargingResult has a value.
|
boolean |
hasChargingRollOver()
Tests whether the field chargingRollOver has a value.
|
boolean |
hasPDPID()
Tests whether the field pDPID has a value.
|
boolean |
hasQualityOfService()
Tests whether the field qualityOfService has a value.
|
CAP3ApplyChargingReportGPRSArg |
setActive(boolean value)
Sets the value of the field active and marks the field as present.
|
CAP3ApplyChargingReportGPRSArg |
setActivePresent(boolean flag)
Sets the presence or absence of the optional field active.
|
CAP3ApplyChargingReportGPRSArg |
setChargingResult(CAP3ChargingResult value)
Sets the value of the field chargingResult.
|
CAP3ApplyChargingReportGPRSArg |
setChargingRollOver(CAP3ChargingRollOver value)
Sets the value of the field chargingRollOver.
|
CAP3ApplyChargingReportGPRSArg |
setPDPID(byte[] value)
Sets the value of the field pDPID.
|
CAP3ApplyChargingReportGPRSArg |
setQualityOfService(CAP3QualityOfService value)
Sets the value of the field qualityOfService.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic CAP3ApplyChargingReportGPRSArg()
public CAP3ApplyChargingReportGPRSArg clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static CAP3ApplyChargingReportGPRSArg copyOf(CAP3ApplyChargingReportGPRSArg from)
from - the object from which to copypublic boolean getActive()
public CAP3ChargingResult getChargingResult()
public CAP3ChargingRollOver getChargingRollOver()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - whether to put absent optional fields into Mappublic byte[] getPDPID()
public CAP3QualityOfService getQualityOfService()
public boolean hasActive()
public boolean hasChargingResult()
public boolean hasChargingRollOver()
public boolean hasPDPID()
public boolean hasQualityOfService()
public CAP3ApplyChargingReportGPRSArg setActive(boolean value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CAP3ApplyChargingReportGPRSArg setActivePresent(boolean flag) throws IllegalStateException
flag - either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException - if this instance has been marked as read-onlypublic CAP3ApplyChargingReportGPRSArg setChargingResult(CAP3ChargingResult value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CAP3ApplyChargingReportGPRSArg setChargingRollOver(CAP3ChargingRollOver value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CAP3ApplyChargingReportGPRSArg setPDPID(byte[] value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CAP3ApplyChargingReportGPRSArg setQualityOfService(CAP3QualityOfService value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly in interface DataObjectsetReadOnly in class AbstractDataObject