Class MAPLCS_QoS
-
- All Implemented Interfaces:
DataObject,Serializable
public class MAPLCS_QoS extends AbstractFieldsObject
API for MAP-LCS-DataTypes.LCS-QoS. Generated from the following ASN.1 type definition.LCS-QoS ::= SEQUENCE { horizontal-accuracy Horizontal-Accuracy OPTIONAL, verticalCoordinateRequest NULL OPTIONAL, vertical-accuracy Vertical-Accuracy OPTIONAL, responseTime ResponseTime OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, ... velocityRequest NULL OPTIONAL -- Added in release 7. }Added in R98.Used as field type by
MAPProvideSubscriberLocation_Arg.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPLCS_QoS()Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPLCS_QoSclone()Constructs a copy of this object and everything reachable from it.static MAPLCS_QoScopyOf(MAPLCS_QoS 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.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.byte[]getHorizontal_accuracy()Gets the value of the field horizontal-accuracy.MAPResponseTimegetResponseTime()Gets the value of the field responseTime.byte[]getVertical_accuracy()Gets the value of the field vertical-accuracy.booleanhasExtensionContainer()Tests whether the field extensionContainer has a value.booleanhasHorizontal_accuracy()Tests whether the field horizontal-accuracy has a value.booleanhasResponseTime()Tests whether the field responseTime has a value.booleanhasVelocityRequest()Tests whether the field velocityRequest is present.booleanhasVertical_accuracy()Tests whether the field vertical-accuracy has a value.booleanhasVerticalCoordinateRequest()Tests whether the field verticalCoordinateRequest is present.MAPLCS_QoSsetExtensionContainer(MAPExtensionContainer value)Sets the value of the field extensionContainer.MAPLCS_QoSsetHorizontal_accuracy(byte[] value)Sets the value of the field horizontal-accuracy.voidsetReadOnly()Sets this and all its fields to be immutable.MAPLCS_QoSsetResponseTime(MAPResponseTime value)Sets the value of the field responseTime.MAPLCS_QoSsetVelocityRequestPresent(boolean flag)Sets the presence or absence of the optional field velocityRequest.MAPLCS_QoSsetVertical_accuracy(byte[] value)Sets the value of the field vertical-accuracy.MAPLCS_QoSsetVerticalCoordinateRequestPresent(boolean flag)Sets the presence or absence of the optional field verticalCoordinateRequest.-
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 MAPLCS_QoS clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clonein interfaceDataObject- Specified by:
clonein classAbstractDataObject- Returns:
- copy of object
-
copyOf
public static MAPLCS_QoS copyOf(MAPLCS_QoS 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:
- MAPLCS_QoS
-
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:
getFieldsMapin classAbstractFieldsObject- Parameters:
withAbsents- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getHorizontal_accuracy
public byte[] getHorizontal_accuracy()
Gets the value of the field horizontal-accuracy.- Returns:
- value of field horizontal-accuracy, or null if not present
-
getResponseTime
public MAPResponseTime getResponseTime()
Gets the value of the field responseTime.- Returns:
- value of field responseTime, or null if not present
-
getVertical_accuracy
public byte[] getVertical_accuracy()
Gets the value of the field vertical-accuracy.- Returns:
- value of field vertical-accuracy, 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
-
hasHorizontal_accuracy
public boolean hasHorizontal_accuracy()
Tests whether the field horizontal-accuracy has a value.- Returns:
- whether the field horizontal-accuracy has a value
-
hasResponseTime
public boolean hasResponseTime()
Tests whether the field responseTime has a value.- Returns:
- whether the field responseTime has a value
-
hasVelocityRequest
public boolean hasVelocityRequest()
Tests whether the field velocityRequest is present.- Returns:
- whether the field velocityRequest is present
-
hasVerticalCoordinateRequest
public boolean hasVerticalCoordinateRequest()
Tests whether the field verticalCoordinateRequest is present.- Returns:
- whether the field verticalCoordinateRequest is present
-
hasVertical_accuracy
public boolean hasVertical_accuracy()
Tests whether the field vertical-accuracy has a value.- Returns:
- whether the field vertical-accuracy has a value
-
setExtensionContainer
public MAPLCS_QoS 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
-
setHorizontal_accuracy
public MAPLCS_QoS setHorizontal_accuracy(byte[] value) throws IllegalStateException
Sets the value of the field horizontal-accuracy. 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:
setReadOnlyin interfaceDataObject- Overrides:
setReadOnlyin classAbstractDataObject
-
setResponseTime
public MAPLCS_QoS setResponseTime(MAPResponseTime value) throws IllegalStateException
Sets the value of the field responseTime. 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
-
setVelocityRequestPresent
public MAPLCS_QoS setVelocityRequestPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field velocityRequest.- 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
-
setVerticalCoordinateRequestPresent
public MAPLCS_QoS setVerticalCoordinateRequestPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field verticalCoordinateRequest.- 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
-
setVertical_accuracy
public MAPLCS_QoS setVertical_accuracy(byte[] value) throws IllegalStateException
Sets the value of the field vertical-accuracy. 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
-
-