public class CAP2ConnectArg extends CAP1ConnectArg
ConnectArg ::= SEQUENCE { destinationRoutingAddress DestinationRoutingAddress, alertingPattern AlertingPattern OPTIONAL, originalCalledPartyID OriginalCalledPartyID OPTIONAL, extensions SEQUENCE (SIZE (1..10)) OF ExtensionField OPTIONAL, callingPartysCategory CallingPartysCategory OPTIONAL, redirectingPartyID RedirectingPartyID OPTIONAL, redirectionInformation RedirectionInformation OPTIONAL, genericNumbers GenericNumbers OPTIONAL, suppressionOfAnnouncement SuppressionOfAnnouncement OPTIONAL, oCSIApplicable OCSIApplicable OPTIONAL, ... na-Info NA-Info OPTIONAL } CAP-DataTypes { ConnectArg { @parentType com.opencloud.slee.resources.cgin.cap_v1.CAP1ConnectArg } }
Used as argument type by CAP2Operations.connect
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CAP2ConnectArg()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CAP2ConnectArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP2ConnectArg |
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.
|
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.
|
CAP2NA_Info |
getNa_Info()
Gets the value of the field na-Info.
|
boolean |
hasNa_Info()
Tests whether the field na-Info has a value.
|
CAP2ConnectArg |
setAlertingPattern(Signal value)
Sets the value of the field alertingPattern.
|
CAP2ConnectArg |
setCallingPartysCategory(CallingPartysCategory value)
Sets the value of the field callingPartysCategory.
|
CAP2ConnectArg |
setDestinationRoutingAddress(CalledPartyNumber[] value)
Sets the value of the field destinationRoutingAddress.
|
CAP2ConnectArg |
setExtensions(CAP1ExtensionField[] value)
Sets the value of the field extensions.
|
CAP2ConnectArg |
setGenericNumbers(GenericNumber[] value)
Sets the value of the field genericNumbers.
|
CAP2ConnectArg |
setNa_Info(CAP2NA_Info value)
Sets the value of the field na-Info.
|
CAP2ConnectArg |
setOCSIApplicablePresent(boolean flag)
Sets the presence or absence of the optional field oCSIApplicable.
|
CAP2ConnectArg |
setOriginalCalledPartyID(OriginalCalledNumber value)
Sets the value of the field originalCalledPartyID.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CAP2ConnectArg |
setRedirectingPartyID(RedirectingPartyNumber value)
Sets the value of the field redirectingPartyID.
|
CAP2ConnectArg |
setRedirectionInformation(RedirectionInformation value)
Sets the value of the field redirectionInformation.
|
CAP2ConnectArg |
setSuppressionOfAnnouncementPresent(boolean flag)
Sets the presence or absence of the optional field suppressionOfAnnouncement.
|
getExtensions, getGenericNumbers, hasExtensions, hasGenericNumbers, hasOCSIApplicable, hasSuppressionOfAnnouncement
getAlertingPattern, getCallingPartysCategory, getDestinationRoutingAddress, getOriginalCalledPartyID, getRedirectingPartyID, getRedirectionInformation, hasAlertingPattern, hasCallingPartysCategory, hasDestinationRoutingAddress, hasOriginalCalledPartyID, hasRedirectingPartyID, hasRedirectionInformation
equals, hashCode, toString
checkModify, isReadOnly
public CAP2ConnectArg()
public CAP2ConnectArg clone()
clone
in interface DataObject
clone
in class CAP1ConnectArg
public static CAP2ConnectArg copyOf(CCConnectArg from)
from
- the object from which to copypublic static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class CAP1ConnectArg
withAbsents
- whether to put absent optional fields into Mappublic CAP2NA_Info getNa_Info()
public boolean hasNa_Info()
public CAP2ConnectArg setAlertingPattern(Signal value) throws IllegalStateException
setAlertingPattern
in class CCConnectArg
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP2ConnectArg setCallingPartysCategory(CallingPartysCategory value) throws IllegalStateException
setCallingPartysCategory
in class CAP1ConnectArg
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP2ConnectArg setDestinationRoutingAddress(CalledPartyNumber[] value) throws IllegalStateException
setDestinationRoutingAddress
in class CAP1ConnectArg
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP2ConnectArg setExtensions(CAP1ExtensionField[] value) throws IllegalStateException
setExtensions
in class CAP1ConnectArg
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP2ConnectArg setGenericNumbers(GenericNumber[] value) throws IllegalStateException
setGenericNumbers
in class CAP1ConnectArg
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP2ConnectArg setNa_Info(CAP2NA_Info value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP2ConnectArg setOCSIApplicablePresent(boolean flag) throws IllegalStateException
setOCSIApplicablePresent
in class CAP1ConnectArg
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 CAP2ConnectArg setOriginalCalledPartyID(OriginalCalledNumber value) throws IllegalStateException
setOriginalCalledPartyID
in class CAP1ConnectArg
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 CCConnectArg
public CAP2ConnectArg setRedirectingPartyID(RedirectingPartyNumber value) throws IllegalStateException
setRedirectingPartyID
in class CAP1ConnectArg
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP2ConnectArg setRedirectionInformation(RedirectionInformation value) throws IllegalStateException
setRedirectionInformation
in class CAP1ConnectArg
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP2ConnectArg setSuppressionOfAnnouncementPresent(boolean flag) throws IllegalStateException
setSuppressionOfAnnouncementPresent
in class CAP1ConnectArg
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