public class CAP3ElapsedTimeRollOver extends AbstractFieldsObject
ElapsedTimeRollOver ::=
CHOICE {
rO-TimeGPRSIfNoTariffSwitch INTEGER (0..255),
rO-TimeGPRSIfTariffSwitch SEQUENCE {
rO-TimeGPRSSinceLastTariffSwitch INTEGER (0..255) OPTIONAL,
rO-TimeGPRSTariffSwitchInterval INTEGER (0..255) OPTIONAL
}
}
Used as field type by CAP3ChargingRollOver.
| Modifier and Type | Class and Description |
|---|---|
static class |
CAP3ElapsedTimeRollOver.Choice
API for CAP-datatypes.ElapsedTimeRollOver.Choice.
|
static class |
CAP3ElapsedTimeRollOver.RO_TimeGPRSIfTariffSwitch
API for CAP-datatypes.ElapsedTimeRollOver.rO-TimeGPRSIfTariffSwitch.
|
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CAP3ElapsedTimeRollOver() |
| Modifier and Type | Method and Description |
|---|---|
CAP3ElapsedTimeRollOver |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP3ElapsedTimeRollOver |
copyOf(CAP3ElapsedTimeRollOver 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.
|
CAP3ElapsedTimeRollOver.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_TimeGPRSIfNoTariffSwitch()
Gets the value of the rO-TimeGPRSIfNoTariffSwitch choice.
|
CAP3ElapsedTimeRollOver.RO_TimeGPRSIfTariffSwitch |
getRO_TimeGPRSIfTariffSwitch()
Gets the value of the rO-TimeGPRSIfTariffSwitch choice.
|
boolean |
isRO_TimeGPRSIfNoTariffSwitchChosen()
Tests whether the choice is rO-TimeGPRSIfNoTariffSwitch.
|
boolean |
isRO_TimeGPRSIfTariffSwitchChosen()
Tests whether the choice is rO-TimeGPRSIfTariffSwitch.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CAP3ElapsedTimeRollOver |
setRO_TimeGPRSIfNoTariffSwitch(int value)
Sets the value of the rO-TimeGPRSIfNoTariffSwitch choice.
|
CAP3ElapsedTimeRollOver |
setRO_TimeGPRSIfTariffSwitch(CAP3ElapsedTimeRollOver.RO_TimeGPRSIfTariffSwitch value)
Sets the value of the rO-TimeGPRSIfTariffSwitch choice.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic CAP3ElapsedTimeRollOver clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static CAP3ElapsedTimeRollOver copyOf(CAP3ElapsedTimeRollOver from)
from - the object from which to copypublic CAP3ElapsedTimeRollOver.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_TimeGPRSIfNoTariffSwitch()
throws IllegalStateException
IllegalStateException - if choice is not rO-TimeGPRSIfNoTariffSwitchpublic CAP3ElapsedTimeRollOver.RO_TimeGPRSIfTariffSwitch getRO_TimeGPRSIfTariffSwitch()
public boolean isRO_TimeGPRSIfNoTariffSwitchChosen()
public boolean isRO_TimeGPRSIfTariffSwitchChosen()
public CAP3ElapsedTimeRollOver setRO_TimeGPRSIfNoTariffSwitch(int value) throws IllegalStateException
value - the new value for the choiceIllegalStateException - if this instance has been marked as read-onlypublic CAP3ElapsedTimeRollOver setRO_TimeGPRSIfTariffSwitch(CAP3ElapsedTimeRollOver.RO_TimeGPRSIfTariffSwitch 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