public class CAP4PlayAnnouncementArg extends CAP2PlayAnnouncementArg
PlayAnnouncementArg ::=
SEQUENCE {
informationToSend InformationToSend,
disconnectFromIPForbidden BOOLEAN DEFAULT TRUE,
requestAnnouncementCompleteNotification BOOLEAN DEFAULT TRUE,
extensions Extensions OPTIONAL,
callSegmentID CallSegmentID OPTIONAL,
requestAnnouncementStartedNotification BOOLEAN DEFAULT FALSE,
...
}
CAP-gsmSCF-gsmSRF-ops-args {
PlayAnnouncementArg {
@parentType com.opencloud.slee.resources.cgin.cap_v2.CAP2PlayAnnouncementArg
requestAnnouncementCompleteNotification {
@rename requestAnnouncementComplete
}
requestAnnouncementStartedNotification {
@rename requestAnnouncementStarted
}
}
}
Used as argument type by CAP4Operations.playAnnouncement.
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CAP4PlayAnnouncementArg()
Constructs an object with uninitialised state.
|
| Modifier and Type | Method and Description |
|---|---|
CAP4PlayAnnouncementArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP4PlayAnnouncementArg |
copyOf(CCPlayAnnouncementArg 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.
|
int |
getCallSegmentID()
Gets the value of the field callSegmentID.
|
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 |
getRequestAnnouncementStarted()
Gets the value of the field requestAnnouncementStartedNotification.
|
boolean |
hasCallSegmentID()
Tests whether the field callSegmentID has a value.
|
boolean |
hasRequestAnnouncementStarted()
Tests whether the field requestAnnouncementStartedNotification has a value.
|
CAP4PlayAnnouncementArg |
setCallSegmentID(int value)
Sets the value of the field callSegmentID and marks the field as present.
|
CAP4PlayAnnouncementArg |
setCallSegmentIDPresent(boolean flag)
Sets the presence or absence of the optional field callSegmentID.
|
CAP4PlayAnnouncementArg |
setDisconnectFromIPForbidden(boolean value)
Sets the value of the field disconnectFromIPForbidden.
|
CAP4PlayAnnouncementArg |
setDisconnectFromIPForbiddenPresent(boolean flag)
Sets the presence or absence of the optional field disconnectFromIPForbidden.
|
CAP4PlayAnnouncementArg |
setExtensions(CAP1ExtensionField[] value)
Sets the value of the field extensions.
|
CAP4PlayAnnouncementArg |
setInformationToSend(CCInformationToSend value)
Sets the value of the field informationToSend.
|
CAP4PlayAnnouncementArg |
setRequestAnnouncementComplete(boolean value)
Sets the value of the field requestAnnouncementCompleteNotification.
|
CAP4PlayAnnouncementArg |
setRequestAnnouncementCompletePresent(boolean flag)
Sets the presence or absence of the optional field requestAnnouncementCompleteNotification.
|
CAP4PlayAnnouncementArg |
setRequestAnnouncementStarted(boolean value)
Sets the value of the field requestAnnouncementStartedNotification and marks the field as present.
|
CAP4PlayAnnouncementArg |
setRequestAnnouncementStartedPresent(boolean flag)
Sets the presence or absence of the optional field requestAnnouncementStartedNotification.
|
getExtensions, hasExtensionsgetDisconnectFromIPForbidden, getInformationToSend, getRequestAnnouncementComplete, hasDisconnectFromIPForbidden, hasInformationToSend, hasRequestAnnouncementComplete, setReadOnlyequals, hashCode, toStringcheckModify, isReadOnlypublic CAP4PlayAnnouncementArg()
public CAP4PlayAnnouncementArg clone()
clone in interface DataObjectclone in class CAP2PlayAnnouncementArgpublic static CAP4PlayAnnouncementArg copyOf(CCPlayAnnouncementArg from)
from - the object from which to copypublic int getCallSegmentID()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class CAP2PlayAnnouncementArgwithAbsents - whether to put absent optional fields into Mappublic boolean getRequestAnnouncementStarted()
public boolean hasCallSegmentID()
public boolean hasRequestAnnouncementStarted()
public CAP4PlayAnnouncementArg setCallSegmentID(int value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CAP4PlayAnnouncementArg setCallSegmentIDPresent(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 CAP4PlayAnnouncementArg setDisconnectFromIPForbidden(boolean value) throws IllegalStateException
setDisconnectFromIPForbidden in class CAP2PlayAnnouncementArgvalue - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CAP4PlayAnnouncementArg setDisconnectFromIPForbiddenPresent(boolean flag) throws IllegalStateException
setDisconnectFromIPForbiddenPresent in class CAP2PlayAnnouncementArgflag - 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 CAP4PlayAnnouncementArg setExtensions(CAP1ExtensionField[] value) throws IllegalStateException
setExtensions in class CAP2PlayAnnouncementArgvalue - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CAP4PlayAnnouncementArg setInformationToSend(CCInformationToSend value) throws IllegalStateException
setInformationToSend in class CAP2PlayAnnouncementArgvalue - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CAP4PlayAnnouncementArg setRequestAnnouncementComplete(boolean value) throws IllegalStateException
setRequestAnnouncementComplete in class CAP2PlayAnnouncementArgvalue - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CAP4PlayAnnouncementArg setRequestAnnouncementCompletePresent(boolean flag) throws IllegalStateException
setRequestAnnouncementCompletePresent in class CAP2PlayAnnouncementArgflag - 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 CAP4PlayAnnouncementArg setRequestAnnouncementStarted(boolean value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CAP4PlayAnnouncementArg setRequestAnnouncementStartedPresent(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