public class MAPSM_RP_DA_v1 extends AbstractFieldsObject
SM-RP-DA-v1 ::= CHOICE { imsi IMSI, lMsId LMSI, -- Renamed to lmsi between ph1 and ph2. roamingNumber ISDN-AddressString, -- Removed between ph1 and ph2. serviceCentreAddress AddressString -- Renamed to serviceCentreAddressDA between ph1 and ph2. } MAP-SM-DataTypes-ph1 { SM-RP-DA-v1 { @extendible lMsId { @rename lmsi } serviceCentreAddress { @rename serviceCentreAddressDA } } }Present in ph1. Evolved to
MAPSM_RP_DA
in ph2.
Used as field type by MAPMO_ForwardSM_Arg
.
Used as field type by MAPMT_ForwardSM_Arg
.
Modifier and Type | Class and Description |
---|---|
static class |
MAPSM_RP_DA_v1.Choice
API for MAP-SM-DataTypes-ph1.SM-RP-DA-v1.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPSM_RP_DA_v1() |
Modifier and Type | Method and Description |
---|---|
MAPSM_RP_DA_v1 |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPSM_RP_DA_v1 |
copyOf(MAPSM_RP_DA_v1 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.
|
MAPSM_RP_DA_v1.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.
|
IMSIAddress |
getImsi()
Gets the value of the imsi choice.
|
LMSIAddress |
getLmsi()
Gets the value of the lMsId choice.
|
AddressString |
getRoamingNumber()
Gets the value of the roamingNumber choice.
|
AddressString |
getServiceCentreAddressDA()
Gets the value of the serviceCentreAddress choice.
|
boolean |
isImsiChosen()
Tests whether the choice is imsi.
|
boolean |
isLmsiChosen()
Tests whether the choice is lMsId.
|
boolean |
isRoamingNumberChosen()
Tests whether the choice is roamingNumber.
|
boolean |
isServiceCentreAddressDAChosen()
Tests whether the choice is serviceCentreAddress.
|
protected void |
setChoice(MAPSM_RP_DA_v1.Choice arg)
Sets the discriminant of the current choice.
|
MAPSM_RP_DA_v1 |
setImsi(IMSIAddress value)
Sets the value of the imsi choice.
|
MAPSM_RP_DA_v1 |
setLmsi(LMSIAddress value)
Sets the value of the lMsId choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
MAPSM_RP_DA_v1 |
setRoamingNumber(AddressString value)
Sets the value of the roamingNumber choice.
|
MAPSM_RP_DA_v1 |
setServiceCentreAddressDA(AddressString value)
Sets the value of the serviceCentreAddress choice.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPSM_RP_DA_v1 clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPSM_RP_DA_v1 copyOf(MAPSM_RP_DA_v1 from)
from
- the object from which to copypublic MAPSM_RP_DA_v1.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- ignored, as value cannot be optionalpublic IMSIAddress getImsi()
public LMSIAddress getLmsi()
public AddressString getRoamingNumber()
public AddressString getServiceCentreAddressDA()
public boolean isImsiChosen()
public boolean isLmsiChosen()
public boolean isRoamingNumberChosen()
public boolean isServiceCentreAddressDAChosen()
protected void setChoice(MAPSM_RP_DA_v1.Choice arg)
arg
- the new discriminantpublic MAPSM_RP_DA_v1 setImsi(IMSIAddress 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 MAPSM_RP_DA_v1 setLmsi(LMSIAddress 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 MAPSM_RP_DA_v1 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 nullpublic MAPSM_RP_DA_v1 setServiceCentreAddressDA(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