Class OrderEntryModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.core.model.order.AbstractOrderEntryModel
de.hybris.platform.core.model.order.OrderEntryModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ReturnOrderEntryModel
Generated model class for type OrderEntry first defined at extension core.
- 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 relationAbstractOrder2AbstractOrderEntrydefining source attributeorderin extensioncore.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofOrderEntry.inventoryEventsattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofOrderEntry.quantityAllocatedattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofOrderEntry.quantityCancelledattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofOrderEntry.quantityPendingattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofOrderEntry.quantityReturnedattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofOrderEntry.quantityShippedattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofOrderEntry.quantityUnallocatedattribute defined at extensionwarehousing.Fields inherited from class de.hybris.platform.core.model.order.AbstractOrderEntryModel
_CONSIGNMENTENTRYORDERENTRYRELATION, _MASTERABSTRACTORDERENTRY2CHILDABSTRACTORDERENTRIESRELATION, ADDTOCARTTIME, BASEPRICE, CALCULATED, CHILDENTRIES, CHOSENVENDOR, CONSIGNMENTENTRIES, COSTCENTER, CPQSTATUSSUMMARYMAP, DELIVERYADDRESS, DELIVERYMODE, DELIVERYPOINTOFSERVICE, DISCOUNTVALUES, DISCOUNTVALUESINTERNAL, ENTRYGROUPNUMBERS, ENTRYNUMBER, EUROPE1PRICEFACTORY_PDG, EUROPE1PRICEFACTORY_PPG, EUROPE1PRICEFACTORY_PTG, GIVEAWAY, INFO, MASTERENTRY, NAMEDDELIVERYDATE, ORDER, ORIGINALORDERENTRY, ORIGINALSUBSCRIPTIONID, PRODUCT, PRODUCTCONFIGURATION, PRODUCTCONFIGURATIONDRAFT, PRODUCTINFOS, QUANTITY, QUANTITYSTATUS, REJECTED, TAXVALUES, TAXVALUESINTERNAL, TOTALPRICE, UNIT, XMLPRODUCTFields 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.OrderEntryModel(ItemModel _owner, ProductModel _product, Long _quantity, UnitModel _unit) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersOrderEntryModel(ProductModel _product, Long _quantity, UnitModel _unit) 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 theOrderEntry.inventoryEventsattribute defined at extensionwarehousing.getOrder()Generated method - Getter of theAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore.Generated method - Getter of theOrderEntry.quantityAllocateddynamic attribute defined at extensionwarehousing.Generated method - Getter of theOrderEntry.quantityCancelleddynamic attribute defined at extensionwarehousing.Generated method - Getter of theOrderEntry.quantityPendingdynamic attribute defined at extensionwarehousing.Generated method - Getter of theOrderEntry.quantityReturneddynamic attribute defined at extensionwarehousing.Generated method - Getter of theOrderEntry.quantityShippeddynamic attribute defined at extensionwarehousing.Generated method - Getter of theOrderEntry.quantityUnallocateddynamic attribute defined at extensionwarehousing.voidGenerated method - Setter ofOrderEntry.inventoryEventsattribute defined at extensionwarehousing.voidsetOrder(AbstractOrderModel value) Generated method - Initial setter ofAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore.Methods inherited from class de.hybris.platform.core.model.order.AbstractOrderEntryModel
getAddToCartTime, getBasePrice, getCalculated, getChildEntries, getChosenVendor, getConsignmentEntries, getCostCenter, getCpqStatusSummaryMap, getDeliveryAddress, getDeliveryMode, getDeliveryPointOfService, getDiscountValues, getDiscountValuesInternal, getEntryGroupNumbers, getEntryNumber, getEurope1PriceFactory_PDG, getEurope1PriceFactory_PPG, getEurope1PriceFactory_PTG, getGiveAway, getInfo, getMasterEntry, getNamedDeliveryDate, getOriginalOrderEntry, getOriginalSubscriptionId, getProduct, getProductConfiguration, getProductConfigurationDraft, getProductInfos, getQuantity, getQuantityStatus, getRejected, getTaxValues, getTaxValuesInternal, getTotalPrice, getUnit, getXmlProduct, setAddToCartTime, setBasePrice, setCalculated, setChildEntries, setChosenVendor, setConsignmentEntries, setCostCenter, setCpqStatusSummaryMap, setDeliveryAddress, setDeliveryMode, setDeliveryPointOfService, setDiscountValues, setDiscountValuesInternal, setEntryGroupNumbers, setEntryNumber, setEurope1PriceFactory_PDG, setEurope1PriceFactory_PPG, setEurope1PriceFactory_PTG, setGiveAway, setInfo, setMasterEntry, setNamedDeliveryDate, setOriginalOrderEntry, setOriginalSubscriptionId, setProduct, setProductConfiguration, setProductConfigurationDraft, setProductInfos, setQuantity, setQuantityStatus, setRejected, setTaxValues, setTaxValuesInternal, setTotalPrice, setUnit, setXmlProductMethods 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:
-
_ABSTRACTORDER2ABSTRACTORDERENTRY
Generated relation code constant for relationAbstractOrder2AbstractOrderEntrydefining source attributeorderin extensioncore.- See Also:
-
QUANTITYALLOCATED
Generated constant - Attribute key ofOrderEntry.quantityAllocatedattribute defined at extensionwarehousing.- See Also:
-
QUANTITYUNALLOCATED
Generated constant - Attribute key ofOrderEntry.quantityUnallocatedattribute defined at extensionwarehousing.- See Also:
-
QUANTITYCANCELLED
Generated constant - Attribute key ofOrderEntry.quantityCancelledattribute defined at extensionwarehousing.- See Also:
-
QUANTITYPENDING
Generated constant - Attribute key ofOrderEntry.quantityPendingattribute defined at extensionwarehousing.- See Also:
-
QUANTITYSHIPPED
Generated constant - Attribute key ofOrderEntry.quantityShippedattribute defined at extensionwarehousing.- See Also:
-
QUANTITYRETURNED
Generated constant - Attribute key ofOrderEntry.quantityReturnedattribute defined at extensionwarehousing.- See Also:
-
INVENTORYEVENTS
Generated constant - Attribute key ofOrderEntry.inventoryEventsattribute defined at extensionwarehousing.- See Also:
-
-
Constructor Details
-
OrderEntryModel
public OrderEntryModel()Generated constructor - Default constructor for generic creation. -
OrderEntryModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
OrderEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public OrderEntryModel(ProductModel _product, Long _quantity, UnitModel _unit) 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:
_product- initial attribute declared by typeAbstractOrderEntryat extensioncore_quantity- initial attribute declared by typeAbstractOrderEntryat extensioncore_unit- initial attribute declared by typeAbstractOrderEntryat extensioncore
-
OrderEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public OrderEntryModel(ItemModel _owner, ProductModel _product, Long _quantity, UnitModel _unit) 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_product- initial attribute declared by typeAbstractOrderEntryat extensioncore_quantity- initial attribute declared by typeAbstractOrderEntryat extensioncore_unit- initial attribute declared by typeAbstractOrderEntryat extensioncore
-
-
Method Details
-
getInventoryEvents
@Accessor(qualifier="inventoryEvents", type=GETTER) public Collection<InventoryEventModel> getInventoryEvents()Generated method - Getter of theOrderEntry.inventoryEventsattribute defined at extensionwarehousing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the inventoryEvents
-
getOrder
Generated method - Getter of theAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore.- Overrides:
getOrderin classAbstractOrderEntryModel- Returns:
- the order
-
getQuantityAllocated
Generated method - Getter of theOrderEntry.quantityAllocateddynamic attribute defined at extensionwarehousing.- Returns:
- the quantityAllocated
-
getQuantityCancelled
Generated method - Getter of theOrderEntry.quantityCancelleddynamic attribute defined at extensionwarehousing.- Returns:
- the quantityCancelled
-
getQuantityPending
Generated method - Getter of theOrderEntry.quantityPendingdynamic attribute defined at extensionwarehousing.- Returns:
- the quantityPending
-
getQuantityReturned
Generated method - Getter of theOrderEntry.quantityReturneddynamic attribute defined at extensionwarehousing.- Returns:
- the quantityReturned
-
getQuantityShipped
Generated method - Getter of theOrderEntry.quantityShippeddynamic attribute defined at extensionwarehousing.- Returns:
- the quantityShipped
-
getQuantityUnallocated
Generated method - Getter of theOrderEntry.quantityUnallocateddynamic attribute defined at extensionwarehousing.- Returns:
- the quantityUnallocated
-
setInventoryEvents
@Accessor(qualifier="inventoryEvents", type=SETTER) public void setInventoryEvents(Collection<InventoryEventModel> value) Generated method - Setter ofOrderEntry.inventoryEventsattribute defined at extensionwarehousing.- Parameters:
value- the inventoryEvents
-
setOrder
Generated method - Initial setter ofAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore. Can only be used at creation of model - before first save. Will only accept values of typeOrderModel.- Overrides:
setOrderin classAbstractOrderEntryModel- Parameters:
value- the order
-