public class MAPCallBarredParam extends AbstractFieldsObject
CallBarredParam ::= CHOICE { callBarringCause CallBarringCause, -- callBarringCause must not be used in v3 and higher. extensibleCallBarredParam ExtensibleCallBarredParam -- Added in R96. }Present in ph1 (anonymous before R96).
Used as parameter type by MAPErrors.callBarred
.
Modifier and Type | Class and Description |
---|---|
static class |
MAPCallBarredParam.Choice
API for MAP-ER-DataTypes.CallBarredParam.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPCallBarredParam() |
Modifier and Type | Method and Description |
---|---|
MAPCallBarredParam |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPCallBarredParam |
copyOf(MAPCallBarredParam 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.
|
MAPCallBarringCause |
getCallBarringCause()
Gets the value of the callBarringCause choice.
|
MAPCallBarredParam.Choice |
getChoice()
Gets the discriminant of the current choice.
|
MAPExtensibleCallBarredParam |
getExtensibleCallBarredParam()
Gets the value of the extensibleCallBarredParam 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 |
isCallBarringCauseChosen()
Tests whether the choice is callBarringCause.
|
boolean |
isExtensibleCallBarredParamChosen()
Tests whether the choice is extensibleCallBarredParam.
|
MAPCallBarredParam |
setCallBarringCause(MAPCallBarringCause value)
Sets the value of the callBarringCause choice.
|
MAPCallBarredParam |
setExtensibleCallBarredParam(MAPExtensibleCallBarredParam value)
Sets the value of the extensibleCallBarredParam choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPCallBarredParam clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPCallBarredParam copyOf(MAPCallBarredParam from)
from
- the object from which to copypublic MAPCallBarringCause getCallBarringCause()
public MAPCallBarredParam.Choice getChoice()
public MAPExtensibleCallBarredParam getExtensibleCallBarredParam()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- ignored, as value cannot be optionalpublic boolean isCallBarringCauseChosen()
public boolean isExtensibleCallBarredParamChosen()
public MAPCallBarredParam setCallBarringCause(MAPCallBarringCause 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 MAPCallBarredParam setExtensibleCallBarredParam(MAPExtensibleCallBarredParam 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