Class MAPCheckIMEI_Arg

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPCheckIMEI_Arg
    extends MAPCheckIMEI_v1ArgSeq
    API for MAP-MS-DataTypes.CheckIMEI-Arg. Generated from the following ASN.1 type definition and the adaptations below.
     CheckIMEI-Arg ::=
         SEQUENCE {
             imei                   IMEI,
             requestedEquipmentInfo RequestedEquipmentInfo,
             extensionContainer     ExtensionContainer OPTIONAL,
             ...
         }
     MAP-MS-DataTypes {
         CheckIMEI-Arg {
             @parentASN1Type MAP-MobileServiceOperations-Rel4.checkIMEI.ArgumentType
         }
     }
     
    Extended in release 5.

    Used as argument type by MAPOperations.checkIMEI_v3.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPCheckIMEI_Arg

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

      • copyOf

        public static MAPCheckIMEI_Arg copyOf​(MAPCheckIMEI_v1ArgSeq 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:
        MAPCheckIMEI_Arg
      • 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 MAPCheckIMEI_v1ArgSeq
        Parameters:
        withAbsents - whether to put absent optional fields into Map
        Returns:
        Map from field-name to field-value
      • getRequestedEquipmentInfo

        public MAPRequestedEquipmentInfo getRequestedEquipmentInfo()
        Gets the value of the field requestedEquipmentInfo.
        Returns:
        value of field requestedEquipmentInfo, 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
      • hasRequestedEquipmentInfo

        public boolean hasRequestedEquipmentInfo()
        Tests whether the field requestedEquipmentInfo has a value.
        Returns:
        whether the field requestedEquipmentInfo has a value