public class CCConnectArg extends AbstractFieldsObject
ConnectArg ::= SEQUENCE { destinationRoutingAddress DestinationRoutingAddress OPTIONAL, alertingPattern AlertingPattern OPTIONAL, originalCalledPartyID OriginalCalledPartyID OPTIONAL, callingPartysCategory CallingPartysCategory OPTIONAL, redirectingPartyID RedirectingPartyID OPTIONAL, redirectionInformation RedirectionInformation OPTIONAL }
Used as argument type by CCOperations.connect
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CCConnectArg()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CCConnectArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CCConnectArg |
copyOf(CCConnectArg 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.
|
Signal |
getAlertingPattern()
Gets the value of the field alertingPattern.
|
CallingPartysCategory |
getCallingPartysCategory()
Gets the value of the field callingPartysCategory.
|
CalledPartyNumber[] |
getDestinationRoutingAddress()
Gets the value of the field destinationRoutingAddress.
|
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.
|
OriginalCalledNumber |
getOriginalCalledPartyID()
Gets the value of the field originalCalledPartyID.
|
RedirectingPartyNumber |
getRedirectingPartyID()
Gets the value of the field redirectingPartyID.
|
RedirectionInformation |
getRedirectionInformation()
Gets the value of the field redirectionInformation.
|
boolean |
hasAlertingPattern()
Tests whether the field alertingPattern has a value.
|
boolean |
hasCallingPartysCategory()
Tests whether the field callingPartysCategory has a value.
|
boolean |
hasDestinationRoutingAddress()
Tests whether the field destinationRoutingAddress has a value.
|
boolean |
hasOriginalCalledPartyID()
Tests whether the field originalCalledPartyID has a value.
|
boolean |
hasRedirectingPartyID()
Tests whether the field redirectingPartyID has a value.
|
boolean |
hasRedirectionInformation()
Tests whether the field redirectionInformation has a value.
|
CCConnectArg |
setAlertingPattern(Signal value)
Sets the value of the field alertingPattern.
|
CCConnectArg |
setCallingPartysCategory(CallingPartysCategory value)
Sets the value of the field callingPartysCategory.
|
CCConnectArg |
setDestinationRoutingAddress(CalledPartyNumber[] value)
Sets the value of the field destinationRoutingAddress.
|
CCConnectArg |
setOriginalCalledPartyID(OriginalCalledNumber value)
Sets the value of the field originalCalledPartyID.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CCConnectArg |
setRedirectingPartyID(RedirectingPartyNumber value)
Sets the value of the field redirectingPartyID.
|
CCConnectArg |
setRedirectionInformation(RedirectionInformation value)
Sets the value of the field redirectionInformation.
|
equals, hashCode, toString
checkModify, isReadOnly
public CCConnectArg()
public CCConnectArg clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CCConnectArg copyOf(CCConnectArg from)
from
- the object from which to copypublic Signal getAlertingPattern()
public CallingPartysCategory getCallingPartysCategory()
public CalledPartyNumber[] getDestinationRoutingAddress()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic OriginalCalledNumber getOriginalCalledPartyID()
public RedirectingPartyNumber getRedirectingPartyID()
public RedirectionInformation getRedirectionInformation()
public boolean hasAlertingPattern()
public boolean hasCallingPartysCategory()
public boolean hasDestinationRoutingAddress()
public boolean hasOriginalCalledPartyID()
public boolean hasRedirectingPartyID()
public boolean hasRedirectionInformation()
public CCConnectArg setAlertingPattern(Signal value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCConnectArg setCallingPartysCategory(CallingPartysCategory value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCConnectArg setDestinationRoutingAddress(CalledPartyNumber[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCConnectArg setOriginalCalledPartyID(OriginalCalledNumber value) throws IllegalStateException
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 AbstractDataObject
public CCConnectArg setRedirectingPartyID(RedirectingPartyNumber value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCConnectArg setRedirectionInformation(RedirectionInformation value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only