public class CAP4InitiateCallAttemptArg extends AbstractFieldsObject
InitiateCallAttemptArg ::= SEQUENCE { destinationRoutingAddress DestinationRoutingAddress, extensions Extensions OPTIONAL, legToBeCreated LegID OPTIONAL, newCallSegment CallSegmentID OPTIONAL, callingPartyNumber CallingPartyNumber OPTIONAL, callReferenceNumber CallReferenceNumber OPTIONAL, gsmSCFAddress ISDN-AddressString OPTIONAL, suppress-T-CSI NULL OPTIONAL, ... }
Used as argument type by CAP4Operations.initiateCallAttempt
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CAP4InitiateCallAttemptArg()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CAP4InitiateCallAttemptArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP4InitiateCallAttemptArg |
copyOf(CAP4InitiateCallAttemptArg 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.
|
CallingPartyNumber |
getCallingPartyNumber()
Gets the value of the field callingPartyNumber.
|
byte[] |
getCallReferenceNumber()
Gets the value of the field callReferenceNumber.
|
CalledPartyNumber[] |
getDestinationRoutingAddress()
Gets the value of the field destinationRoutingAddress.
|
CAP1ExtensionField[] |
getExtensions()
Gets the value of the field extensions.
|
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.
|
AddressString |
getGsmSCFAddress()
Gets the value of the field gsmSCFAddress.
|
CCLegID |
getLegToBeCreated()
Gets the value of the field legToBeCreated.
|
int |
getNewCallSegment()
Gets the value of the field newCallSegment.
|
boolean |
hasCallingPartyNumber()
Tests whether the field callingPartyNumber has a value.
|
boolean |
hasCallReferenceNumber()
Tests whether the field callReferenceNumber has a value.
|
boolean |
hasDestinationRoutingAddress()
Tests whether the field destinationRoutingAddress has a value.
|
boolean |
hasExtensions()
Tests whether the field extensions has a value.
|
boolean |
hasGsmSCFAddress()
Tests whether the field gsmSCFAddress has a value.
|
boolean |
hasLegToBeCreated()
Tests whether the field legToBeCreated has a value.
|
boolean |
hasNewCallSegment()
Tests whether the field newCallSegment has a value.
|
boolean |
hasSuppress_T_CSI()
Tests whether the field suppress-T-CSI is present.
|
CAP4InitiateCallAttemptArg |
setCallingPartyNumber(CallingPartyNumber value)
Sets the value of the field callingPartyNumber.
|
CAP4InitiateCallAttemptArg |
setCallReferenceNumber(byte[] value)
Sets the value of the field callReferenceNumber.
|
CAP4InitiateCallAttemptArg |
setDestinationRoutingAddress(CalledPartyNumber[] value)
Sets the value of the field destinationRoutingAddress.
|
CAP4InitiateCallAttemptArg |
setExtensions(CAP1ExtensionField[] value)
Sets the value of the field extensions.
|
CAP4InitiateCallAttemptArg |
setGsmSCFAddress(AddressString value)
Sets the value of the field gsmSCFAddress.
|
CAP4InitiateCallAttemptArg |
setLegToBeCreated(CCLegID value)
Sets the value of the field legToBeCreated.
|
CAP4InitiateCallAttemptArg |
setNewCallSegment(int value)
Sets the value of the field newCallSegment and marks the field as present.
|
CAP4InitiateCallAttemptArg |
setNewCallSegmentPresent(boolean flag)
Sets the presence or absence of the optional field newCallSegment.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CAP4InitiateCallAttemptArg |
setSuppress_T_CSIPresent(boolean flag)
Sets the presence or absence of the optional field suppress-T-CSI.
|
equals, hashCode, toString
checkModify, isReadOnly
public CAP4InitiateCallAttemptArg()
public CAP4InitiateCallAttemptArg clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CAP4InitiateCallAttemptArg copyOf(CAP4InitiateCallAttemptArg from)
from
- the object from which to copypublic byte[] getCallReferenceNumber()
public CallingPartyNumber getCallingPartyNumber()
public CalledPartyNumber[] getDestinationRoutingAddress()
public CAP1ExtensionField[] getExtensions()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic AddressString getGsmSCFAddress()
public CCLegID getLegToBeCreated()
public int getNewCallSegment()
public boolean hasCallReferenceNumber()
public boolean hasCallingPartyNumber()
public boolean hasDestinationRoutingAddress()
public boolean hasExtensions()
public boolean hasGsmSCFAddress()
public boolean hasLegToBeCreated()
public boolean hasNewCallSegment()
public boolean hasSuppress_T_CSI()
public CAP4InitiateCallAttemptArg setCallReferenceNumber(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4InitiateCallAttemptArg setCallingPartyNumber(CallingPartyNumber value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4InitiateCallAttemptArg setDestinationRoutingAddress(CalledPartyNumber[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4InitiateCallAttemptArg setExtensions(CAP1ExtensionField[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4InitiateCallAttemptArg setGsmSCFAddress(AddressString value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4InitiateCallAttemptArg setLegToBeCreated(CCLegID value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4InitiateCallAttemptArg setNewCallSegment(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4InitiateCallAttemptArg setNewCallSegmentPresent(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-onlypublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject
public CAP4InitiateCallAttemptArg setSuppress_T_CSIPresent(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