public class MAPExtendedRoutingInfo extends MAPRoutingInfo
ExtendedRoutingInfo ::= CHOICE { routingInfo RoutingInfo, camelRoutingInfo CamelRoutingInfo } MAP-CH-DataTypes { ExtendedRoutingInfo { @parentASN1Type MAP-CH-DataTypes.RoutingInfo } }Extended in R96.
Used as field type by MAPSendRoutingInfoRes_v3
.
Modifier and Type | Class and Description |
---|---|
static class |
MAPExtendedRoutingInfo.Choice
API for MAP-CH-DataTypes.ExtendedRoutingInfo.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPExtendedRoutingInfo() |
Modifier and Type | Method and Description |
---|---|
MAPExtendedRoutingInfo |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPExtendedRoutingInfo |
copyOf(MAPRoutingInfo 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.
|
MAPCamelRoutingInfo |
getCamelRoutingInfo()
Gets the value of the camelRoutingInfo 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.
|
MAPRoutingInfo |
getRoutingInfo()
Gets the value of the routingInfo choice.
|
boolean |
isCamelRoutingInfoChosen()
Tests whether the choice is camelRoutingInfo.
|
boolean |
isRoutingInfoChosen()
Tests whether the choice is routingInfo.
|
MAPExtendedRoutingInfo |
setCamelRoutingInfo(MAPCamelRoutingInfo value)
Sets the value of the camelRoutingInfo choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
MAPExtendedRoutingInfo |
setRoutingInfo(MAPRoutingInfo value)
Sets the value of the routingInfo choice.
|
getChoice, getForwardingData, getRoamingNumber, isForwardingDataChosen, isRoamingNumberChosen, setChoice, setForwardingData, setRoamingNumber
equals, hashCode, toString
checkModify, isReadOnly
public MAPExtendedRoutingInfo clone()
clone
in interface DataObject
clone
in class MAPRoutingInfo
public static MAPExtendedRoutingInfo copyOf(MAPRoutingInfo from)
from
- the object from which to copypublic MAPCamelRoutingInfo getCamelRoutingInfo()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class MAPRoutingInfo
withAbsents
- ignored, as value cannot be optionalpublic MAPRoutingInfo getRoutingInfo()
public boolean isCamelRoutingInfoChosen()
public boolean isRoutingInfoChosen()
public MAPExtendedRoutingInfo setCamelRoutingInfo(MAPCamelRoutingInfo 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 MAPRoutingInfo
public MAPExtendedRoutingInfo setRoutingInfo(MAPRoutingInfo 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 null