Class MAPCancelLocationArg

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPCancelLocationArg
    extends MAPCancelLocation_v1ArgSeq
    API for MAP-MS-DataTypes.CancelLocationArg. Generated from the following ASN.1 type definition and the adaptations below.
     CancelLocationArg ::=
         SEQUENCE {
             identity           Identity,
             cancellationType   CancellationType OPTIONAL,   -- Added in R97.
             extensionContainer ExtensionContainer OPTIONAL, -- Added in R97.
             typeOfUpdate       TypeOfUpdate OPTIONAL        -- Added in release 8.
     MAP-MS-DataTypes {
         CancelLocationArg {
             @parentASN1Type MAP-MobileServiceOperations-R96.cancelLocation.ArgumentType
    Extended in ph2. TypeOfUpdate shall be absent if CancellationType is different from updateProcedure.

    Used as argument type by MAPOperations.cancelLocation_v3.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPCancelLocationArg

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

      • copyOf

        public static MAPCancelLocationArg copyOf​(MAPCancelLocation_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.
        from - the object from which to copy
      • getCancellationType

        public MAPCancellationType getCancellationType()
        Gets the value of the field cancellationType.
        value of field cancellationType, or null if not present
      • getExtensionContainer

        public MAPExtensionContainer getExtensionContainer()
        Gets the value of the field extensionContainer.
        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.
      • 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.
        getFieldsMap in class MAPCancelLocation_v1ArgSeq
        withAbsents - whether to put absent optional fields into Map
        Map from field-name to field-value
      • getTypeOfUpdate

        public MAPTypeOfUpdate getTypeOfUpdate()
        Gets the value of the field typeOfUpdate.
        value of field typeOfUpdate, or null if not present
      • hasCancellationType

        public boolean hasCancellationType()
        Tests whether the field cancellationType has a value.
        whether the field cancellationType has a value
      • hasExtensionContainer

        public boolean hasExtensionContainer()
        Tests whether the field extensionContainer has a value.
        whether the field extensionContainer has a value
      • hasTypeOfUpdate

        public boolean hasTypeOfUpdate()
        Tests whether the field typeOfUpdate has a value.
        whether the field typeOfUpdate has a value