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
    • Constructor Detail

      • MAPLCS_QoS

        public MAPLCS_QoS()
        Constructs an object with uninitialised state.
    • Method Detail

      • 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:
        getFieldsMap in class AbstractFieldsObject
        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
      • 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
      • 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