Class CancellationEventModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CancellationEventModel
    extends InventoryEventModel
    Generated model class for type CancellationEvent first defined at extension warehousing.

    A cancellation inventory event.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • REASON

        public static final java.lang.String REASON
        Generated constant - Attribute key of CancellationEvent.reason attribute defined at extension warehousing.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CancellationEventModel

        public CancellationEventModel()
        Generated constructor - Default constructor for generic creation.
      • CancellationEventModel

        public CancellationEventModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • CancellationEventModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CancellationEventModel​(java.lang.String _reason,
                                      StockLevelModel _stockLevel)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _reason - initial attribute declared by type CancellationEvent at extension warehousing
        _stockLevel - initial attribute declared by type InventoryEvent at extension warehousing
      • CancellationEventModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CancellationEventModel​(ItemModel _owner,
                                      java.lang.String _reason,
                                      StockLevelModel _stockLevel)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _owner - initial attribute declared by type Item at extension core
        _reason - initial attribute declared by type CancellationEvent at extension warehousing
        _stockLevel - initial attribute declared by type InventoryEvent at extension warehousing
    • Method Detail

      • getReason

        @Accessor(qualifier="reason",
                  type=GETTER)
        public java.lang.String getReason()
        Generated method - Getter of the CancellationEvent.reason attribute defined at extension warehousing.
        Returns:
        the reason - Specifies the reason for this cancellation.
      • setReason

        @Accessor(qualifier="reason",
                  type=SETTER)
        public void setReason​(java.lang.String value)
        Generated method - Setter of CancellationEvent.reason attribute defined at extension warehousing.
        Parameters:
        value - the reason - Specifies the reason for this cancellation.