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:
java.io.Serializable
- Direct Known Subclasses:
ReturnOrderEntryModel
public class OrderEntryModel extends AbstractOrderEntryModel
Generated model class for type OrderEntry first defined at extension core.- 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
_ABSTRACTORDER2ABSTRACTORDERENTRY
Generated relation code constant for relationAbstractOrder2AbstractOrderEntry
defining source attributeorder
in extensioncore
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
INVENTORYEVENTS
Generated constant - Attribute key ofOrderEntry.inventoryEvents
attribute defined at extensionwarehousing
.static java.lang.String
QUANTITYALLOCATED
Generated constant - Attribute key ofOrderEntry.quantityAllocated
attribute defined at extensionwarehousing
.static java.lang.String
QUANTITYCANCELLED
Generated constant - Attribute key ofOrderEntry.quantityCancelled
attribute defined at extensionwarehousing
.static java.lang.String
QUANTITYPENDING
Generated constant - Attribute key ofOrderEntry.quantityPending
attribute defined at extensionwarehousing
.static java.lang.String
QUANTITYRETURNED
Generated constant - Attribute key ofOrderEntry.quantityReturned
attribute defined at extensionwarehousing
.static java.lang.String
QUANTITYSHIPPED
Generated constant - Attribute key ofOrderEntry.quantityShipped
attribute defined at extensionwarehousing
.static java.lang.String
QUANTITYUNALLOCATED
Generated constant - Attribute key ofOrderEntry.quantityUnallocated
attribute 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, ENTRYDISCOUNTINTERNAL, ENTRYGROUPNUMBERS, ENTRYNUMBER, EUROPE1PRICEFACTORY_PDG, EUROPE1PRICEFACTORY_PPG, EUROPE1PRICEFACTORY_PTG, EXTERNALCONFIGURATION, EXTERNALDISCOUNTVALUES, GIVEAWAY, INFO, MASTERENTRY, NAMEDDELIVERYDATE, ORDER, ORIGINALORDERENTRY, ORIGINALSUBSCRIPTIONID, PRODUCT, PRODUCTCONFIGURATION, PRODUCTCONFIGURATIONDRAFT, PRODUCTINFOS, QUANTITY, QUANTITYSTATUS, REJECTED, SAPPRICINGCONDITIONS, TAXVALUES, TAXVALUESINTERNAL, TOTALPRICE, UNIT, XMLPRODUCT
-
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 OrderEntryModel()
Generated constructor - Default constructor for generic creation.OrderEntryModel(ItemModel _owner, ProductModel _product, java.lang.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, java.lang.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(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<InventoryEventModel>
getInventoryEvents()
Generated method - Getter of theOrderEntry.inventoryEvents
attribute defined at extensionwarehousing
.OrderModel
getOrder()
Generated method - Getter of theAbstractOrderEntry.order
attribute defined at extensioncore
and redeclared at extensioncore
.java.lang.Long
getQuantityAllocated()
Generated method - Getter of theOrderEntry.quantityAllocated
dynamic attribute defined at extensionwarehousing
.java.lang.Long
getQuantityCancelled()
Generated method - Getter of theOrderEntry.quantityCancelled
dynamic attribute defined at extensionwarehousing
.java.lang.Long
getQuantityPending()
Generated method - Getter of theOrderEntry.quantityPending
dynamic attribute defined at extensionwarehousing
.java.lang.Long
getQuantityReturned()
Generated method - Getter of theOrderEntry.quantityReturned
dynamic attribute defined at extensionwarehousing
.java.lang.Long
getQuantityShipped()
Generated method - Getter of theOrderEntry.quantityShipped
dynamic attribute defined at extensionwarehousing
.java.lang.Long
getQuantityUnallocated()
Generated method - Getter of theOrderEntry.quantityUnallocated
dynamic attribute defined at extensionwarehousing
.void
setInventoryEvents(java.util.Collection<InventoryEventModel> value)
Generated method - Setter ofOrderEntry.inventoryEvents
attribute defined at extensionwarehousing
.void
setOrder(AbstractOrderModel value)
Generated method - Initial setter ofAbstractOrderEntry.order
attribute defined at extensioncore
and 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, getEntryDiscountInternal, getEntryGroupNumbers, getEntryNumber, getEurope1PriceFactory_PDG, getEurope1PriceFactory_PPG, getEurope1PriceFactory_PTG, getExternalConfiguration, getExternalDiscountValues, getGiveAway, getInfo, getMasterEntry, getNamedDeliveryDate, getOriginalOrderEntry, getOriginalSubscriptionId, getProduct, getProductConfiguration, getProductConfigurationDraft, getProductInfos, getQuantity, getQuantityStatus, getRejected, getSapPricingConditions, getTaxValues, getTaxValuesInternal, getTotalPrice, getUnit, getXmlProduct, setAddToCartTime, setBasePrice, setCalculated, setChildEntries, setChosenVendor, setConsignmentEntries, setCostCenter, setCpqStatusSummaryMap, setDeliveryAddress, setDeliveryMode, setDeliveryPointOfService, setDiscountValues, setDiscountValuesInternal, setEntryDiscountInternal, setEntryGroupNumbers, setEntryNumber, setEurope1PriceFactory_PDG, setEurope1PriceFactory_PPG, setEurope1PriceFactory_PTG, setExternalConfiguration, setExternalDiscountValues, setGiveAway, setInfo, setMasterEntry, setNamedDeliveryDate, setOriginalOrderEntry, setOriginalSubscriptionId, setProduct, setProductConfiguration, setProductConfigurationDraft, setProductInfos, setQuantity, setQuantityStatus, setRejected, setSapPricingConditions, setTaxValues, setTaxValuesInternal, setTotalPrice, setUnit, setXmlProduct
-
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
-
_ABSTRACTORDER2ABSTRACTORDERENTRY
public static final java.lang.String _ABSTRACTORDER2ABSTRACTORDERENTRY
Generated relation code constant for relationAbstractOrder2AbstractOrderEntry
defining source attributeorder
in extensioncore
.- See Also:
- Constant Field Values
-
QUANTITYALLOCATED
public static final java.lang.String QUANTITYALLOCATED
Generated constant - Attribute key ofOrderEntry.quantityAllocated
attribute defined at extensionwarehousing
.- See Also:
- Constant Field Values
-
QUANTITYUNALLOCATED
public static final java.lang.String QUANTITYUNALLOCATED
Generated constant - Attribute key ofOrderEntry.quantityUnallocated
attribute defined at extensionwarehousing
.- See Also:
- Constant Field Values
-
QUANTITYCANCELLED
public static final java.lang.String QUANTITYCANCELLED
Generated constant - Attribute key ofOrderEntry.quantityCancelled
attribute defined at extensionwarehousing
.- See Also:
- Constant Field Values
-
QUANTITYPENDING
public static final java.lang.String QUANTITYPENDING
Generated constant - Attribute key ofOrderEntry.quantityPending
attribute defined at extensionwarehousing
.- See Also:
- Constant Field Values
-
QUANTITYSHIPPED
public static final java.lang.String QUANTITYSHIPPED
Generated constant - Attribute key ofOrderEntry.quantityShipped
attribute defined at extensionwarehousing
.- See Also:
- Constant Field Values
-
QUANTITYRETURNED
public static final java.lang.String QUANTITYRETURNED
Generated constant - Attribute key ofOrderEntry.quantityReturned
attribute defined at extensionwarehousing
.- See Also:
- Constant Field Values
-
INVENTORYEVENTS
public static final java.lang.String INVENTORYEVENTS
Generated constant - Attribute key ofOrderEntry.inventoryEvents
attribute defined at extensionwarehousing
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OrderEntryModel
public OrderEntryModel()
Generated constructor - Default constructor for generic creation.
-
OrderEntryModel
public OrderEntryModel(ItemModelContext ctx)
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, java.lang.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 typeAbstractOrderEntry
at extensioncore
_quantity
- initial attribute declared by typeAbstractOrderEntry
at extensioncore
_unit
- initial attribute declared by typeAbstractOrderEntry
at extensioncore
-
OrderEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public OrderEntryModel(ItemModel _owner, ProductModel _product, java.lang.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 typeItem
at extensioncore
_product
- initial attribute declared by typeAbstractOrderEntry
at extensioncore
_quantity
- initial attribute declared by typeAbstractOrderEntry
at extensioncore
_unit
- initial attribute declared by typeAbstractOrderEntry
at extensioncore
-
-
Method Detail
-
getInventoryEvents
@Accessor(qualifier="inventoryEvents", type=GETTER) public java.util.Collection<InventoryEventModel> getInventoryEvents()
Generated method - Getter of theOrderEntry.inventoryEvents
attribute defined at extensionwarehousing
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the inventoryEvents
-
getOrder
@Accessor(qualifier="order", type=GETTER) public OrderModel getOrder()
Generated method - Getter of theAbstractOrderEntry.order
attribute defined at extensioncore
and redeclared at extensioncore
.- Overrides:
getOrder
in classAbstractOrderEntryModel
- Returns:
- the order
-
getQuantityAllocated
@Accessor(qualifier="quantityAllocated", type=GETTER) public java.lang.Long getQuantityAllocated()
Generated method - Getter of theOrderEntry.quantityAllocated
dynamic attribute defined at extensionwarehousing
.- Returns:
- the quantityAllocated
-
getQuantityCancelled
@Accessor(qualifier="quantityCancelled", type=GETTER) public java.lang.Long getQuantityCancelled()
Generated method - Getter of theOrderEntry.quantityCancelled
dynamic attribute defined at extensionwarehousing
.- Returns:
- the quantityCancelled
-
getQuantityPending
@Accessor(qualifier="quantityPending", type=GETTER) public java.lang.Long getQuantityPending()
Generated method - Getter of theOrderEntry.quantityPending
dynamic attribute defined at extensionwarehousing
.- Returns:
- the quantityPending
-
getQuantityReturned
@Accessor(qualifier="quantityReturned", type=GETTER) public java.lang.Long getQuantityReturned()
Generated method - Getter of theOrderEntry.quantityReturned
dynamic attribute defined at extensionwarehousing
.- Returns:
- the quantityReturned
-
getQuantityShipped
@Accessor(qualifier="quantityShipped", type=GETTER) public java.lang.Long getQuantityShipped()
Generated method - Getter of theOrderEntry.quantityShipped
dynamic attribute defined at extensionwarehousing
.- Returns:
- the quantityShipped
-
getQuantityUnallocated
@Accessor(qualifier="quantityUnallocated", type=GETTER) public java.lang.Long getQuantityUnallocated()
Generated method - Getter of theOrderEntry.quantityUnallocated
dynamic attribute defined at extensionwarehousing
.- Returns:
- the quantityUnallocated
-
setInventoryEvents
@Accessor(qualifier="inventoryEvents", type=SETTER) public void setInventoryEvents(java.util.Collection<InventoryEventModel> value)
Generated method - Setter ofOrderEntry.inventoryEvents
attribute defined at extensionwarehousing
.- Parameters:
value
- the inventoryEvents
-
setOrder
@Accessor(qualifier="order", type=SETTER) public void setOrder(AbstractOrderModel value)
Generated method - Initial setter ofAbstractOrderEntry.order
attribute defined at extensioncore
and redeclared at extensioncore
. Can only be used at creation of model - before first save. Will only accept values of typeOrderModel
.- Overrides:
setOrder
in classAbstractOrderEntryModel
- Parameters:
value
- the order
-
-