public static class CAP4CAMEL_CallResult.TimeDurationChargingResult extends CAP3CAMEL_CallResult.TimeDurationChargingResult
timeDurationChargingResult ::= SEQUENCE { partyToCharge ReceivingSideID, timeInformation TimeInformation, legActive BOOLEAN DEFAULT TRUE, callLegReleasedAtTcpExpiry NULL OPTIONAL, extensions Extensions OPTIONAL, aChChargingAddress AChChargingAddress DEFAULT legID : receivingSideID : '01'H, ... } CAP-datatypes { CAMEL-CallResult { timeDurationChargingResult { callLegReleasedAtTcpExpiry { @rename callReleasedAtTcpExpiry } legActive { @rename callActive } } } }
Used as field type by CAP4CAMEL_CallResult
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CAP4CAMEL_CallResult.TimeDurationChargingResult()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CAP4CAMEL_CallResult.TimeDurationChargingResult |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP4CAMEL_CallResult.TimeDurationChargingResult |
copyOf(CAP2CAMEL_CallResult.TimeDurationChargingResult 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.
|
CAP4AChChargingAddress |
getAChChargingAddress()
Gets the value of the field aChChargingAddress.
|
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.
|
boolean |
hasAChChargingAddress()
Tests whether the field aChChargingAddress has a value.
|
CAP4CAMEL_CallResult.TimeDurationChargingResult |
setAChChargingAddress(CAP4AChChargingAddress value)
Sets the value of the field aChChargingAddress.
|
CAP4CAMEL_CallResult.TimeDurationChargingResult |
setCallActive(boolean value)
Sets the value of the field legActive.
|
CAP4CAMEL_CallResult.TimeDurationChargingResult |
setCallActivePresent(boolean flag)
Sets the presence or absence of the optional field legActive.
|
CAP4CAMEL_CallResult.TimeDurationChargingResult |
setCallReleasedAtTcpExpiryPresent(boolean flag)
Sets the presence or absence of the optional field callLegReleasedAtTcpExpiry.
|
CAP4CAMEL_CallResult.TimeDurationChargingResult |
setExtensions(CAP1ExtensionField[] value)
Sets the value of the field extensions.
|
CAP4CAMEL_CallResult.TimeDurationChargingResult |
setPartyToCharge(CCLegID value)
Sets the value of the field partyToCharge.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CAP4CAMEL_CallResult.TimeDurationChargingResult |
setTimeInformation(CAP2TimeInformation value)
Sets the value of the field timeInformation.
|
getExtensions, hasCallReleasedAtTcpExpiry, hasExtensions
getCallActive, getPartyToCharge, getTimeInformation, hasCallActive, hasPartyToCharge, hasTimeInformation
equals, hashCode, toString
checkModify, isReadOnly
public CAP4CAMEL_CallResult.TimeDurationChargingResult()
public CAP4CAMEL_CallResult.TimeDurationChargingResult clone()
clone
in interface DataObject
clone
in class CAP3CAMEL_CallResult.TimeDurationChargingResult
public static CAP4CAMEL_CallResult.TimeDurationChargingResult copyOf(CAP2CAMEL_CallResult.TimeDurationChargingResult from)
from
- the object from which to copypublic CAP4AChChargingAddress getAChChargingAddress()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class CAP3CAMEL_CallResult.TimeDurationChargingResult
withAbsents
- whether to put absent optional fields into Mappublic boolean hasAChChargingAddress()
public CAP4CAMEL_CallResult.TimeDurationChargingResult setAChChargingAddress(CAP4AChChargingAddress value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4CAMEL_CallResult.TimeDurationChargingResult setCallActive(boolean value) throws IllegalStateException
setCallActive
in class CAP3CAMEL_CallResult.TimeDurationChargingResult
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4CAMEL_CallResult.TimeDurationChargingResult setCallActivePresent(boolean flag) throws IllegalStateException
setCallActivePresent
in class CAP3CAMEL_CallResult.TimeDurationChargingResult
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 CAP4CAMEL_CallResult.TimeDurationChargingResult setCallReleasedAtTcpExpiryPresent(boolean flag) throws IllegalStateException
setCallReleasedAtTcpExpiryPresent
in class CAP3CAMEL_CallResult.TimeDurationChargingResult
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 CAP4CAMEL_CallResult.TimeDurationChargingResult setExtensions(CAP1ExtensionField[] value) throws IllegalStateException
setExtensions
in class CAP3CAMEL_CallResult.TimeDurationChargingResult
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4CAMEL_CallResult.TimeDurationChargingResult setPartyToCharge(CCLegID value) throws IllegalStateException
setPartyToCharge
in class CAP3CAMEL_CallResult.TimeDurationChargingResult
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class CAP2CAMEL_CallResult.TimeDurationChargingResult
public CAP4CAMEL_CallResult.TimeDurationChargingResult setTimeInformation(CAP2TimeInformation value) throws IllegalStateException
setTimeInformation
in class CAP3CAMEL_CallResult.TimeDurationChargingResult
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only