public class CCReleaseCallArg extends AbstractFieldsObject
ReleaseCallArg ::=
CHOICE {
initialCallSegment Cause,
...
}
Used as argument type by CCOperations.releaseCall.
| Modifier and Type | Class and Description |
|---|---|
static class |
CCReleaseCallArg.Choice
API for CC-DataTypes.ReleaseCallArg.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CCReleaseCallArg() |
| Modifier and Type | Method and Description |
|---|---|
CCReleaseCallArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CCReleaseCallArg |
copyOf(CCReleaseCallArg 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.
|
CCReleaseCallArg.Choice |
getChoice()
Gets the discriminant of the current 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.
|
Cause |
getInitialCallSegment()
Gets the value of the initialCallSegment choice.
|
boolean |
isInitialCallSegmentChosen()
Tests whether the choice is initialCallSegment.
|
protected void |
setChoice(CCReleaseCallArg.Choice arg)
Sets the discriminant of the current choice.
|
CCReleaseCallArg |
setInitialCallSegment(Cause value)
Sets the value of the initialCallSegment choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic CCReleaseCallArg clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static CCReleaseCallArg copyOf(CCReleaseCallArg from)
from - the object from which to copypublic CCReleaseCallArg.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - ignored, as value cannot be optionalpublic Cause getInitialCallSegment()
public boolean isInitialCallSegmentChosen()
protected void setChoice(CCReleaseCallArg.Choice arg)
arg - the new discriminantpublic CCReleaseCallArg setInitialCallSegment(Cause 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 void setReadOnly()
setReadOnly in interface DataObjectsetReadOnly in class AbstractDataObject