Class MAPSubscriberLocationReport_Res
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPSubscriberLocationReport_Res
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPSubscriberLocationReport_Res extends AbstractFieldsObject
API for MAP-LCS-DataTypes.SubscriberLocationReport-Res. Generated from the following ASN.1 type definition.SubscriberLocationReport-Res ::= SEQUENCE { extensionContainer ExtensionContainer OPTIONAL, ... na-ESRK ISDN-AddressString OPTIONAL, -- Added in R99. na-ESRD ISDN-AddressString OPTIONAL, -- Added in release 6. h-gmlc-Address GSN-Address OPTIONAL, -- Added in release 7. mo-lrShortCircuitIndicator NULL OPTIONAL, -- Added in release 7. reportingPLMNList ReportingPLMNList OPTIONAL, -- Added in release 7. lcs-ReferenceNumber LCS-ReferenceNumber OPTIONAL -- Added in release 7. }
Added in R98. na-ESRK and na-ESRD are mutually exclusive. Exception handling: receipt of both na-ESRK and na-ESRD shall be treated the same as a return error.Used as result type by
MAPOperations.subscriberLocationReport
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPSubscriberLocationReport_Res()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPSubscriberLocationReport_Res
clone()
Constructs a copy of this object and everything reachable from it.static MAPSubscriberLocationReport_Res
copyOf(MAPSubscriberLocationReport_Res 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.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.GSNAddress
getH_gmlc_Address()
Gets the value of the field h-gmlc-Address.byte[]
getLcs_ReferenceNumber()
Gets the value of the field lcs-ReferenceNumber.AddressString
getNa_ESRD()
Gets the value of the field na-ESRD.AddressString
getNa_ESRK()
Gets the value of the field na-ESRK.MAPReportingPLMNList
getReportingPLMNList()
Gets the value of the field reportingPLMNList.boolean
hasExtensionContainer()
Tests whether the field extensionContainer has a value.boolean
hasH_gmlc_Address()
Tests whether the field h-gmlc-Address has a value.boolean
hasLcs_ReferenceNumber()
Tests whether the field lcs-ReferenceNumber has a value.boolean
hasMo_lrShortCircuitIndicator()
Tests whether the field mo-lrShortCircuitIndicator is present.boolean
hasNa_ESRD()
Tests whether the field na-ESRD has a value.boolean
hasNa_ESRK()
Tests whether the field na-ESRK has a value.boolean
hasReportingPLMNList()
Tests whether the field reportingPLMNList has a value.MAPSubscriberLocationReport_Res
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.MAPSubscriberLocationReport_Res
setH_gmlc_Address(GSNAddress value)
Sets the value of the field h-gmlc-Address.MAPSubscriberLocationReport_Res
setLcs_ReferenceNumber(byte[] value)
Sets the value of the field lcs-ReferenceNumber.MAPSubscriberLocationReport_Res
setMo_lrShortCircuitIndicatorPresent(boolean flag)
Sets the presence or absence of the optional field mo-lrShortCircuitIndicator.MAPSubscriberLocationReport_Res
setNa_ESRD(AddressString value)
Sets the value of the field na-ESRD.MAPSubscriberLocationReport_Res
setNa_ESRK(AddressString value)
Sets the value of the field na-ESRK.void
setReadOnly()
Sets this and all its fields to be immutable.MAPSubscriberLocationReport_Res
setReportingPLMNList(MAPReportingPLMNList value)
Sets the value of the field reportingPLMNList.-
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 MAPSubscriberLocationReport_Res 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 MAPSubscriberLocationReport_Res copyOf(MAPSubscriberLocationReport_Res 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:
- MAPSubscriberLocationReport_Res
-
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
-
getH_gmlc_Address
public GSNAddress getH_gmlc_Address()
Gets the value of the field h-gmlc-Address.- Returns:
- value of field h-gmlc-Address, or null if not present
-
getLcs_ReferenceNumber
public byte[] getLcs_ReferenceNumber()
Gets the value of the field lcs-ReferenceNumber.- Returns:
- value of field lcs-ReferenceNumber, or null if not present
-
getNa_ESRD
public AddressString getNa_ESRD()
Gets the value of the field na-ESRD.- Returns:
- value of field na-ESRD, or null if not present
-
getNa_ESRK
public AddressString getNa_ESRK()
Gets the value of the field na-ESRK.- Returns:
- value of field na-ESRK, or null if not present
-
getReportingPLMNList
public MAPReportingPLMNList getReportingPLMNList()
Gets the value of the field reportingPLMNList.- Returns:
- value of field reportingPLMNList, or null if not present
-
hasExtensionContainer
public boolean hasExtensionContainer()
Tests whether the field extensionContainer has a value.- Returns:
- whether the field extensionContainer has a value
-
hasH_gmlc_Address
public boolean hasH_gmlc_Address()
Tests whether the field h-gmlc-Address has a value.- Returns:
- whether the field h-gmlc-Address has a value
-
hasLcs_ReferenceNumber
public boolean hasLcs_ReferenceNumber()
Tests whether the field lcs-ReferenceNumber has a value.- Returns:
- whether the field lcs-ReferenceNumber has a value
-
hasMo_lrShortCircuitIndicator
public boolean hasMo_lrShortCircuitIndicator()
Tests whether the field mo-lrShortCircuitIndicator is present.- Returns:
- whether the field mo-lrShortCircuitIndicator is present
-
hasNa_ESRD
public boolean hasNa_ESRD()
Tests whether the field na-ESRD has a value.- Returns:
- whether the field na-ESRD has a value
-
hasNa_ESRK
public boolean hasNa_ESRK()
Tests whether the field na-ESRK has a value.- Returns:
- whether the field na-ESRK has a value
-
hasReportingPLMNList
public boolean hasReportingPLMNList()
Tests whether the field reportingPLMNList has a value.- Returns:
- whether the field reportingPLMNList has a value
-
setExtensionContainer
public MAPSubscriberLocationReport_Res 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
-
setH_gmlc_Address
public MAPSubscriberLocationReport_Res setH_gmlc_Address(GSNAddress value) throws IllegalStateException
Sets the value of the field h-gmlc-Address. 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
-
setLcs_ReferenceNumber
public MAPSubscriberLocationReport_Res setLcs_ReferenceNumber(byte[] value) throws IllegalStateException
Sets the value of the field lcs-ReferenceNumber. 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
-
setMo_lrShortCircuitIndicatorPresent
public MAPSubscriberLocationReport_Res setMo_lrShortCircuitIndicatorPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field mo-lrShortCircuitIndicator.- 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
-
setNa_ESRD
public MAPSubscriberLocationReport_Res setNa_ESRD(AddressString value) throws IllegalStateException
Sets the value of the field na-ESRD. 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
-
setNa_ESRK
public MAPSubscriberLocationReport_Res setNa_ESRK(AddressString value) throws IllegalStateException
Sets the value of the field na-ESRK. 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
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
setReportingPLMNList
public MAPSubscriberLocationReport_Res setReportingPLMNList(MAPReportingPLMNList value) throws IllegalStateException
Sets the value of the field reportingPLMNList. 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
-
-