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
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
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationConsignmentEntry2InventoryEventRelationdefining source attributeconsignmentEntryin extensionwarehousing.static final StringGenerated relation code constant for relationOrderEntry2InventoryEventRelationdefining source attributeorderEntryin extensionwarehousing.static final StringGenerated relation code constant for relationStockLevel2InventoryEventRelationdefining source attributestockLevelin extensionwarehousing.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofInventoryEvent.consignmentEntryattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofInventoryEvent.eventDateattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofInventoryEvent.orderEntryattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofInventoryEvent.quantityattribute defined at extensionwarehousing.static final StringGenerated 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, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated 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 parametersGenerated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theInventoryEvent.consignmentEntryattribute defined at extensionwarehousing.Generated method - Getter of theInventoryEvent.eventDateattribute defined at extensionwarehousing.Generated method - Getter of theInventoryEvent.orderEntryattribute defined at extensionwarehousing.longGenerated method - Getter of theInventoryEvent.quantityattribute defined at extensionwarehousing.Generated method - Getter of theInventoryEvent.stockLevelattribute defined at extensionwarehousing.voidGenerated method - Setter ofInventoryEvent.consignmentEntryattribute defined at extensionwarehousing.voidsetEventDate(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, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_STOCKLEVEL2INVENTORYEVENTRELATION
Generated relation code constant for relationStockLevel2InventoryEventRelationdefining source attributestockLevelin extensionwarehousing.- See Also:
-
_CONSIGNMENTENTRY2INVENTORYEVENTRELATION
Generated relation code constant for relationConsignmentEntry2InventoryEventRelationdefining source attributeconsignmentEntryin extensionwarehousing.- See Also:
-
_ORDERENTRY2INVENTORYEVENTRELATION
Generated relation code constant for relationOrderEntry2InventoryEventRelationdefining source attributeorderEntryin extensionwarehousing.- See Also:
-
QUANTITY
Generated constant - Attribute key ofInventoryEvent.quantityattribute defined at extensionwarehousing.- See Also:
-
EVENTDATE
Generated constant - Attribute key ofInventoryEvent.eventDateattribute defined at extensionwarehousing.- See Also:
-
STOCKLEVEL
Generated constant - Attribute key ofInventoryEvent.stockLevelattribute defined at extensionwarehousing.- See Also:
-
CONSIGNMENTENTRY
Generated constant - Attribute key ofInventoryEvent.consignmentEntryattribute defined at extensionwarehousing.- See Also:
-
ORDERENTRY
Generated constant - Attribute key ofInventoryEvent.orderEntryattribute defined at extensionwarehousing.- See Also:
-
-
Constructor Details
-
InventoryEventModel
public InventoryEventModel()Generated constructor - Default constructor for generic creation. -
InventoryEventModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
InventoryEventModel
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 Details
-
getConsignmentEntry
@Accessor(qualifier="consignmentEntry", type=GETTER) public ConsignmentEntryModel getConsignmentEntry()Generated method - Getter of theInventoryEvent.consignmentEntryattribute defined at extensionwarehousing.- Returns:
- the consignmentEntry
-
getEventDate
Generated method - Getter of theInventoryEvent.eventDateattribute defined at extensionwarehousing.- Returns:
- the eventDate
-
getOrderEntry
Generated method - Getter of theInventoryEvent.orderEntryattribute defined at extensionwarehousing.- Returns:
- the orderEntry
-
getQuantity
Generated method - Getter of theInventoryEvent.quantityattribute defined at extensionwarehousing.- Returns:
- the quantity
-
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
Generated method - Setter ofInventoryEvent.eventDateattribute defined at extensionwarehousing.- Parameters:
value- the eventDate
-
setOrderEntry
Generated method - Setter ofInventoryEvent.orderEntryattribute defined at extensionwarehousing.- Parameters:
value- the orderEntry
-
setQuantity
Generated method - Setter ofInventoryEvent.quantityattribute defined at extensionwarehousing.- Parameters:
value- the quantity
-
setStockLevel
Generated method - Setter ofInventoryEvent.stockLevelattribute defined at extensionwarehousing.- Parameters:
value- the stockLevel
-