Class MAPLCSLocationInfo
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPLCSLocationInfo
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPLCSLocationInfo extends AbstractFieldsObject
API for MAP-LCS-DataTypes.LCSLocationInfo. Generated from the following ASN.1 type definition.LCSLocationInfo ::= SEQUENCE { networkNode-Number ISDN-AddressString, -- Renamed from msc-Number between R99 and release 4. NetworkNode-number can be msc-number, sgsn-number or a dummy value of '0'. lmsi LMSI OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, ... gprsNodeIndicator NULL OPTIONAL, -- Added in release 4. gprsNodeIndicator is set only if the SGSN number is sent as the Network Node Number. additional-Number Additional-Number OPTIONAL, -- Added in release 4. supportedLCS-CapabilitySets SupportedLCS-CapabilitySets OPTIONAL, -- Added in release 6. additional-LCS-CapabilitySets SupportedLCS-CapabilitySets OPTIONAL, -- Added in release 6. mme-Name DiameterIdentity OPTIONAL, -- Added in release 9. aaa-Server-Name DiameterIdentity OPTIONAL -- Added in release 9. }
Added in R98.Used as field type by
MAPRoutingInfoForLCS_Res
.Used as field type by
MAPSubscriberLocationReport_Arg
.Used as field type by
MAPDeferredmt_lrData
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPLCSLocationInfo()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPLCSLocationInfo
clone()
Constructs a copy of this object and everything reachable from it.static MAPLCSLocationInfo
copyOf(MAPLCSLocationInfo 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.byte[]
getAaa_Server_Name()
Gets the value of the field aaa-Server-Name.MAPSupportedLCS_CapabilitySets
getAdditional_LCS_CapabilitySets()
Gets the value of the field additional-LCS-CapabilitySets.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.byte[]
getMme_Name()
Gets the value of the field mme-Name.AddressString
getNetworkNode_Number()
Gets the value of the field networkNode-Number.MAPSupportedLCS_CapabilitySets
getSupportedLCS_CapabilitySets()
Gets the value of the field supportedLCS-CapabilitySets.boolean
hasAaa_Server_Name()
Tests whether the field aaa-Server-Name has a value.boolean
hasAdditional_LCS_CapabilitySets()
Tests whether the field additional-LCS-CapabilitySets has a value.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
hasMme_Name()
Tests whether the field mme-Name has a value.boolean
hasNetworkNode_Number()
Tests whether the field networkNode-Number has a value.boolean
hasSupportedLCS_CapabilitySets()
Tests whether the field supportedLCS-CapabilitySets has a value.MAPLCSLocationInfo
setAaa_Server_Name(byte[] value)
Sets the value of the field aaa-Server-Name.MAPLCSLocationInfo
setAdditional_LCS_CapabilitySets(MAPSupportedLCS_CapabilitySets value)
Sets the value of the field additional-LCS-CapabilitySets.MAPLCSLocationInfo
setAdditional_Number(MAPAdditional_Number value)
Sets the value of the field additional-Number.MAPLCSLocationInfo
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.MAPLCSLocationInfo
setGprsNodeIndicatorPresent(boolean flag)
Sets the presence or absence of the optional field gprsNodeIndicator.MAPLCSLocationInfo
setLmsi(LMSIAddress value)
Sets the value of the field lmsi.MAPLCSLocationInfo
setMme_Name(byte[] value)
Sets the value of the field mme-Name.MAPLCSLocationInfo
setNetworkNode_Number(AddressString value)
Sets the value of the field networkNode-Number.void
setReadOnly()
Sets this and all its fields to be immutable.MAPLCSLocationInfo
setSupportedLCS_CapabilitySets(MAPSupportedLCS_CapabilitySets value)
Sets the value of the field supportedLCS-CapabilitySets.-
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 MAPLCSLocationInfo clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Specified by:
clone
in classAbstractDataObject
- Returns:
- copy of object
-
copyOf
public static MAPLCSLocationInfo copyOf(MAPLCSLocationInfo 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:
- MAPLCSLocationInfo
-
getAaa_Server_Name
public byte[] getAaa_Server_Name()
Gets the value of the field aaa-Server-Name.- Returns:
- value of field aaa-Server-Name, or null if not present
-
getAdditional_LCS_CapabilitySets
public MAPSupportedLCS_CapabilitySets getAdditional_LCS_CapabilitySets()
Gets the value of the field additional-LCS-CapabilitySets.- Returns:
- value of field additional-LCS-CapabilitySets, or null if not present
-
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.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- 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
-
getMme_Name
public byte[] getMme_Name()
Gets the value of the field mme-Name.- Returns:
- value of field mme-Name, or null if not present
-
getNetworkNode_Number
public AddressString getNetworkNode_Number()
Gets the value of the field networkNode-Number.- Returns:
- value of field networkNode-Number, or null if not present
-
getSupportedLCS_CapabilitySets
public MAPSupportedLCS_CapabilitySets getSupportedLCS_CapabilitySets()
Gets the value of the field supportedLCS-CapabilitySets.- Returns:
- value of field supportedLCS-CapabilitySets, or null if not present
-
hasAaa_Server_Name
public boolean hasAaa_Server_Name()
Tests whether the field aaa-Server-Name has a value.- Returns:
- whether the field aaa-Server-Name has a value
-
hasAdditional_LCS_CapabilitySets
public boolean hasAdditional_LCS_CapabilitySets()
Tests whether the field additional-LCS-CapabilitySets has a value.- Returns:
- whether the field additional-LCS-CapabilitySets has a value
-
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
-
hasMme_Name
public boolean hasMme_Name()
Tests whether the field mme-Name has a value.- Returns:
- whether the field mme-Name has a value
-
hasNetworkNode_Number
public boolean hasNetworkNode_Number()
Tests whether the field networkNode-Number has a value.- Returns:
- whether the field networkNode-Number has a value
-
hasSupportedLCS_CapabilitySets
public boolean hasSupportedLCS_CapabilitySets()
Tests whether the field supportedLCS-CapabilitySets has a value.- Returns:
- whether the field supportedLCS-CapabilitySets has a value
-
setAaa_Server_Name
public MAPLCSLocationInfo setAaa_Server_Name(byte[] value) throws IllegalStateException
Sets the value of the field aaa-Server-Name. 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
-
setAdditional_LCS_CapabilitySets
public MAPLCSLocationInfo setAdditional_LCS_CapabilitySets(MAPSupportedLCS_CapabilitySets value) throws IllegalStateException
Sets the value of the field additional-LCS-CapabilitySets. 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
-
setAdditional_Number
public MAPLCSLocationInfo 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 MAPLCSLocationInfo 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 MAPLCSLocationInfo 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 MAPLCSLocationInfo 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
-
setMme_Name
public MAPLCSLocationInfo setMme_Name(byte[] value) throws IllegalStateException
Sets the value of the field mme-Name. 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
-
setNetworkNode_Number
public MAPLCSLocationInfo setNetworkNode_Number(AddressString value) throws IllegalStateException
Sets the value of the field networkNode-Number.- 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:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
setSupportedLCS_CapabilitySets
public MAPLCSLocationInfo setSupportedLCS_CapabilitySets(MAPSupportedLCS_CapabilitySets value) throws IllegalStateException
Sets the value of the field supportedLCS-CapabilitySets. 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
-
-