public static class CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo extends CAP3EventSpecificInformationBCSM.OAnswerSpecificInfo
oAnswerSpecificInfo ::= SEQUENCE { destinationAddress CalledPartyNumber OPTIONAL, or-Call NULL OPTIONAL, forwardedCall NULL OPTIONAL, chargeIndicator ChargeIndicator OPTIONAL, ext-basicServiceCode Ext-BasicServiceCode OPTIONAL, ext-basicServiceCode2 Ext-BasicServiceCode OPTIONAL, ... }
Used as field type by CAP4EventSpecificInformationBCSM
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo |
copyOf(CCEventSpecificInformationBCSM.OAnswerSpecificInfo 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.
|
byte[] |
getChargeIndicator()
Gets the value of the field chargeIndicator.
|
MAPExt_BasicServiceCode |
getExt_basicServiceCode()
Gets the value of the field ext-basicServiceCode.
|
MAPExt_BasicServiceCode |
getExt_basicServiceCode2()
Gets the value of the field ext-basicServiceCode2.
|
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 |
hasChargeIndicator()
Tests whether the field chargeIndicator has a value.
|
boolean |
hasExt_basicServiceCode()
Tests whether the field ext-basicServiceCode has a value.
|
boolean |
hasExt_basicServiceCode2()
Tests whether the field ext-basicServiceCode2 has a value.
|
CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo |
setChargeIndicator(byte[] value)
Sets the value of the field chargeIndicator.
|
CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo |
setDestinationAddress(CalledPartyNumber value)
Sets the value of the field destinationAddress.
|
CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo |
setExt_basicServiceCode(MAPExt_BasicServiceCode value)
Sets the value of the field ext-basicServiceCode.
|
CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo |
setExt_basicServiceCode2(MAPExt_BasicServiceCode value)
Sets the value of the field ext-basicServiceCode2.
|
CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo |
setForwardedCallPresent(boolean flag)
Sets the presence or absence of the optional field forwardedCall.
|
CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo |
setOr_CallPresent(boolean flag)
Sets the presence or absence of the optional field or-Call.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
getDestinationAddress, hasDestinationAddress, hasForwardedCall, hasOr_Call
equals, hashCode, toString
checkModify, isReadOnly
public CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo()
public CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo clone()
clone
in interface DataObject
clone
in class CAP3EventSpecificInformationBCSM.OAnswerSpecificInfo
public static CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo copyOf(CCEventSpecificInformationBCSM.OAnswerSpecificInfo from)
from
- the object from which to copypublic byte[] getChargeIndicator()
public MAPExt_BasicServiceCode getExt_basicServiceCode()
public MAPExt_BasicServiceCode getExt_basicServiceCode2()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class CAP3EventSpecificInformationBCSM.OAnswerSpecificInfo
withAbsents
- whether to put absent optional fields into Mappublic boolean hasChargeIndicator()
public boolean hasExt_basicServiceCode()
public boolean hasExt_basicServiceCode2()
public CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo setChargeIndicator(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo setDestinationAddress(CalledPartyNumber value) throws IllegalStateException
setDestinationAddress
in class CAP3EventSpecificInformationBCSM.OAnswerSpecificInfo
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo setExt_basicServiceCode(MAPExt_BasicServiceCode value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo setExt_basicServiceCode2(MAPExt_BasicServiceCode value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo setForwardedCallPresent(boolean flag) throws IllegalStateException
setForwardedCallPresent
in class CAP3EventSpecificInformationBCSM.OAnswerSpecificInfo
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 CAP4EventSpecificInformationBCSM.OAnswerSpecificInfo setOr_CallPresent(boolean flag) throws IllegalStateException
setOr_CallPresent
in class CAP3EventSpecificInformationBCSM.OAnswerSpecificInfo
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 void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class CAP3EventSpecificInformationBCSM.OAnswerSpecificInfo