Class MAPSendIdentificationArg

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPSendIdentificationArg
    extends MAPSendIdentificationArgSeq
    API for MAP-MS-DataTypes.SendIdentificationArg. Generated from the following ASN.1 type definition and the adaptations below.
     SendIdentificationArg ::=
         SEQUENCE {
             tmsi                     TMSI,
             numberOfRequestedVectors NumberOfRequestedVectors OPTIONAL, -- Within a dialogue numberOfRequestedVectors shall be present in the first service request and shall not be present in subsequent service requests.  If received in a subsequent service request it shall be discarded.
             segmentationProhibited   NULL OPTIONAL,
             extensionContainer       ExtensionContainer OPTIONAL,
             ...
             msc-Number               ISDN-AddressString OPTIONAL,       -- Added in release 6.
             previous-LAI             LAIFixedLength OPTIONAL,           -- Added in release 6.
             hopCounter               HopCounter OPTIONAL                -- Added in release 6.
         }
     MAP-MS-DataTypes {
         SendIdentificationArg {
             @parentASN1Type MAP-MobileServiceOperations-R98.sendIdentification.ArgumentType
         }
     }
     
    Extended in R99.

    Used as argument type by MAPOperations.sendIdentification_v3.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPSendIdentificationArg

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

      • copyOf

        public static MAPSendIdentificationArg copyOf​(MAPSendIdentificationArgSeq 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:
        MAPSendIdentificationArg
      • 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.
        Overrides:
        getFieldsMap in class MAPSendIdentificationArgSeq
        Parameters:
        withAbsents - whether to put absent optional fields into Map
        Returns:
        Map from field-name to field-value
      • getHopCounter

        public int getHopCounter()
        Gets the value of the field hopCounter.
        Returns:
        value of field hopCounter
      • getMsc_Number

        public AddressString getMsc_Number()
        Gets the value of the field msc-Number.
        Returns:
        value of field msc-Number, or null if not present
      • getNumberOfRequestedVectors

        public int getNumberOfRequestedVectors()
        Gets the value of the field numberOfRequestedVectors.
        Returns:
        value of field numberOfRequestedVectors
      • getPrevious_LAI

        public LocationAreaId getPrevious_LAI()
        Gets the value of the field previous-LAI.
        Returns:
        value of field previous-LAI, 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
      • hasHopCounter

        public boolean hasHopCounter()
        Tests whether the field hopCounter has a value.
        Returns:
        whether the field hopCounter has a value
      • hasMsc_Number

        public boolean hasMsc_Number()
        Tests whether the field msc-Number has a value.
        Returns:
        whether the field msc-Number has a value
      • hasNumberOfRequestedVectors

        public boolean hasNumberOfRequestedVectors()
        Tests whether the field numberOfRequestedVectors has a value.
        Returns:
        whether the field numberOfRequestedVectors has a value
      • hasPrevious_LAI

        public boolean hasPrevious_LAI()
        Tests whether the field previous-LAI has a value.
        Returns:
        whether the field previous-LAI has a value
      • hasSegmentationProhibited

        public boolean hasSegmentationProhibited()
        Tests whether the field segmentationProhibited is present.
        Returns:
        whether the field segmentationProhibited is present
      • setHopCounterPresent

        public MAPSendIdentificationArg setHopCounterPresent​(boolean flag)
                                                      throws IllegalStateException
        Sets the presence or absence of the optional field hopCounter.
        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
      • setNumberOfRequestedVectors

        public MAPSendIdentificationArg setNumberOfRequestedVectors​(int value)
                                                             throws IllegalStateException
        Sets the value of the field numberOfRequestedVectors and marks the field as present.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setNumberOfRequestedVectorsPresent

        public MAPSendIdentificationArg setNumberOfRequestedVectorsPresent​(boolean flag)
                                                                    throws IllegalStateException
        Sets the presence or absence of the optional field numberOfRequestedVectors.
        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
      • setSegmentationProhibitedPresent

        public MAPSendIdentificationArg setSegmentationProhibitedPresent​(boolean flag)
                                                                  throws IllegalStateException
        Sets the presence or absence of the optional field segmentationProhibited.
        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