public class MAPLocationInformationGPRS extends AbstractFieldsObject
LocationInformationGPRS ::= SEQUENCE { cellGlobalIdOrServiceAreaIdOrLAI CellGlobalIdOrServiceAreaIdOrLAI OPTIONAL, routeingAreaIdentity RAIdentity OPTIONAL, geographicalInformation GeographicalInformation OPTIONAL, sgsn-Number ISDN-AddressString OPTIONAL, selectedLSAIdentity LSAIdentity OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, ... sai-Present NULL OPTIONAL, geodeticInformation GeodeticInformation OPTIONAL, currentLocationRetrieved NULL OPTIONAL, ageOfLocationInformation AgeOfLocationInformation OPTIONAL, userCSGInformation UserCSGInformation OPTIONAL -- Added in release 9. }Added in release 5. sai-Present indicates that the cellGlobalIdOrServiceAreaIdOrLAI parameter contains a Service Area Identity. currentLocationRetrieved shall be present if the location information was retrieved after successful paging. UserCSGInformation contains the CSG ID, Access mode, and the CSG Membership Indication in the case the Access mode is Hybrid Mode.
Used as field type by MAPSubscriberInfo
.
Used as field type by MAPNoteMM_EventArg
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPLocationInformationGPRS()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPLocationInformationGPRS |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPLocationInformationGPRS |
copyOf(MAPLocationInformationGPRS 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.
|
int |
getAgeOfLocationInformation()
Gets the value of the field ageOfLocationInformation.
|
MAPCellGlobalIdOrServiceAreaIdOrLAI |
getCellGlobalIdOrServiceAreaIdOrLAI()
Gets the value of the field cellGlobalIdOrServiceAreaIdOrLAI.
|
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.
|
byte[] |
getGeodeticInformation()
Gets the value of the field geodeticInformation.
|
byte[] |
getGeographicalInformation()
Gets the value of the field geographicalInformation.
|
byte[] |
getRouteingAreaIdentity()
Gets the value of the field routeingAreaIdentity.
|
LocalisedServiceAreaId |
getSelectedLSAIdentity()
Gets the value of the field selectedLSAIdentity.
|
AddressString |
getSgsn_Number()
Gets the value of the field sgsn-Number.
|
MAPUserCSGInformation |
getUserCSGInformation()
Gets the value of the field userCSGInformation.
|
boolean |
hasAgeOfLocationInformation()
Tests whether the field ageOfLocationInformation has a value.
|
boolean |
hasCellGlobalIdOrServiceAreaIdOrLAI()
Tests whether the field cellGlobalIdOrServiceAreaIdOrLAI has a value.
|
boolean |
hasCurrentLocationRetrieved()
Tests whether the field currentLocationRetrieved is present.
|
boolean |
hasExtensionContainer()
Tests whether the field extensionContainer has a value.
|
boolean |
hasGeodeticInformation()
Tests whether the field geodeticInformation has a value.
|
boolean |
hasGeographicalInformation()
Tests whether the field geographicalInformation has a value.
|
boolean |
hasRouteingAreaIdentity()
Tests whether the field routeingAreaIdentity has a value.
|
boolean |
hasSai_Present()
Tests whether the field sai-Present is present.
|
boolean |
hasSelectedLSAIdentity()
Tests whether the field selectedLSAIdentity has a value.
|
boolean |
hasSgsn_Number()
Tests whether the field sgsn-Number has a value.
|
boolean |
hasUserCSGInformation()
Tests whether the field userCSGInformation has a value.
|
MAPLocationInformationGPRS |
setAgeOfLocationInformation(int value)
Sets the value of the field ageOfLocationInformation and marks the field as present.
|
MAPLocationInformationGPRS |
setAgeOfLocationInformationPresent(boolean flag)
Sets the presence or absence of the optional field ageOfLocationInformation.
|
MAPLocationInformationGPRS |
setCellGlobalIdOrServiceAreaIdOrLAI(MAPCellGlobalIdOrServiceAreaIdOrLAI value)
Sets the value of the field cellGlobalIdOrServiceAreaIdOrLAI.
|
MAPLocationInformationGPRS |
setCurrentLocationRetrievedPresent(boolean flag)
Sets the presence or absence of the optional field currentLocationRetrieved.
|
MAPLocationInformationGPRS |
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.
|
MAPLocationInformationGPRS |
setGeodeticInformation(byte[] value)
Sets the value of the field geodeticInformation.
|
MAPLocationInformationGPRS |
setGeographicalInformation(byte[] value)
Sets the value of the field geographicalInformation.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
MAPLocationInformationGPRS |
setRouteingAreaIdentity(byte[] value)
Sets the value of the field routeingAreaIdentity.
|
MAPLocationInformationGPRS |
setSai_PresentPresent(boolean flag)
Sets the presence or absence of the optional field sai-Present.
|
MAPLocationInformationGPRS |
setSelectedLSAIdentity(LocalisedServiceAreaId value)
Sets the value of the field selectedLSAIdentity.
|
MAPLocationInformationGPRS |
setSgsn_Number(AddressString value)
Sets the value of the field sgsn-Number.
|
MAPLocationInformationGPRS |
setUserCSGInformation(MAPUserCSGInformation value)
Sets the value of the field userCSGInformation.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPLocationInformationGPRS()
public MAPLocationInformationGPRS clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPLocationInformationGPRS copyOf(MAPLocationInformationGPRS from)
from
- the object from which to copypublic int getAgeOfLocationInformation()
public MAPCellGlobalIdOrServiceAreaIdOrLAI getCellGlobalIdOrServiceAreaIdOrLAI()
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 byte[] getGeodeticInformation()
public byte[] getGeographicalInformation()
public byte[] getRouteingAreaIdentity()
public LocalisedServiceAreaId getSelectedLSAIdentity()
public AddressString getSgsn_Number()
public MAPUserCSGInformation getUserCSGInformation()
public boolean hasAgeOfLocationInformation()
public boolean hasCellGlobalIdOrServiceAreaIdOrLAI()
public boolean hasCurrentLocationRetrieved()
public boolean hasExtensionContainer()
public boolean hasGeodeticInformation()
public boolean hasGeographicalInformation()
public boolean hasRouteingAreaIdentity()
public boolean hasSai_Present()
public boolean hasSelectedLSAIdentity()
public boolean hasSgsn_Number()
public boolean hasUserCSGInformation()
public MAPLocationInformationGPRS setAgeOfLocationInformation(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPLocationInformationGPRS setAgeOfLocationInformationPresent(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 MAPLocationInformationGPRS setCellGlobalIdOrServiceAreaIdOrLAI(MAPCellGlobalIdOrServiceAreaIdOrLAI value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPLocationInformationGPRS setCurrentLocationRetrievedPresent(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 MAPLocationInformationGPRS setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPLocationInformationGPRS setGeodeticInformation(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPLocationInformationGPRS setGeographicalInformation(byte[] 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
public MAPLocationInformationGPRS setRouteingAreaIdentity(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPLocationInformationGPRS setSai_PresentPresent(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 MAPLocationInformationGPRS setSelectedLSAIdentity(LocalisedServiceAreaId value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPLocationInformationGPRS setSgsn_Number(AddressString value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPLocationInformationGPRS setUserCSGInformation(MAPUserCSGInformation value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only