public class MAPSendEndSignal_Arg extends AbstractFieldsObject
SendEndSignal-Arg ::= CHOICE { r98 ExternalSignalInfo } MAP-MS-DataTypes-R98 { SendEndSignal-Arg { @extendible } }Added in ph2. (This ASN.1 definition differs from the standard one in a way that eases API inheritance in the next version of the sendEndSignal operation while the on-the-wire representation remains unchanged.)
Used as argument type by MAPOperations.sendEndSignal
.
Modifier and Type | Class and Description |
---|---|
static class |
MAPSendEndSignal_Arg.Choice
API for MAP-MS-DataTypes-R98.SendEndSignal-Arg.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPSendEndSignal_Arg() |
Modifier and Type | Method and Description |
---|---|
MAPSendEndSignal_Arg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPSendEndSignal_Arg |
copyOf(MAPSendEndSignal_Arg 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.
|
MAPSendEndSignal_Arg.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.
|
MAPExternalSignalInfo |
getR98()
Gets the value of the r98 choice.
|
boolean |
isR98Chosen()
Tests whether the choice is r98.
|
protected void |
setChoice(MAPSendEndSignal_Arg.Choice arg)
Sets the discriminant of the current choice.
|
MAPSendEndSignal_Arg |
setR98(MAPExternalSignalInfo value)
Sets the value of the r98 choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPSendEndSignal_Arg clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPSendEndSignal_Arg copyOf(MAPSendEndSignal_Arg from)
from
- the object from which to copypublic MAPSendEndSignal_Arg.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- ignored, as value cannot be optionalpublic MAPExternalSignalInfo getR98()
public boolean isR98Chosen()
protected void setChoice(MAPSendEndSignal_Arg.Choice arg)
arg
- the new discriminantpublic MAPSendEndSignal_Arg setR98(MAPExternalSignalInfo 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