public class MAPSendRoutingInfoForSMRes extends AbstractFieldsObject
SendRoutingInfoForSMRes ::= SEQUENCE { imsi IMSI, locationOrForwarding CHOICE { locationInfoWithLMSI SEQUENCE { locationInfo LocationInfo, lMsId LMSI OPTIONAL }, forwardingData ForwardingData }, -- Removed between ph1 and ph2. mwd-Set BOOLEAN OPTIONAL -- Removed between ph1 and ph2. }Present in ph1.
Used as result type by MAPOperations.sendRoutingInfoForSM_v1
.
Modifier and Type | Class and Description |
---|---|
static class |
MAPSendRoutingInfoForSMRes.LocationOrForwarding
API for MAP-SM-DataTypes-ph1.SendRoutingInfoForSMRes.locationOrForwarding.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPSendRoutingInfoForSMRes()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPSendRoutingInfoForSMRes |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPSendRoutingInfoForSMRes |
copyOf(MAPSendRoutingInfoForSMRes 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 field-name to field-value.
|
IMSIAddress |
getImsi()
Gets the value of the field imsi.
|
MAPSendRoutingInfoForSMRes.LocationOrForwarding |
getLocationOrForwarding()
Gets the value of the field locationOrForwarding.
|
boolean |
getMwd_Set()
Gets the value of the field mwd-Set.
|
boolean |
hasImsi()
Tests whether the field imsi has a value.
|
boolean |
hasLocationOrForwarding()
Tests whether the field locationOrForwarding has a value.
|
boolean |
hasMwd_Set()
Tests whether the field mwd-Set has a value.
|
MAPSendRoutingInfoForSMRes |
setImsi(IMSIAddress value)
Sets the value of the field imsi.
|
MAPSendRoutingInfoForSMRes |
setLocationOrForwarding(MAPSendRoutingInfoForSMRes.LocationOrForwarding value)
Sets the value of the field locationOrForwarding.
|
MAPSendRoutingInfoForSMRes |
setMwd_Set(boolean value)
Sets the value of the field mwd-Set and marks the field as present.
|
MAPSendRoutingInfoForSMRes |
setMwd_SetPresent(boolean flag)
Sets the presence or absence of the optional field mwd-Set.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPSendRoutingInfoForSMRes()
public MAPSendRoutingInfoForSMRes clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPSendRoutingInfoForSMRes copyOf(MAPSendRoutingInfoForSMRes from)
from
- the object from which to copypublic static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic IMSIAddress getImsi()
public MAPSendRoutingInfoForSMRes.LocationOrForwarding getLocationOrForwarding()
public boolean getMwd_Set()
public boolean hasImsi()
public boolean hasLocationOrForwarding()
public boolean hasMwd_Set()
public MAPSendRoutingInfoForSMRes setImsi(IMSIAddress value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPSendRoutingInfoForSMRes setLocationOrForwarding(MAPSendRoutingInfoForSMRes.LocationOrForwarding value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPSendRoutingInfoForSMRes setMwd_Set(boolean value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPSendRoutingInfoForSMRes setMwd_SetPresent(boolean flag) throws IllegalStateException
flag
- either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException
- if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject