Class MAPSM_RP_DA
-
- All Implemented Interfaces:
DataObject,Serializable
public class MAPSM_RP_DA extends MAPSM_RP_DA_v1
API for MAP-SM-DataTypes.SM-RP-DA. Generated from the following ASN.1 type definition and the adaptations below.SM-RP-DA ::= CHOICE { imsi IMSI, lmsi LMSI, -- Renamed from lMsId between ph1 and ph2. serviceCentreAddressDA AddressString, -- Renamed from serviceCentreAddress between ph1 and ph2. noSM-RP-DA NULL } MAP-SM-DataTypes { SM-RP-DA { @parentASN1Type MAP-SM-DataTypes-ph1.SM-RP-DA-v1 } }Added in ph2 as an extension ofMAPSM_RP_DA_v1. Note that the parent's field roamingNumber is for use only in -v1 contexts.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_v2.Used as field type by
MAPMT_ForwardSM_Arg_v3.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMAPSM_RP_DA.ChoiceAPI for MAP-SM-DataTypes.SM-RP-DA.Choice.
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPSM_RP_DA()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPSM_RP_DAclone()Constructs a copy of this object and everything reachable from it.static MAPSM_RP_DAcopyOf(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.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.booleanisNoSM_RP_DAChosen()Tests whether the choice is noSM-RP-DA.MAPSM_RP_DAsetImsi(IMSIAddress value)Sets the value of the imsi choice.MAPSM_RP_DAsetLmsi(LMSIAddress value)Sets the value of the lmsi choice.MAPSM_RP_DAsetNoSM_RP_DA()Sets the noSM-RP-DA choice.MAPSM_RP_DAsetServiceCentreAddressDA(AddressString value)Sets the value of the serviceCentreAddressDA choice.-
Methods inherited from class com.opencloud.slee.resources.cgin.map.MAPSM_RP_DA_v1
getChoice, getImsi, getLmsi, getRoamingNumber, getServiceCentreAddressDA, isImsiChosen, isLmsiChosen, isRoamingNumberChosen, isServiceCentreAddressDAChosen, setChoice, setReadOnly, setRoamingNumber
-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Method Detail
-
clone
public MAPSM_RP_DA clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clonein interfaceDataObject- Overrides:
clonein classMAPSM_RP_DA_v1- Returns:
- copy of object
-
copyOf
public static MAPSM_RP_DA 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.- Parameters:
from- the object from which to copy- Returns:
- MAPSM_RP_DA
-
getFieldAccessors
public static FieldAccessor[] getFieldAccessors()
Gets a new array of the accessors for fields of this type.- Returns:
- FieldAccessor[]
-
getFieldsMap
public Map<String,Object> getFieldsMap(boolean withAbsents)
Gets a Map from :discriminant-name to associated-value. For a value of primitive type, the value is boxed. If choice is not set, returns a map from : to AbstractFieldsObject.FIELD_UNINITIALISED.- Overrides:
getFieldsMapin classMAPSM_RP_DA_v1- Parameters:
withAbsents- ignored, as value cannot be optional- Returns:
- Map from :discriminant-name to associated-value
-
isNoSM_RP_DAChosen
public boolean isNoSM_RP_DAChosen()
Tests whether the choice is noSM-RP-DA.- Returns:
- true if chosen, false if not
-
setImsi
public MAPSM_RP_DA setImsi(IMSIAddress value) throws IllegalStateException, NullPointerException
Sets the value of the imsi choice.- Overrides:
setImsiin classMAPSM_RP_DA_v1- Parameters:
value- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-onlyNullPointerException- if the given value is null
-
setLmsi
public MAPSM_RP_DA setLmsi(LMSIAddress value) throws IllegalStateException, NullPointerException
Sets the value of the lmsi choice.- Overrides:
setLmsiin classMAPSM_RP_DA_v1- Parameters:
value- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-onlyNullPointerException- if the given value is null
-
setNoSM_RP_DA
public MAPSM_RP_DA setNoSM_RP_DA() throws IllegalStateException
Sets the noSM-RP-DA choice.- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setServiceCentreAddressDA
public MAPSM_RP_DA setServiceCentreAddressDA(AddressString value) throws IllegalStateException, NullPointerException
Sets the value of the serviceCentreAddressDA choice.- Overrides:
setServiceCentreAddressDAin classMAPSM_RP_DA_v1- Parameters:
value- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-onlyNullPointerException- if the given value is null
-
-