Class CartEntryModel
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.CartEntryModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InMemoryCartEntryModel
Generated model class for type CartEntry 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.static final StringGenerated constant - Attribute key ofCartEntry.cartEntryValidationsattribute defined at extensiontuadatacommonsservices.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.CartEntryModel(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 parametersCartEntryModel(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 parametersCartEntryModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theCartEntry.cartEntryValidationsattribute defined at extensiontuadatacommonsservices.getOrder()Generated method - Getter of theAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore.voidGenerated method - Setter ofCartEntry.cartEntryValidationsattribute defined at extensiontuadatacommonsservices.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:
-
CARTENTRYVALIDATIONS
Generated constant - Attribute key ofCartEntry.cartEntryValidationsattribute defined at extensiontuadatacommonsservices.- See Also:
-
-
Constructor Details
-
CartEntryModel
public CartEntryModel()Generated constructor - Default constructor for generic creation. -
CartEntryModel
public CartEntryModel(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
-
CartEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public CartEntryModel(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
-
CartEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public CartEntryModel(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
-
getCartEntryValidations
@Accessor(qualifier="cartEntryValidations", type=GETTER) public Set<TmaCartValidationModel> getCartEntryValidations()Generated method - Getter of theCartEntry.cartEntryValidationsattribute defined at extensiontuadatacommonsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the cartEntryValidations - Cart validation list for the given cart entry
-
getOrder
Generated method - Getter of theAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore.- Overrides:
getOrderin classAbstractOrderEntryModel- Returns:
- the order
-
setCartEntryValidations
@Accessor(qualifier="cartEntryValidations", type=SETTER) public void setCartEntryValidations(Set<TmaCartValidationModel> value) Generated method - Setter ofCartEntry.cartEntryValidationsattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the cartEntryValidations - Cart validation list for the given cart entry
-
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 typeCartModel.- Overrides:
setOrderin classAbstractOrderEntryModel- Parameters:
value- the order
-