public class CAP4CancelArg extends CCCancelArg
CancelArg ::=
CHOICE {
invokeID InvokeID,
allRequests NULL,
callSegmentToCancel CallSegmentToCancel
}
CAP-gsmSSF-gsmSCF-ops-args {
CancelArg {
@parentType com.opencloud.slee.resources.cgin.callcontrol.CCCancelArg
}
}
Used as argument type by CAP4Operations.cancel.
| Modifier and Type | Class and Description |
|---|---|
static class |
CAP4CancelArg.Choice
API for CAP-gsmSSF-gsmSCF-ops-args.CancelArg.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CAP4CancelArg() |
| Modifier and Type | Method and Description |
|---|---|
CAP4CancelArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP4CancelArg |
copyOf(CCCancelArg 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.
|
CAP4CallSegmentToCancel |
getCallSegmentToCancel()
Gets the value of the callSegmentToCancel choice.
|
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 :discriminant-name to associated-value.
|
boolean |
isCallSegmentToCancelChosen()
Tests whether the choice is callSegmentToCancel.
|
CAP4CancelArg |
setAllRequests()
Sets the allRequests choice.
|
CAP4CancelArg |
setCallSegmentToCancel(CAP4CallSegmentToCancel value)
Sets the value of the callSegmentToCancel choice.
|
CAP4CancelArg |
setInvokeID(int value)
Sets the value of the invokeID choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
getChoice, getInvokeID, isAllRequestsChosen, isInvokeIDChosen, setChoiceequals, hashCode, toStringcheckModify, isReadOnlypublic CAP4CancelArg clone()
clone in interface DataObjectclone in class CCCancelArgpublic static CAP4CancelArg copyOf(CCCancelArg from)
from - the object from which to copypublic CAP4CallSegmentToCancel getCallSegmentToCancel()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class CCCancelArgwithAbsents - ignored, as value cannot be optionalpublic boolean isCallSegmentToCancelChosen()
public CAP4CancelArg setAllRequests() throws IllegalStateException
setAllRequests in class CCCancelArgIllegalStateException - if this instance has been marked as read-onlypublic CAP4CancelArg setCallSegmentToCancel(CAP4CallSegmentToCancel value) throws IllegalStateException, NullPointerException
value - the new value for the choiceIllegalStateException - if this instance has been marked as read-onlyNullPointerException - if the given value is nullpublic CAP4CancelArg setInvokeID(int value) throws IllegalStateException
setInvokeID in class CCCancelArgvalue - the new value for the choiceIllegalStateException - if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly in interface DataObjectsetReadOnly in class AbstractDataObject