Class MAPAuthenticationFailureReportArg

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPAuthenticationFailureReportArg
    extends AbstractFieldsObject
    API for MAP-MS-DataTypes.AuthenticationFailureReportArg. Generated from the following ASN.1 type definition.
     AuthenticationFailureReportArg ::=
         SEQUENCE {
             imsi               IMSI,
             failureCause       FailureCause,
             extensionContainer ExtensionContainer OPTIONAL,
             ...
             re-attempt         BOOLEAN OPTIONAL,            -- Added in release 4.
             accessType         AccessType OPTIONAL,         -- Added in release 4.
             rand               RAND OPTIONAL,               -- Added in release 4.
             vlr-Number         ISDN-AddressString OPTIONAL, -- Added in release 4.
             sgsn-Number        ISDN-AddressString OPTIONAL  -- Added in release 4.
         }
     
    Added in R99.

    Used as argument type by MAPOperations.authenticationFailureReport.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPAuthenticationFailureReportArg

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

      • copyOf

        public static MAPAuthenticationFailureReportArg copyOf​(MAPAuthenticationFailureReportArg 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:
        MAPAuthenticationFailureReportArg
      • getAccessType

        public MAPAccessType getAccessType()
        Gets the value of the field accessType.
        Returns:
        value of field accessType, or null if not present
      • getExtensionContainer

        public MAPExtensionContainer getExtensionContainer()
        Gets the value of the field extensionContainer.
        Returns:
        value of field extensionContainer, or null if not present
      • getFailureCause

        public MAPFailureCause getFailureCause()
        Gets the value of the field failureCause.
        Returns:
        value of field failureCause, 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
      • getImsi

        public IMSIAddress getImsi()
        Gets the value of the field imsi.
        Returns:
        value of field imsi, or null if not present
      • getRand

        public byte[] getRand()
        Gets the value of the field rand.
        Returns:
        value of field rand, or null if not present
      • getRe_attempt

        public boolean getRe_attempt()
        Gets the value of the field re-attempt.
        Returns:
        value of field re-attempt
      • getSgsn_Number

        public AddressString getSgsn_Number()
        Gets the value of the field sgsn-Number.
        Returns:
        value of field sgsn-Number, or null if not present
      • getVlr_Number

        public AddressString getVlr_Number()
        Gets the value of the field vlr-Number.
        Returns:
        value of field vlr-Number, or null if not present
      • hasAccessType

        public boolean hasAccessType()
        Tests whether the field accessType has a value.
        Returns:
        whether the field accessType has a value
      • hasExtensionContainer

        public boolean hasExtensionContainer()
        Tests whether the field extensionContainer has a value.
        Returns:
        whether the field extensionContainer has a value
      • hasFailureCause

        public boolean hasFailureCause()
        Tests whether the field failureCause has a value.
        Returns:
        whether the field failureCause has a value
      • hasImsi

        public boolean hasImsi()
        Tests whether the field imsi has a value.
        Returns:
        whether the field imsi has a value
      • hasRand

        public boolean hasRand()
        Tests whether the field rand has a value.
        Returns:
        whether the field rand has a value
      • hasRe_attempt

        public boolean hasRe_attempt()
        Tests whether the field re-attempt has a value.
        Returns:
        whether the field re-attempt has a value
      • hasSgsn_Number

        public boolean hasSgsn_Number()
        Tests whether the field sgsn-Number has a value.
        Returns:
        whether the field sgsn-Number has a value
      • hasVlr_Number

        public boolean hasVlr_Number()
        Tests whether the field vlr-Number has a value.
        Returns:
        whether the field vlr-Number has a value
      • setRe_attemptPresent

        public MAPAuthenticationFailureReportArg setRe_attemptPresent​(boolean flag)
                                                               throws IllegalStateException
        Sets the presence or absence of the optional field re-attempt.
        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