Class CancellationEventModel

All Implemented Interfaces:
Serializable

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

A cancellation inventory event.

See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • REASON

      public static final String REASON
      Generated constant - Attribute key of CancellationEvent.reason attribute defined at extension warehousing.
      See Also:
  • Constructor Details

    • 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(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, 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 Details

    • getReason

      @Accessor(qualifier="reason", type=GETTER) public 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(String value)
      Generated method - Setter of CancellationEvent.reason attribute defined at extension warehousing.
      Parameters:
      value - the reason - Specifies the reason for this cancellation.