public class CAP3ApplyChargingGPRSArg extends AbstractFieldsObject
ApplyChargingGPRSArg ::=
SEQUENCE {
chargingCharacteristics ChargingCharacteristics,
tariffSwitchInterval INTEGER (1..86400) OPTIONAL,
pDPID PDPID OPTIONAL,
...
}
Used as argument type by CAP3Operations.applyChargingGPRS.
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CAP3ApplyChargingGPRSArg()
Constructs an object with uninitialised state.
|
| Modifier and Type | Method and Description |
|---|---|
CAP3ApplyChargingGPRSArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP3ApplyChargingGPRSArg |
copyOf(CAP3ApplyChargingGPRSArg 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.
|
CAP3ChargingCharacteristics |
getChargingCharacteristics()
Gets the value of the field chargingCharacteristics.
|
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.
|
int |
getTariffSwitchInterval()
Gets the value of the field tariffSwitchInterval.
|
boolean |
hasChargingCharacteristics()
Tests whether the field chargingCharacteristics has a value.
|
boolean |
hasPDPID()
Tests whether the field pDPID has a value.
|
boolean |
hasTariffSwitchInterval()
Tests whether the field tariffSwitchInterval has a value.
|
CAP3ApplyChargingGPRSArg |
setChargingCharacteristics(CAP3ChargingCharacteristics value)
Sets the value of the field chargingCharacteristics.
|
CAP3ApplyChargingGPRSArg |
setPDPID(byte[] value)
Sets the value of the field pDPID.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CAP3ApplyChargingGPRSArg |
setTariffSwitchInterval(int value)
Sets the value of the field tariffSwitchInterval and marks the field as present.
|
CAP3ApplyChargingGPRSArg |
setTariffSwitchIntervalPresent(boolean flag)
Sets the presence or absence of the optional field tariffSwitchInterval.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic CAP3ApplyChargingGPRSArg()
public CAP3ApplyChargingGPRSArg clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static CAP3ApplyChargingGPRSArg copyOf(CAP3ApplyChargingGPRSArg from)
from - the object from which to copypublic CAP3ChargingCharacteristics getChargingCharacteristics()
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 int getTariffSwitchInterval()
public boolean hasChargingCharacteristics()
public boolean hasPDPID()
public boolean hasTariffSwitchInterval()
public CAP3ApplyChargingGPRSArg setChargingCharacteristics(CAP3ChargingCharacteristics value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CAP3ApplyChargingGPRSArg 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 DataObjectsetReadOnly in class AbstractDataObjectpublic CAP3ApplyChargingGPRSArg setTariffSwitchInterval(int value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CAP3ApplyChargingGPRSArg setTariffSwitchIntervalPresent(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-only