public class CAP3TransferredVolumeRollOver extends AbstractFieldsObject
TransferredVolumeRollOver ::=
CHOICE {
rO-VolumeIfNoTariffSwitch INTEGER (0..255),
rO-VolumeIfTariffSwitch SEQUENCE {
rO-VolumeSinceLastTariffSwitch INTEGER (0..255) OPTIONAL,
rO-VolumeTariffSwitchInterval INTEGER (0..255) OPTIONAL
}
}
Used as field type by CAP3ChargingRollOver.
| Modifier and Type | Class and Description |
|---|---|
static class |
CAP3TransferredVolumeRollOver.Choice
API for CAP-datatypes.TransferredVolumeRollOver.Choice.
|
static class |
CAP3TransferredVolumeRollOver.RO_VolumeIfTariffSwitch
API for CAP-datatypes.TransferredVolumeRollOver.rO-VolumeIfTariffSwitch.
|
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CAP3TransferredVolumeRollOver() |
| Modifier and Type | Method and Description |
|---|---|
CAP3TransferredVolumeRollOver |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP3TransferredVolumeRollOver |
copyOf(CAP3TransferredVolumeRollOver 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.
|
CAP3TransferredVolumeRollOver.Choice |
getChoice()
Gets the discriminant of the current choice.
|
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 :discriminant-name to associated-value.
|
int |
getRO_VolumeIfNoTariffSwitch()
Gets the value of the rO-VolumeIfNoTariffSwitch choice.
|
CAP3TransferredVolumeRollOver.RO_VolumeIfTariffSwitch |
getRO_VolumeIfTariffSwitch()
Gets the value of the rO-VolumeIfTariffSwitch choice.
|
boolean |
isRO_VolumeIfNoTariffSwitchChosen()
Tests whether the choice is rO-VolumeIfNoTariffSwitch.
|
boolean |
isRO_VolumeIfTariffSwitchChosen()
Tests whether the choice is rO-VolumeIfTariffSwitch.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CAP3TransferredVolumeRollOver |
setRO_VolumeIfNoTariffSwitch(int value)
Sets the value of the rO-VolumeIfNoTariffSwitch choice.
|
CAP3TransferredVolumeRollOver |
setRO_VolumeIfTariffSwitch(CAP3TransferredVolumeRollOver.RO_VolumeIfTariffSwitch value)
Sets the value of the rO-VolumeIfTariffSwitch choice.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic CAP3TransferredVolumeRollOver clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static CAP3TransferredVolumeRollOver copyOf(CAP3TransferredVolumeRollOver from)
from - the object from which to copypublic CAP3TransferredVolumeRollOver.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - ignored, as value cannot be optionalpublic int getRO_VolumeIfNoTariffSwitch()
throws IllegalStateException
IllegalStateException - if choice is not rO-VolumeIfNoTariffSwitchpublic CAP3TransferredVolumeRollOver.RO_VolumeIfTariffSwitch getRO_VolumeIfTariffSwitch()
public boolean isRO_VolumeIfNoTariffSwitchChosen()
public boolean isRO_VolumeIfTariffSwitchChosen()
public CAP3TransferredVolumeRollOver setRO_VolumeIfNoTariffSwitch(int value) throws IllegalStateException
value - the new value for the choiceIllegalStateException - if this instance has been marked as read-onlypublic CAP3TransferredVolumeRollOver setRO_VolumeIfTariffSwitch(CAP3TransferredVolumeRollOver.RO_VolumeIfTariffSwitch value) throws IllegalStateException, NullPointerException
value - the new value for the choiceIllegalStateException - if this instance has been marked as read-onlyNullPointerException - if the given value is nullpublic void setReadOnly()
setReadOnly in interface DataObjectsetReadOnly in class AbstractDataObject