public class CAP4EntityReleasedArg extends AbstractFieldsObject
EntityReleasedArg ::= CHOICE { callSegmentFailure CallSegmentFailure, bCSM-Failure BCSM-Failure }
Used as argument type by CAP4Operations.entityReleased
.
Modifier and Type | Class and Description |
---|---|
static class |
CAP4EntityReleasedArg.Choice
API for CAP-gsmSSF-gsmSCF-ops-args.EntityReleasedArg.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CAP4EntityReleasedArg() |
Modifier and Type | Method and Description |
---|---|
CAP4EntityReleasedArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP4EntityReleasedArg |
copyOf(CAP4EntityReleasedArg 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.
|
CAP4BCSM_Failure |
getBCSM_Failure()
Gets the value of the bCSM-Failure choice.
|
CAP4CallSegmentFailure |
getCallSegmentFailure()
Gets the value of the callSegmentFailure choice.
|
CAP4EntityReleasedArg.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.
|
boolean |
isBCSM_FailureChosen()
Tests whether the choice is bCSM-Failure.
|
boolean |
isCallSegmentFailureChosen()
Tests whether the choice is callSegmentFailure.
|
CAP4EntityReleasedArg |
setBCSM_Failure(CAP4BCSM_Failure value)
Sets the value of the bCSM-Failure choice.
|
CAP4EntityReleasedArg |
setCallSegmentFailure(CAP4CallSegmentFailure value)
Sets the value of the callSegmentFailure choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public CAP4EntityReleasedArg clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CAP4EntityReleasedArg copyOf(CAP4EntityReleasedArg from)
from
- the object from which to copypublic CAP4BCSM_Failure getBCSM_Failure()
public CAP4CallSegmentFailure getCallSegmentFailure()
public CAP4EntityReleasedArg.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- ignored, as value cannot be optionalpublic boolean isBCSM_FailureChosen()
public boolean isCallSegmentFailureChosen()
public CAP4EntityReleasedArg setBCSM_Failure(CAP4BCSM_Failure 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 CAP4EntityReleasedArg setCallSegmentFailure(CAP4CallSegmentFailure 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 DataObject
setReadOnly
in class AbstractDataObject