public class CAP4PromptAndCollectUserInformationArg extends CAP2PromptAndCollectUserInformationArg
PromptAndCollectUserInformationArg ::= SEQUENCE { collectedInfo CollectedInfo, disconnectFromIPForbidden BOOLEAN DEFAULT TRUE, informationToSend InformationToSend OPTIONAL, extensions Extensions OPTIONAL, callSegmentID CallSegmentID OPTIONAL, requestAnnouncementStartedNotification BOOLEAN DEFAULT FALSE, ... } CAP-gsmSCF-gsmSRF-ops-args { PromptAndCollectUserInformationArg { @parentType com.opencloud.slee.resources.cgin.cap_v2.CAP2PromptAndCollectUserInformationArg } }
Used as argument type by CAP4Operations.promptAndCollectUserInformation
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CAP4PromptAndCollectUserInformationArg()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CAP4PromptAndCollectUserInformationArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP4PromptAndCollectUserInformationArg |
copyOf(CCPromptAndCollectUserInformationArg 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 |
getRequestAnnouncementStartedNotification()
Gets the value of the field requestAnnouncementStartedNotification.
|
boolean |
hasCallSegmentID()
Tests whether the field callSegmentID has a value.
|
boolean |
hasRequestAnnouncementStartedNotification()
Tests whether the field requestAnnouncementStartedNotification has a value.
|
CAP4PromptAndCollectUserInformationArg |
setCallSegmentID(int value)
Sets the value of the field callSegmentID and marks the field as present.
|
CAP4PromptAndCollectUserInformationArg |
setCallSegmentIDPresent(boolean flag)
Sets the presence or absence of the optional field callSegmentID.
|
CAP4PromptAndCollectUserInformationArg |
setCollectedInfo(CCCollectedInfo value)
Sets the value of the field collectedInfo.
|
CAP4PromptAndCollectUserInformationArg |
setDisconnectFromIPForbidden(boolean value)
Sets the value of the field disconnectFromIPForbidden.
|
CAP4PromptAndCollectUserInformationArg |
setDisconnectFromIPForbiddenPresent(boolean flag)
Sets the presence or absence of the optional field disconnectFromIPForbidden.
|
CAP4PromptAndCollectUserInformationArg |
setExtensions(CAP1ExtensionField[] value)
Sets the value of the field extensions.
|
CAP4PromptAndCollectUserInformationArg |
setInformationToSend(CCInformationToSend value)
Sets the value of the field informationToSend.
|
CAP4PromptAndCollectUserInformationArg |
setRequestAnnouncementStartedNotification(boolean value)
Sets the value of the field requestAnnouncementStartedNotification and marks the field as present.
|
CAP4PromptAndCollectUserInformationArg |
setRequestAnnouncementStartedNotificationPresent(boolean flag)
Sets the presence or absence of the optional field requestAnnouncementStartedNotification.
|
getExtensions, hasExtensions
getCollectedInfo, getDisconnectFromIPForbidden, getInformationToSend, hasCollectedInfo, hasDisconnectFromIPForbidden, hasInformationToSend, setReadOnly
equals, hashCode, toString
checkModify, isReadOnly
public CAP4PromptAndCollectUserInformationArg()
public CAP4PromptAndCollectUserInformationArg clone()
clone
in interface DataObject
clone
in class CAP2PromptAndCollectUserInformationArg
public static CAP4PromptAndCollectUserInformationArg copyOf(CCPromptAndCollectUserInformationArg from)
from
- the object from which to copypublic int getCallSegmentID()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class CAP2PromptAndCollectUserInformationArg
withAbsents
- whether to put absent optional fields into Mappublic boolean getRequestAnnouncementStartedNotification()
public boolean hasCallSegmentID()
public boolean hasRequestAnnouncementStartedNotification()
public CAP4PromptAndCollectUserInformationArg setCallSegmentID(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4PromptAndCollectUserInformationArg 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 CAP4PromptAndCollectUserInformationArg setCollectedInfo(CCCollectedInfo value) throws IllegalStateException
setCollectedInfo
in class CAP2PromptAndCollectUserInformationArg
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4PromptAndCollectUserInformationArg setDisconnectFromIPForbidden(boolean value) throws IllegalStateException
setDisconnectFromIPForbidden
in class CAP2PromptAndCollectUserInformationArg
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4PromptAndCollectUserInformationArg setDisconnectFromIPForbiddenPresent(boolean flag) throws IllegalStateException
setDisconnectFromIPForbiddenPresent
in class CAP2PromptAndCollectUserInformationArg
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 CAP4PromptAndCollectUserInformationArg setExtensions(CAP1ExtensionField[] value) throws IllegalStateException
setExtensions
in class CAP2PromptAndCollectUserInformationArg
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4PromptAndCollectUserInformationArg setInformationToSend(CCInformationToSend value) throws IllegalStateException
setInformationToSend
in class CAP2PromptAndCollectUserInformationArg
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4PromptAndCollectUserInformationArg setRequestAnnouncementStartedNotification(boolean value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4PromptAndCollectUserInformationArg setRequestAnnouncementStartedNotificationPresent(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