Class MAPLocationInfoWithLMSI_v3
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPLocationInfoWithLMSI
-
- MAPLocationInfoWithLMSI_v3
-
- All Implemented Interfaces:
DataObject,Serializable
public class MAPLocationInfoWithLMSI_v3 extends MAPLocationInfoWithLMSI
API for MAP-SM-DataTypes.LocationInfoWithLMSI-v3. Generated from the following ASN.1 type definition and the adaptations below.LocationInfoWithLMSI-v3 ::= SEQUENCE { locationInfo LocationInfo-v3, -- Synthetic type used to maintain API compatibility with ph1 messages, contains msc-Number only. lmsi LMSI OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, -- Added in R96. ... gprsNodeIndicator NULL OPTIONAL, -- Added in R97. additional-Number Additional-Number OPTIONAL -- Added in R97. } MAP-SM-DataTypes { LocationInfoWithLMSI-v3 { @parentASN1Type MAP-SM-DataTypes-ph1.LocationInfoWithLMSI } }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.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPLocationInfoWithLMSI_v3()Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPLocationInfoWithLMSI_v3clone()Constructs a copy of this object and everything reachable from it.static MAPLocationInfoWithLMSI_v3copyOf(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_NumbergetAdditional_Number()Gets the value of the field additional-Number.MAPExtensionContainergetExtensionContainer()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.LMSIAddressgetLmsi()Gets the value of the field lmsi.booleanhasAdditional_Number()Tests whether the field additional-Number has a value.booleanhasExtensionContainer()Tests whether the field extensionContainer has a value.booleanhasGprsNodeIndicator()Tests whether the field gprsNodeIndicator is present.booleanhasLmsi()Tests whether the field lmsi has a value.MAPLocationInfoWithLMSI_v3setAdditional_Number(MAPAdditional_Number value)Sets the value of the field additional-Number.MAPLocationInfoWithLMSI_v3setExtensionContainer(MAPExtensionContainer value)Sets the value of the field extensionContainer.MAPLocationInfoWithLMSI_v3setGprsNodeIndicatorPresent(boolean flag)Sets the presence or absence of the optional field gprsNodeIndicator.MAPLocationInfoWithLMSI_v3setLmsi(LMSIAddress value)Sets the value of the field lmsi.MAPLocationInfoWithLMSI_v3setLocationInfo(MAPLocationInfo value)Sets the value of the field locationInfo.voidsetReadOnly()Sets this and all its fields to be immutable.-
Methods inherited from class com.opencloud.slee.resources.cgin.map.MAPLocationInfoWithLMSI
getLMsId, getLocationInfo, hasLMsId, hasLocationInfo, setLMsId
-
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 MAPLocationInfoWithLMSI_v3 clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clonein interfaceDataObject- Overrides:
clonein classMAPLocationInfoWithLMSI- Returns:
- copy of object
-
copyOf
public static MAPLocationInfoWithLMSI_v3 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.- Parameters:
from- the object from which to copy- Returns:
- MAPLocationInfoWithLMSI_v3
-
getAdditional_Number
public MAPAdditional_Number getAdditional_Number()
Gets the value of the field additional-Number.- Returns:
- value of field additional-Number, or null if not present
-
getExtensionContainer
public MAPExtensionContainer getExtensionContainer()
Gets the value of the field extensionContainer.- Returns:
- value of field extensionContainer, or null if not present
-
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 field-name to field-value. For a field of primitive type, the field-value is boxed. For an absent optional field, the field-value is AbstractFieldsObject.FIELD_ABSENT. For an unitialised mandatory field, the field-value is AbstractFieldsObject.FIELD_UNINITIALISED.- Overrides:
getFieldsMapin classMAPLocationInfoWithLMSI- Parameters:
withAbsents- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getLmsi
public LMSIAddress getLmsi()
Gets the value of the field lmsi.- Returns:
- value of field lmsi, or null if not present
-
hasAdditional_Number
public boolean hasAdditional_Number()
Tests whether the field additional-Number has a value.- Returns:
- whether the field additional-Number has a value
-
hasExtensionContainer
public boolean hasExtensionContainer()
Tests whether the field extensionContainer has a value.- Returns:
- whether the field extensionContainer has a value
-
hasGprsNodeIndicator
public boolean hasGprsNodeIndicator()
Tests whether the field gprsNodeIndicator is present.- Returns:
- whether the field gprsNodeIndicator is present
-
hasLmsi
public boolean hasLmsi()
Tests whether the field lmsi has a value.- Returns:
- whether the field lmsi has a value
-
setAdditional_Number
public MAPLocationInfoWithLMSI_v3 setAdditional_Number(MAPAdditional_Number value) throws IllegalStateException
Sets the value of the field additional-Number. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setExtensionContainer
public MAPLocationInfoWithLMSI_v3 setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
Sets the value of the field extensionContainer. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setGprsNodeIndicatorPresent
public MAPLocationInfoWithLMSI_v3 setGprsNodeIndicatorPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field gprsNodeIndicator.- Parameters:
flag- either true if the field should be marked as present or false if the field should be marked as absent- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setLmsi
public MAPLocationInfoWithLMSI_v3 setLmsi(LMSIAddress value) throws IllegalStateException
Sets the value of the field lmsi. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setLocationInfo
public MAPLocationInfoWithLMSI_v3 setLocationInfo(MAPLocationInfo value) throws IllegalStateException
Sets the value of the field locationInfo.- Overrides:
setLocationInfoin classMAPLocationInfoWithLMSI- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnlyin interfaceDataObject- Overrides:
setReadOnlyin classMAPLocationInfoWithLMSI
-
-