Class InventoryEventModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.warehousing.model.InventoryEventModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AllocationEventModel, CancellationEventModel, IncreaseEventModel, ReservationEventModel, ShrinkageEventModel, WastageEventModel

public class InventoryEventModel extends ItemModel
Generated model class for type InventoryEvent first defined at extension warehousing.

Holds events that affect OMS Inventory and therefore ATP (Available To Promise).

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation ConsignmentEntry2InventoryEventRelation defining source attribute consignmentEntry in extension warehousing.
    static final String
    Generated relation code constant for relation OrderEntry2InventoryEventRelation defining source attribute orderEntry in extension warehousing.
    static final String
    Generated relation code constant for relation StockLevel2InventoryEventRelation defining source attribute stockLevel in extension warehousing.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of InventoryEvent.consignmentEntry attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of InventoryEvent.eventDate attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of InventoryEvent.orderEntry attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of InventoryEvent.quantity attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of InventoryEvent.stockLevel attribute defined at extension warehousing.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    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
    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
    InventoryEventModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the InventoryEvent.consignmentEntry attribute defined at extension warehousing.
    Generated method - Getter of the InventoryEvent.eventDate attribute defined at extension warehousing.
    Generated method - Getter of the InventoryEvent.orderEntry attribute defined at extension warehousing.
    long
    Generated method - Getter of the InventoryEvent.quantity attribute defined at extension warehousing.
    Generated method - Getter of the InventoryEvent.stockLevel attribute defined at extension warehousing.
    void
    Generated method - Setter of InventoryEvent.consignmentEntry attribute defined at extension warehousing.
    void
    Generated method - Setter of InventoryEvent.eventDate attribute defined at extension warehousing.
    void
    Generated method - Setter of InventoryEvent.orderEntry attribute defined at extension warehousing.
    void
    setQuantity(long value)
    Generated method - Setter of InventoryEvent.quantity attribute defined at extension warehousing.
    void
    Generated method - Setter of InventoryEvent.stockLevel attribute defined at extension warehousing.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

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

      public static final String _STOCKLEVEL2INVENTORYEVENTRELATION
      Generated relation code constant for relation StockLevel2InventoryEventRelation defining source attribute stockLevel in extension warehousing.
      See Also:
    • _CONSIGNMENTENTRY2INVENTORYEVENTRELATION

      public static final String _CONSIGNMENTENTRY2INVENTORYEVENTRELATION
      Generated relation code constant for relation ConsignmentEntry2InventoryEventRelation defining source attribute consignmentEntry in extension warehousing.
      See Also:
    • _ORDERENTRY2INVENTORYEVENTRELATION

      public static final String _ORDERENTRY2INVENTORYEVENTRELATION
      Generated relation code constant for relation OrderEntry2InventoryEventRelation defining source attribute orderEntry in extension warehousing.
      See Also:
    • QUANTITY

      public static final String QUANTITY
      Generated constant - Attribute key of InventoryEvent.quantity attribute defined at extension warehousing.
      See Also:
    • EVENTDATE

      public static final String EVENTDATE
      Generated constant - Attribute key of InventoryEvent.eventDate attribute defined at extension warehousing.
      See Also:
    • STOCKLEVEL

      public static final String STOCKLEVEL
      Generated constant - Attribute key of InventoryEvent.stockLevel attribute defined at extension warehousing.
      See Also:
    • CONSIGNMENTENTRY

      public static final String CONSIGNMENTENTRY
      Generated constant - Attribute key of InventoryEvent.consignmentEntry attribute defined at extension warehousing.
      See Also:
    • ORDERENTRY

      public static final String ORDERENTRY
      Generated constant - Attribute key of InventoryEvent.orderEntry attribute defined at extension warehousing.
      See Also:
  • Constructor Details

    • InventoryEventModel

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

      public InventoryEventModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • InventoryEventModel

      @Deprecated(since="4.1.1", forRemoval=true) public InventoryEventModel(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:
      _stockLevel - initial attribute declared by type InventoryEvent at extension warehousing
    • InventoryEventModel

      @Deprecated(since="4.1.1", forRemoval=true) public InventoryEventModel(ItemModel _owner, 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
      _stockLevel - initial attribute declared by type InventoryEvent at extension warehousing
  • Method Details

    • getConsignmentEntry

      @Accessor(qualifier="consignmentEntry", type=GETTER) public ConsignmentEntryModel getConsignmentEntry()
      Generated method - Getter of the InventoryEvent.consignmentEntry attribute defined at extension warehousing.
      Returns:
      the consignmentEntry
    • getEventDate

      @Accessor(qualifier="eventDate", type=GETTER) public Date getEventDate()
      Generated method - Getter of the InventoryEvent.eventDate attribute defined at extension warehousing.
      Returns:
      the eventDate
    • getOrderEntry

      @Accessor(qualifier="orderEntry", type=GETTER) public OrderEntryModel getOrderEntry()
      Generated method - Getter of the InventoryEvent.orderEntry attribute defined at extension warehousing.
      Returns:
      the orderEntry
    • getQuantity

      @Accessor(qualifier="quantity", type=GETTER) public long getQuantity()
      Generated method - Getter of the InventoryEvent.quantity attribute defined at extension warehousing.
      Returns:
      the quantity
    • getStockLevel

      @Accessor(qualifier="stockLevel", type=GETTER) public StockLevelModel getStockLevel()
      Generated method - Getter of the InventoryEvent.stockLevel attribute defined at extension warehousing.
      Returns:
      the stockLevel
    • setConsignmentEntry

      @Accessor(qualifier="consignmentEntry", type=SETTER) public void setConsignmentEntry(ConsignmentEntryModel value)
      Generated method - Setter of InventoryEvent.consignmentEntry attribute defined at extension warehousing.
      Parameters:
      value - the consignmentEntry
    • setEventDate

      @Accessor(qualifier="eventDate", type=SETTER) public void setEventDate(Date value)
      Generated method - Setter of InventoryEvent.eventDate attribute defined at extension warehousing.
      Parameters:
      value - the eventDate
    • setOrderEntry

      @Accessor(qualifier="orderEntry", type=SETTER) public void setOrderEntry(OrderEntryModel value)
      Generated method - Setter of InventoryEvent.orderEntry attribute defined at extension warehousing.
      Parameters:
      value - the orderEntry
    • setQuantity

      @Accessor(qualifier="quantity", type=SETTER) public void setQuantity(long value)
      Generated method - Setter of InventoryEvent.quantity attribute defined at extension warehousing.
      Parameters:
      value - the quantity
    • setStockLevel

      @Accessor(qualifier="stockLevel", type=SETTER) public void setStockLevel(StockLevelModel value)
      Generated method - Setter of InventoryEvent.stockLevel attribute defined at extension warehousing.
      Parameters:
      value - the stockLevel