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
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationAbstractOrder2AbstractOrderEntrydefining source attributeorderin extensioncore.static final StringGenerated model type code constant.Fields inherited from class de.hybris.platform.core.model.order.AbstractOrderEntryModel
_CONSIGNMENTENTRYORDERENTRYRELATION, _MASTERABSTRACTORDERENTRY2CHILDABSTRACTORDERENTRIESRELATION, APPOINTMENTREFERENCE, AUTOMATICALLYADDED, BASEPRICE, BPO, CALCULATED, CHILDENTRIES, CHOSENVENDOR, CONSIGNMENTENTRIES, CONTRACTSTARTDATE, COSTCENTER, DELIVERYADDRESS, DELIVERYMODE, DELIVERYPOINTOFSERVICE, DISCOUNTVALUES, DISCOUNTVALUESINTERNAL, ENTRYGROUPNUMBERS, ENTRYNUMBER, EUROPE1PRICEFACTORY_PDG, EUROPE1PRICEFACTORY_PPG, EUROPE1PRICEFACTORY_PTG, GIVEAWAY, INFO, INSTALLATIONADDRESS, MASTERENTRY, NAMEDDELIVERYDATE, ORDER, ORIGINALORDERENTRY, ORIGINALSUBSCRIPTIONID, PRICE, PROCESSTYPE, PRODUCT, PRODUCTINFOS, PRODUCTSPECCHARACTERISTICVALUES, QUANTITY, QUANTITYSTATUS, REGION, REJECTED, SERVICEPROVIDER, SUBSCRIPTIONINFO, 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 parametersOrderEntryModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptiongetOrder()Generated method - Getter of theAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore.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
getAppointmentReference, getAutomaticallyAdded, getBasePrice, getBpo, getCalculated, getChildEntries, getChosenVendor, getConsignmentEntries, getContractStartDate, getCostCenter, getDeliveryAddress, getDeliveryMode, getDeliveryPointOfService, getDiscountValues, getDiscountValuesInternal, getEntryGroupNumbers, getEntryNumber, getEurope1PriceFactory_PDG, getEurope1PriceFactory_PPG, getEurope1PriceFactory_PTG, getGiveAway, getInfo, getInstallationAddress, getMasterEntry, getNamedDeliveryDate, getOriginalOrderEntry, getOriginalSubscriptionId, getPrice, getProcessType, getProduct, getProductInfos, getProductSpecCharacteristicValues, getQuantity, getQuantityStatus, getRegion, getRejected, getServiceProvider, getSubscriptionInfo, getTaxValues, getTaxValuesInternal, getTotalPrice, getUnit, getXmlProduct, setAppointmentReference, setAutomaticallyAdded, setBasePrice, setBpo, setCalculated, setChildEntries, setChosenVendor, setConsignmentEntries, setContractStartDate, setCostCenter, setDeliveryAddress, setDeliveryMode, setDeliveryPointOfService, setDiscountValues, setDiscountValuesInternal, setEntryGroupNumbers, setEntryNumber, setEurope1PriceFactory_PDG, setEurope1PriceFactory_PPG, setEurope1PriceFactory_PTG, setGiveAway, setInfo, setInstallationAddress, setMasterEntry, setNamedDeliveryDate, setOriginalOrderEntry, setOriginalSubscriptionId, setPrice, setProcessType, setProduct, setProductInfos, setProductSpecCharacteristicValues, setQuantity, setQuantityStatus, setRegion, setRejected, setServiceProvider, setSubscriptionInfo, 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:
-
-
Constructor Details
-
OrderEntryModel
public OrderEntryModel()Generated constructor - Default constructor for generic creation. -
OrderEntryModel
public OrderEntryModel(de.hybris.platform.servicelayer.model.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, 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
-
getOrder
Generated method - Getter of theAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore.- Overrides:
getOrderin classAbstractOrderEntryModel- Returns:
- the order
-
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
-