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_ABSTRACTORDER2ABSTRACTORDERENTRYGenerated relation code constant for relationAbstractOrder2AbstractOrderEntrydefining source attributeorderin extensioncore.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringINVENTORYEVENTSGenerated constant - Attribute key ofOrderEntry.inventoryEventsattribute defined at extensionwarehousing.static java.lang.StringQUANTITYALLOCATEDGenerated constant - Attribute key ofOrderEntry.quantityAllocatedattribute defined at extensionwarehousing.static java.lang.StringQUANTITYCANCELLEDGenerated constant - Attribute key ofOrderEntry.quantityCancelledattribute defined at extensionwarehousing.static java.lang.StringQUANTITYPENDINGGenerated constant - Attribute key ofOrderEntry.quantityPendingattribute defined at extensionwarehousing.static java.lang.StringQUANTITYRETURNEDGenerated constant - Attribute key ofOrderEntry.quantityReturnedattribute defined at extensionwarehousing.static java.lang.StringQUANTITYSHIPPEDGenerated constant - Attribute key ofOrderEntry.quantityShippedattribute defined at extensionwarehousing.static java.lang.StringQUANTITYUNALLOCATEDGenerated 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, 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.inventoryEventsattribute defined at extensionwarehousing.OrderModelgetOrder()Generated method - Getter of theAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore.java.lang.LonggetQuantityAllocated()Generated method - Getter of theOrderEntry.quantityAllocateddynamic attribute defined at extensionwarehousing.java.lang.LonggetQuantityCancelled()Generated method - Getter of theOrderEntry.quantityCancelleddynamic attribute defined at extensionwarehousing.java.lang.LonggetQuantityPending()Generated method - Getter of theOrderEntry.quantityPendingdynamic attribute defined at extensionwarehousing.java.lang.LonggetQuantityReturned()Generated method - Getter of theOrderEntry.quantityReturneddynamic attribute defined at extensionwarehousing.java.lang.LonggetQuantityShipped()Generated method - Getter of theOrderEntry.quantityShippeddynamic attribute defined at extensionwarehousing.java.lang.LonggetQuantityUnallocated()Generated method - Getter of theOrderEntry.quantityUnallocateddynamic attribute defined at extensionwarehousing.voidsetInventoryEvents(java.util.Collection<InventoryEventModel> value)Generated 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, 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 relationAbstractOrder2AbstractOrderEntrydefining source attributeorderin extensioncore.- See Also:
- Constant Field Values
-
QUANTITYALLOCATED
public static final java.lang.String QUANTITYALLOCATED
Generated constant - Attribute key ofOrderEntry.quantityAllocatedattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
QUANTITYUNALLOCATED
public static final java.lang.String QUANTITYUNALLOCATED
Generated constant - Attribute key ofOrderEntry.quantityUnallocatedattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
QUANTITYCANCELLED
public static final java.lang.String QUANTITYCANCELLED
Generated constant - Attribute key ofOrderEntry.quantityCancelledattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
QUANTITYPENDING
public static final java.lang.String QUANTITYPENDING
Generated constant - Attribute key ofOrderEntry.quantityPendingattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
QUANTITYSHIPPED
public static final java.lang.String QUANTITYSHIPPED
Generated constant - Attribute key ofOrderEntry.quantityShippedattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
QUANTITYRETURNED
public static final java.lang.String QUANTITYRETURNED
Generated constant - Attribute key ofOrderEntry.quantityReturnedattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
INVENTORYEVENTS
public static final java.lang.String INVENTORYEVENTS
Generated constant - Attribute key ofOrderEntry.inventoryEventsattribute 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 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, 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 typeItemat extensioncore_product- initial attribute declared by typeAbstractOrderEntryat extensioncore_quantity- initial attribute declared by typeAbstractOrderEntryat extensioncore_unit- initial attribute declared by typeAbstractOrderEntryat extensioncore
-
-
Method Detail
-
getInventoryEvents
@Accessor(qualifier="inventoryEvents", type=GETTER) public java.util.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
@Accessor(qualifier="order", type=GETTER) public OrderModel getOrder()
Generated method - Getter of theAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore.- Overrides:
getOrderin classAbstractOrderEntryModel- Returns:
- the order
-
getQuantityAllocated
@Accessor(qualifier="quantityAllocated", type=GETTER) public java.lang.Long getQuantityAllocated()
Generated method - Getter of theOrderEntry.quantityAllocateddynamic attribute defined at extensionwarehousing.- Returns:
- the quantityAllocated
-
getQuantityCancelled
@Accessor(qualifier="quantityCancelled", type=GETTER) public java.lang.Long getQuantityCancelled()
Generated method - Getter of theOrderEntry.quantityCancelleddynamic attribute defined at extensionwarehousing.- Returns:
- the quantityCancelled
-
getQuantityPending
@Accessor(qualifier="quantityPending", type=GETTER) public java.lang.Long getQuantityPending()
Generated method - Getter of theOrderEntry.quantityPendingdynamic attribute defined at extensionwarehousing.- Returns:
- the quantityPending
-
getQuantityReturned
@Accessor(qualifier="quantityReturned", type=GETTER) public java.lang.Long getQuantityReturned()
Generated method - Getter of theOrderEntry.quantityReturneddynamic attribute defined at extensionwarehousing.- Returns:
- the quantityReturned
-
getQuantityShipped
@Accessor(qualifier="quantityShipped", type=GETTER) public java.lang.Long getQuantityShipped()
Generated method - Getter of theOrderEntry.quantityShippeddynamic attribute defined at extensionwarehousing.- Returns:
- the quantityShipped
-
getQuantityUnallocated
@Accessor(qualifier="quantityUnallocated", type=GETTER) public java.lang.Long getQuantityUnallocated()
Generated method - Getter of theOrderEntry.quantityUnallocateddynamic 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.inventoryEventsattribute defined at extensionwarehousing.- Parameters:
value- the inventoryEvents
-
setOrder
@Accessor(qualifier="order", type=SETTER) public void setOrder(AbstractOrderModel value)
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
-
-