Class MAPRequestedInfo
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPRequestedInfo extends AbstractFieldsObject
API for MAP-MS-DataTypes.RequestedInfo. Generated from the following ASN.1 type definition.RequestedInfo ::= SEQUENCE { locationInformation NULL OPTIONAL, subscriberState NULL OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, ... currentLocation NULL OPTIONAL, -- Added in R99. requestedDomain DomainType OPTIONAL, -- Added in release 5. imei NULL OPTIONAL, -- Added in release 5. ms-classmark NULL OPTIONAL, -- Added in release 5. mnpRequestedInfo NULL OPTIONAL, -- Added in release 5. t-adsData NULL OPTIONAL, -- Added in release 9. requestedNodes RequestedNodes OPTIONAL -- Added in release 9. }
Added in R96. currentLocation shall be absent if locationInformation is absent. t-adsData shall be absent in messages sent to the VLR. requestedNodes shall be absent if requestedDomain is 'cs-Domain'.Used as field type by
MAPProvideSubscriberInfoArg
.Used as field type by
MAPAnyTimeInterrogationArg
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPRequestedInfo()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPRequestedInfo
clone()
Constructs a copy of this object and everything reachable from it.static MAPRequestedInfo
copyOf(MAPRequestedInfo 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.MAPDomainType
getRequestedDomain()
Gets the value of the field requestedDomain.MAPRequestedNodes
getRequestedNodes()
Gets the value of the field requestedNodes.boolean
hasCurrentLocation()
Tests whether the field currentLocation is present.boolean
hasExtensionContainer()
Tests whether the field extensionContainer has a value.boolean
hasImei()
Tests whether the field imei is present.boolean
hasLocationInformation()
Tests whether the field locationInformation is present.boolean
hasMnpRequestedInfo()
Tests whether the field mnpRequestedInfo is present.boolean
hasMs_classmark()
Tests whether the field ms-classmark is present.boolean
hasRequestedDomain()
Tests whether the field requestedDomain has a value.boolean
hasRequestedNodes()
Tests whether the field requestedNodes has a value.boolean
hasSubscriberState()
Tests whether the field subscriberState is present.boolean
hasT_adsData()
Tests whether the field t-adsData is present.MAPRequestedInfo
setCurrentLocationPresent(boolean flag)
Sets the presence or absence of the optional field currentLocation.MAPRequestedInfo
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.MAPRequestedInfo
setImeiPresent(boolean flag)
Sets the presence or absence of the optional field imei.MAPRequestedInfo
setLocationInformationPresent(boolean flag)
Sets the presence or absence of the optional field locationInformation.MAPRequestedInfo
setMnpRequestedInfoPresent(boolean flag)
Sets the presence or absence of the optional field mnpRequestedInfo.MAPRequestedInfo
setMs_classmarkPresent(boolean flag)
Sets the presence or absence of the optional field ms-classmark.void
setReadOnly()
Sets this and all its fields to be immutable.MAPRequestedInfo
setRequestedDomain(MAPDomainType value)
Sets the value of the field requestedDomain.MAPRequestedInfo
setRequestedNodes(MAPRequestedNodes value)
Sets the value of the field requestedNodes.MAPRequestedInfo
setSubscriberStatePresent(boolean flag)
Sets the presence or absence of the optional field subscriberState.MAPRequestedInfo
setT_adsDataPresent(boolean flag)
Sets the presence or absence of the optional field t-adsData.-
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 MAPRequestedInfo 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 MAPRequestedInfo copyOf(MAPRequestedInfo 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:
- MAPRequestedInfo
-
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
-
getRequestedDomain
public MAPDomainType getRequestedDomain()
Gets the value of the field requestedDomain.- Returns:
- value of field requestedDomain, or null if not present
-
getRequestedNodes
public MAPRequestedNodes getRequestedNodes()
Gets the value of the field requestedNodes.- Returns:
- value of field requestedNodes, or null if not present
-
hasCurrentLocation
public boolean hasCurrentLocation()
Tests whether the field currentLocation is present.- Returns:
- whether the field currentLocation is present
-
hasExtensionContainer
public boolean hasExtensionContainer()
Tests whether the field extensionContainer has a value.- Returns:
- whether the field extensionContainer has a value
-
hasImei
public boolean hasImei()
Tests whether the field imei is present.- Returns:
- whether the field imei is present
-
hasLocationInformation
public boolean hasLocationInformation()
Tests whether the field locationInformation is present.- Returns:
- whether the field locationInformation is present
-
hasMnpRequestedInfo
public boolean hasMnpRequestedInfo()
Tests whether the field mnpRequestedInfo is present.- Returns:
- whether the field mnpRequestedInfo is present
-
hasMs_classmark
public boolean hasMs_classmark()
Tests whether the field ms-classmark is present.- Returns:
- whether the field ms-classmark is present
-
hasRequestedDomain
public boolean hasRequestedDomain()
Tests whether the field requestedDomain has a value.- Returns:
- whether the field requestedDomain has a value
-
hasRequestedNodes
public boolean hasRequestedNodes()
Tests whether the field requestedNodes has a value.- Returns:
- whether the field requestedNodes has a value
-
hasSubscriberState
public boolean hasSubscriberState()
Tests whether the field subscriberState is present.- Returns:
- whether the field subscriberState is present
-
hasT_adsData
public boolean hasT_adsData()
Tests whether the field t-adsData is present.- Returns:
- whether the field t-adsData is present
-
setCurrentLocationPresent
public MAPRequestedInfo setCurrentLocationPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field currentLocation.- 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
-
setExtensionContainer
public MAPRequestedInfo 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
-
setImeiPresent
public MAPRequestedInfo setImeiPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field imei.- 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
-
setLocationInformationPresent
public MAPRequestedInfo setLocationInformationPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field locationInformation.- 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
-
setMnpRequestedInfoPresent
public MAPRequestedInfo setMnpRequestedInfoPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field mnpRequestedInfo.- 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
-
setMs_classmarkPresent
public MAPRequestedInfo setMs_classmarkPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field ms-classmark.- 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
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
setRequestedDomain
public MAPRequestedInfo setRequestedDomain(MAPDomainType value) throws IllegalStateException
Sets the value of the field requestedDomain. 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
-
setRequestedNodes
public MAPRequestedInfo setRequestedNodes(MAPRequestedNodes value) throws IllegalStateException
Sets the value of the field requestedNodes. 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
-
setSubscriberStatePresent
public MAPRequestedInfo setSubscriberStatePresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field subscriberState.- 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
-
setT_adsDataPresent
public MAPRequestedInfo setT_adsDataPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field t-adsData.- 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
-
-