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:
java.io.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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_CONSIGNMENTENTRY2INVENTORYEVENTRELATIONGenerated relation code constant for relationConsignmentEntry2InventoryEventRelationdefining source attributeconsignmentEntryin extensionwarehousing.static java.lang.String_ORDERENTRY2INVENTORYEVENTRELATIONGenerated relation code constant for relationOrderEntry2InventoryEventRelationdefining source attributeorderEntryin extensionwarehousing.static java.lang.String_STOCKLEVEL2INVENTORYEVENTRELATIONGenerated relation code constant for relationStockLevel2InventoryEventRelationdefining source attributestockLevelin extensionwarehousing.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCONSIGNMENTENTRYGenerated constant - Attribute key ofInventoryEvent.consignmentEntryattribute defined at extensionwarehousing.static java.lang.StringEVENTDATEGenerated constant - Attribute key ofInventoryEvent.eventDateattribute defined at extensionwarehousing.static java.lang.StringORDERENTRYGenerated constant - Attribute key ofInventoryEvent.orderEntryattribute defined at extensionwarehousing.static java.lang.StringQUANTITYGenerated constant - Attribute key ofInventoryEvent.quantityattribute defined at extensionwarehousing.static java.lang.StringSTOCKLEVELGenerated constant - Attribute key ofInventoryEvent.stockLevelattribute defined at extensionwarehousing.-
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 InventoryEventModel()Generated constructor - Default constructor for generic creation.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 parametersInventoryEventModel(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 parametersInventoryEventModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsignmentEntryModelgetConsignmentEntry()Generated method - Getter of theInventoryEvent.consignmentEntryattribute defined at extensionwarehousing.java.util.DategetEventDate()Generated method - Getter of theInventoryEvent.eventDateattribute defined at extensionwarehousing.OrderEntryModelgetOrderEntry()Generated method - Getter of theInventoryEvent.orderEntryattribute defined at extensionwarehousing.longgetQuantity()Generated method - Getter of theInventoryEvent.quantityattribute defined at extensionwarehousing.StockLevelModelgetStockLevel()Generated method - Getter of theInventoryEvent.stockLevelattribute defined at extensionwarehousing.voidsetConsignmentEntry(ConsignmentEntryModel value)Generated method - Setter ofInventoryEvent.consignmentEntryattribute defined at extensionwarehousing.voidsetEventDate(java.util.Date value)Generated method - Setter ofInventoryEvent.eventDateattribute defined at extensionwarehousing.voidsetOrderEntry(OrderEntryModel value)Generated method - Setter ofInventoryEvent.orderEntryattribute defined at extensionwarehousing.voidsetQuantity(long value)Generated method - Setter ofInventoryEvent.quantityattribute defined at extensionwarehousing.voidsetStockLevel(StockLevelModel value)Generated method - Setter ofInventoryEvent.stockLevelattribute defined at extensionwarehousing.-
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
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_STOCKLEVEL2INVENTORYEVENTRELATION
public static final java.lang.String _STOCKLEVEL2INVENTORYEVENTRELATION
Generated relation code constant for relationStockLevel2InventoryEventRelationdefining source attributestockLevelin extensionwarehousing.- See Also:
- Constant Field Values
-
_CONSIGNMENTENTRY2INVENTORYEVENTRELATION
public static final java.lang.String _CONSIGNMENTENTRY2INVENTORYEVENTRELATION
Generated relation code constant for relationConsignmentEntry2InventoryEventRelationdefining source attributeconsignmentEntryin extensionwarehousing.- See Also:
- Constant Field Values
-
_ORDERENTRY2INVENTORYEVENTRELATION
public static final java.lang.String _ORDERENTRY2INVENTORYEVENTRELATION
Generated relation code constant for relationOrderEntry2InventoryEventRelationdefining source attributeorderEntryin extensionwarehousing.- See Also:
- Constant Field Values
-
QUANTITY
public static final java.lang.String QUANTITY
Generated constant - Attribute key ofInventoryEvent.quantityattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
EVENTDATE
public static final java.lang.String EVENTDATE
Generated constant - Attribute key ofInventoryEvent.eventDateattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
STOCKLEVEL
public static final java.lang.String STOCKLEVEL
Generated constant - Attribute key ofInventoryEvent.stockLevelattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
CONSIGNMENTENTRY
public static final java.lang.String CONSIGNMENTENTRY
Generated constant - Attribute key ofInventoryEvent.consignmentEntryattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
ORDERENTRY
public static final java.lang.String ORDERENTRY
Generated constant - Attribute key ofInventoryEvent.orderEntryattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InventoryEventModel
public InventoryEventModel()
Generated constructor - Default constructor for generic creation.
-
InventoryEventModel
public InventoryEventModel(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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_stockLevel- initial attribute declared by typeInventoryEventat extensionwarehousing
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_owner- initial attribute declared by typeItemat extensioncore_stockLevel- initial attribute declared by typeInventoryEventat extensionwarehousing
-
-
Method Detail
-
getConsignmentEntry
@Accessor(qualifier="consignmentEntry", type=GETTER) public ConsignmentEntryModel getConsignmentEntry()
Generated method - Getter of theInventoryEvent.consignmentEntryattribute defined at extensionwarehousing.- Returns:
- the consignmentEntry
-
getEventDate
@Accessor(qualifier="eventDate", type=GETTER) public java.util.Date getEventDate()
Generated method - Getter of theInventoryEvent.eventDateattribute defined at extensionwarehousing.- Returns:
- the eventDate
-
getOrderEntry
@Accessor(qualifier="orderEntry", type=GETTER) public OrderEntryModel getOrderEntry()
Generated method - Getter of theInventoryEvent.orderEntryattribute defined at extensionwarehousing.- Returns:
- the orderEntry
-
getQuantity
@Accessor(qualifier="quantity", type=GETTER) public long getQuantity()
Generated method - Getter of theInventoryEvent.quantityattribute defined at extensionwarehousing.- Returns:
- the quantity
-
getStockLevel
@Accessor(qualifier="stockLevel", type=GETTER) public StockLevelModel getStockLevel()
Generated method - Getter of theInventoryEvent.stockLevelattribute defined at extensionwarehousing.- Returns:
- the stockLevel
-
setConsignmentEntry
@Accessor(qualifier="consignmentEntry", type=SETTER) public void setConsignmentEntry(ConsignmentEntryModel value)
Generated method - Setter ofInventoryEvent.consignmentEntryattribute defined at extensionwarehousing.- Parameters:
value- the consignmentEntry
-
setEventDate
@Accessor(qualifier="eventDate", type=SETTER) public void setEventDate(java.util.Date value)
Generated method - Setter ofInventoryEvent.eventDateattribute defined at extensionwarehousing.- Parameters:
value- the eventDate
-
setOrderEntry
@Accessor(qualifier="orderEntry", type=SETTER) public void setOrderEntry(OrderEntryModel value)
Generated method - Setter ofInventoryEvent.orderEntryattribute defined at extensionwarehousing.- Parameters:
value- the orderEntry
-
setQuantity
@Accessor(qualifier="quantity", type=SETTER) public void setQuantity(long value)
Generated method - Setter ofInventoryEvent.quantityattribute defined at extensionwarehousing.- Parameters:
value- the quantity
-
setStockLevel
@Accessor(qualifier="stockLevel", type=SETTER) public void setStockLevel(StockLevelModel value)
Generated method - Setter ofInventoryEvent.stockLevelattribute defined at extensionwarehousing.- Parameters:
value- the stockLevel
-
-