public class CS1GapTreatment extends CCGapTreatment
GapTreatment ::=
CHOICE {
informationToSend InformationToSend,
releaseCause Cause,
both SEQUENCE {
informationToSend InformationToSend,
releaseCause Cause
}
}
Core-INAP-CS1-DataTypes {
GapTreatment {
@parentType com.opencloud.slee.resources.cgin.callcontrol.CCGapTreatment
}
}
Used as field type by CS1CallGapArg.
| Modifier and Type | Class and Description |
|---|---|
static class |
CS1GapTreatment.Both
API for Core-INAP-CS1-DataTypes.GapTreatment.both.
|
static class |
CS1GapTreatment.Choice
API for Core-INAP-CS1-DataTypes.GapTreatment.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CS1GapTreatment() |
| Modifier and Type | Method and Description |
|---|---|
CS1GapTreatment |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CS1GapTreatment |
copyOf(CCGapTreatment 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.
|
CS1GapTreatment.Both |
getBoth()
Gets the value of the both 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 |
isBothChosen()
Tests whether the choice is both.
|
CS1GapTreatment |
setBoth(CS1GapTreatment.Both value)
Sets the value of the both choice.
|
CS1GapTreatment |
setInformationToSend(CS1InformationToSend value)
Sets the value of the informationToSend choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CS1GapTreatment |
setReleaseCause(Cause value)
Sets the value of the releaseCause choice.
|
getChoice, getInformationToSend, getReleaseCause, isInformationToSendChosen, isReleaseCauseChosen, setChoice, setInformationToSendequals, hashCode, toStringcheckModify, isReadOnlypublic CS1GapTreatment clone()
clone in interface DataObjectclone in class CCGapTreatmentpublic static CS1GapTreatment copyOf(CCGapTreatment from)
from - the object from which to copypublic CS1GapTreatment.Both getBoth()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class CCGapTreatmentwithAbsents - ignored, as value cannot be optionalpublic boolean isBothChosen()
public CS1GapTreatment setBoth(CS1GapTreatment.Both 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 CS1GapTreatment setInformationToSend(CS1InformationToSend 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 CCGapTreatmentpublic CS1GapTreatment setReleaseCause(Cause value) throws IllegalStateException, NullPointerException
setReleaseCause in class CCGapTreatmentvalue - the new value for the choiceIllegalStateException - if this instance has been marked as read-onlyNullPointerException - if the given value is null