public static class CAP2CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging extends AbstractFieldsObject
timeDurationCharging ::=
SEQUENCE {
maxCallPeriodDuration INTEGER (1..864000),
releaseIfdurationExceeded ReleaseIfDurationExceeded OPTIONAL,
tariffSwitchInterval INTEGER (1..86400) OPTIONAL
}
CAP-DataTypes {
CAMEL-AChBillingChargingCharacteristics {
timeDurationCharging {
releaseIfdurationExceeded {
@rename releaseIfdurationExceeded-v2
}
}
}
}
Used as field type by CAP2CAMEL_AChBillingChargingCharacteristics.
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CAP2CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging()
Constructs an object with uninitialised state.
|
| Modifier and Type | Method and Description |
|---|---|
CAP2CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP2CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging |
copyOf(CAP2CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging 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.
|
int |
getMaxCallPeriodDuration()
Gets the value of the field maxCallPeriodDuration.
|
CAP2ReleaseIfDurationExceeded |
getReleaseIfdurationExceeded_v2()
Gets the value of the field releaseIfdurationExceeded.
|
int |
getTariffSwitchInterval()
Gets the value of the field tariffSwitchInterval.
|
boolean |
hasMaxCallPeriodDuration()
Tests whether the field maxCallPeriodDuration has a value.
|
boolean |
hasReleaseIfdurationExceeded_v2()
Tests whether the field releaseIfdurationExceeded has a value.
|
boolean |
hasTariffSwitchInterval()
Tests whether the field tariffSwitchInterval has a value.
|
CAP2CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging |
setMaxCallPeriodDuration(int value)
Sets the value of the field maxCallPeriodDuration and marks the field as present.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CAP2CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging |
setReleaseIfdurationExceeded_v2(CAP2ReleaseIfDurationExceeded value)
Sets the value of the field releaseIfdurationExceeded.
|
CAP2CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging |
setTariffSwitchInterval(int value)
Sets the value of the field tariffSwitchInterval and marks the field as present.
|
CAP2CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging |
setTariffSwitchIntervalPresent(boolean flag)
Sets the presence or absence of the optional field tariffSwitchInterval.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic CAP2CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging()
public CAP2CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static CAP2CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging copyOf(CAP2CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging from)
from - the object from which to copypublic static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - whether to put absent optional fields into Mappublic int getMaxCallPeriodDuration()
public CAP2ReleaseIfDurationExceeded getReleaseIfdurationExceeded_v2()
public int getTariffSwitchInterval()
public boolean hasMaxCallPeriodDuration()
public boolean hasReleaseIfdurationExceeded_v2()
public boolean hasTariffSwitchInterval()
public CAP2CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging setMaxCallPeriodDuration(int 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 CAP2CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging setReleaseIfdurationExceeded_v2(CAP2ReleaseIfDurationExceeded value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CAP2CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging setTariffSwitchInterval(int value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CAP2CAMEL_AChBillingChargingCharacteristics.TimeDurationCharging 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