public class MAPLocationInfoWithLMSI extends AbstractFieldsObject
LocationInfoWithLMSI ::= SEQUENCE { networkNode-Number ISDN-AddressString, -- Unfolded locationInfo CHOICE between ph2 and R96. Renamed from msc-Number between R96 and R97. lmsi LMSI OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, -- Added in R96. ... gprsNodeIndicator NULL OPTIONAL, -- Added in R97. additional-Number Additional-Number OPTIONAL -- Added in R97. }Added in ph2. NetworkNode-number can be either msc-number or sgsn-number or IP-SM-GW number or SMS Router number. gprsNodeIndicator is set only if the SGSN number is sent as the Network Node Number. additional-number can be either msc-number or sgsn-number. If received networkNode-number is msc-number then the additional number is sgsn-number. If received networkNode-number is sgsn-number then the additional number is msc-number.
Used as field type by MAPRoutingInfoForSM_Res
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPLocationInfoWithLMSI()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPLocationInfoWithLMSI |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPLocationInfoWithLMSI |
copyOf(MAPLocationInfoWithLMSI 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.
|
MAPAdditional_Number |
getAdditional_Number()
Gets the value of the field additional-Number.
|
MAPExtensionContainer |
getExtensionContainer()
Gets the value of the field extensionContainer.
|
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.
|
LMSIAddress |
getLmsi()
Gets the value of the field lmsi.
|
AddressString |
getNetworkNode_Number()
Gets the value of the field networkNode-Number.
|
boolean |
hasAdditional_Number()
Tests whether the field additional-Number has a value.
|
boolean |
hasExtensionContainer()
Tests whether the field extensionContainer has a value.
|
boolean |
hasGprsNodeIndicator()
Tests whether the field gprsNodeIndicator is present.
|
boolean |
hasLmsi()
Tests whether the field lmsi has a value.
|
boolean |
hasNetworkNode_Number()
Tests whether the field networkNode-Number has a value.
|
MAPLocationInfoWithLMSI |
setAdditional_Number(MAPAdditional_Number value)
Sets the value of the field additional-Number.
|
MAPLocationInfoWithLMSI |
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.
|
MAPLocationInfoWithLMSI |
setGprsNodeIndicatorPresent(boolean flag)
Sets the presence or absence of the optional field gprsNodeIndicator.
|
MAPLocationInfoWithLMSI |
setLmsi(LMSIAddress value)
Sets the value of the field lmsi.
|
MAPLocationInfoWithLMSI |
setNetworkNode_Number(AddressString value)
Sets the value of the field networkNode-Number.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPLocationInfoWithLMSI()
public MAPLocationInfoWithLMSI clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPLocationInfoWithLMSI copyOf(MAPLocationInfoWithLMSI from)
from
- the object from which to copypublic MAPAdditional_Number getAdditional_Number()
public MAPExtensionContainer getExtensionContainer()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic LMSIAddress getLmsi()
public AddressString getNetworkNode_Number()
public boolean hasAdditional_Number()
public boolean hasExtensionContainer()
public boolean hasGprsNodeIndicator()
public boolean hasLmsi()
public boolean hasNetworkNode_Number()
public MAPLocationInfoWithLMSI setAdditional_Number(MAPAdditional_Number value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPLocationInfoWithLMSI setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPLocationInfoWithLMSI setGprsNodeIndicatorPresent(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 MAPLocationInfoWithLMSI setLmsi(LMSIAddress value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPLocationInfoWithLMSI setNetworkNode_Number(AddressString value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject