public class MAPSM_RP_OA extends AbstractFieldsObject
SM-RP-OA ::=
CHOICE {
msisdn ISDN-AddressString, -- Renamed from msIsdn between ph1 and ph2.
serviceCentreAddressOA AddressString, -- Renamed from serviceCentreAddress between ph1 and ph2.
noSM-RP-OA NULL
}
Present in ph1.
Used as field type by MAPMO_ForwardSM_Arg.
Used as field type by MAPMO_ForwardSM_Arg_v2.
Used as field type by MAPMO_ForwardSM_Arg_v3.
Used as field type by MAPMT_ForwardSM_Arg.
Used as field type by MAPMT_ForwardSM_Arg_v2.
Used as field type by MAPMT_ForwardSM_Arg_v3.
Used as field type by MAPMT_ForwardSM_VGCS_Arg.
| Modifier and Type | Class and Description |
|---|---|
static class |
MAPSM_RP_OA.Choice
API for MAP-SM-DataTypes.SM-RP-OA.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
MAPSM_RP_OA() |
| Modifier and Type | Method and Description |
|---|---|
MAPSM_RP_OA |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPSM_RP_OA |
copyOf(MAPSM_RP_OA 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_OA.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.
|
AddressString |
getMsisdn()
Gets the value of the msisdn choice.
|
AddressString |
getServiceCentreAddressOA()
Gets the value of the serviceCentreAddressOA choice.
|
boolean |
isMsisdnChosen()
Tests whether the choice is msisdn.
|
boolean |
isNoSM_RP_OAChosen()
Tests whether the choice is noSM-RP-OA.
|
boolean |
isServiceCentreAddressOAChosen()
Tests whether the choice is serviceCentreAddressOA.
|
MAPSM_RP_OA |
setMsisdn(AddressString value)
Sets the value of the msisdn choice.
|
MAPSM_RP_OA |
setNoSM_RP_OA()
Sets the noSM-RP-OA choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
MAPSM_RP_OA |
setServiceCentreAddressOA(AddressString value)
Sets the value of the serviceCentreAddressOA choice.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic MAPSM_RP_OA clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static MAPSM_RP_OA copyOf(MAPSM_RP_OA from)
from - the object from which to copypublic MAPSM_RP_OA.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - ignored, as value cannot be optionalpublic AddressString getMsisdn()
public AddressString getServiceCentreAddressOA()
public boolean isMsisdnChosen()
public boolean isNoSM_RP_OAChosen()
public boolean isServiceCentreAddressOAChosen()
public MAPSM_RP_OA setMsisdn(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_OA setNoSM_RP_OA() throws IllegalStateException
IllegalStateException - if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly in interface DataObjectsetReadOnly in class AbstractDataObjectpublic MAPSM_RP_OA setServiceCentreAddressOA(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