public static class MAPSendRoutingInformationRes.RoutingInfo extends AbstractFieldsObject
routingInfo ::= CHOICE { roamingNumber ISDN-AddressString, forwardingData ForwardingData }
Used as field type by MAPSendRoutingInformationRes
.
Modifier and Type | Class and Description |
---|---|
static class |
MAPSendRoutingInformationRes.RoutingInfo.Choice
API for MAP-CH-DataTypes-ph1.SendRoutingInformationRes.routingInfo.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPSendRoutingInformationRes.RoutingInfo() |
Modifier and Type | Method and Description |
---|---|
MAPSendRoutingInformationRes.RoutingInfo |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPSendRoutingInformationRes.RoutingInfo |
copyOf(MAPSendRoutingInformationRes.RoutingInfo 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.
|
MAPSendRoutingInformationRes.RoutingInfo.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.
|
MAPForwardingData |
getForwardingData()
Gets the value of the forwardingData choice.
|
AddressString |
getRoamingNumber()
Gets the value of the roamingNumber choice.
|
boolean |
isForwardingDataChosen()
Tests whether the choice is forwardingData.
|
boolean |
isRoamingNumberChosen()
Tests whether the choice is roamingNumber.
|
MAPSendRoutingInformationRes.RoutingInfo |
setForwardingData(MAPForwardingData value)
Sets the value of the forwardingData choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
MAPSendRoutingInformationRes.RoutingInfo |
setRoamingNumber(AddressString value)
Sets the value of the roamingNumber choice.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPSendRoutingInformationRes.RoutingInfo()
public MAPSendRoutingInformationRes.RoutingInfo clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPSendRoutingInformationRes.RoutingInfo copyOf(MAPSendRoutingInformationRes.RoutingInfo from)
from
- the object from which to copypublic MAPSendRoutingInformationRes.RoutingInfo.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- ignored, as value cannot be optionalpublic MAPForwardingData getForwardingData()
public AddressString getRoamingNumber()
public boolean isForwardingDataChosen()
public boolean isRoamingNumberChosen()
public MAPSendRoutingInformationRes.RoutingInfo setForwardingData(MAPForwardingData 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
public MAPSendRoutingInformationRes.RoutingInfo setRoamingNumber(AddressString 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