public class CAP3GapCriteria extends CCGapCriteria
GapCriteria ::=
CHOICE {
basicGapCriteria BasicGapCriteria,
compoundGapCriteria CompoundCriteria
}
CAP-datatypes {
GapCriteria {
@parentType com.opencloud.slee.resources.cgin.callcontrol.CCGapCriteria
}
}
Used as field type by CAP3CallGapArg.
| Modifier and Type | Class and Description |
|---|---|
static class |
CAP3GapCriteria.Choice
API for CAP-datatypes.GapCriteria.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CAP3GapCriteria() |
| Modifier and Type | Method and Description |
|---|---|
CAP3GapCriteria |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP3GapCriteria |
copyOf(CCGapCriteria 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.
|
CAP3CompoundCriteria |
getCompoundGapCriteria()
Gets the value of the compoundGapCriteria 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 |
isCompoundGapCriteriaChosen()
Tests whether the choice is compoundGapCriteria.
|
CAP3GapCriteria |
setBasicGapCriteria(CCBasicGapCriteria value)
Sets the value of the basicGapCriteria choice.
|
CAP3GapCriteria |
setCompoundGapCriteria(CAP3CompoundCriteria value)
Sets the value of the compoundGapCriteria choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
getBasicGapCriteria, getChoice, isBasicGapCriteriaChosen, setChoiceequals, hashCode, toStringcheckModify, isReadOnlypublic CAP3GapCriteria clone()
clone in interface DataObjectclone in class CCGapCriteriapublic static CAP3GapCriteria copyOf(CCGapCriteria from)
from - the object from which to copypublic CAP3CompoundCriteria getCompoundGapCriteria()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class CCGapCriteriawithAbsents - ignored, as value cannot be optionalpublic boolean isCompoundGapCriteriaChosen()
public CAP3GapCriteria setBasicGapCriteria(CCBasicGapCriteria value) throws IllegalStateException, NullPointerException
setBasicGapCriteria in class CCGapCriteriavalue - the new value for the choiceIllegalStateException - if this instance has been marked as read-onlyNullPointerException - if the given value is nullpublic CAP3GapCriteria setCompoundGapCriteria(CAP3CompoundCriteria 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 CCGapCriteria