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:
java.io.Serializable
- Direct Known Subclasses:
InMemoryCartEntryModel
public class CartEntryModel extends AbstractOrderEntryModel
Generated model class for type CartEntry 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
_LASTMODIFIEDENTRIESRELATION
Generated relation code constant for relationLastModifiedEntriesRelation
defining source attributelastModifiedMasterCart
in extensionconfigurablebundleservices
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
LASTMODIFIEDMASTERCART
Generated constant - Attribute key ofCartEntry.lastModifiedMasterCart
attribute defined at extensionconfigurablebundleservices
.-
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 CartEntryModel()
Generated constructor - Default constructor for generic creation.CartEntryModel(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 parametersCartEntryModel(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 parametersCartEntryModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CartModel
getLastModifiedMasterCart()
Generated method - Getter of theCartEntry.lastModifiedMasterCart
attribute defined at extensionconfigurablebundleservices
.CartModel
getOrder()
Generated method - Getter of theAbstractOrderEntry.order
attribute defined at extensioncore
and redeclared at extensioncore
.void
setLastModifiedMasterCart(CartModel value)
Generated method - Setter ofCartEntry.lastModifiedMasterCart
attribute defined at extensionconfigurablebundleservices
.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
-
_LASTMODIFIEDENTRIESRELATION
public static final java.lang.String _LASTMODIFIEDENTRIESRELATION
Generated relation code constant for relationLastModifiedEntriesRelation
defining source attributelastModifiedMasterCart
in extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
LASTMODIFIEDMASTERCART
public static final java.lang.String LASTMODIFIEDMASTERCART
Generated constant - Attribute key ofCartEntry.lastModifiedMasterCart
attribute defined at extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CartEntryModel
public CartEntryModel()
Generated constructor - Default constructor for generic creation.
-
CartEntryModel
public CartEntryModel(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, 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
-
CartEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public CartEntryModel(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
-
getLastModifiedMasterCart
@Accessor(qualifier="lastModifiedMasterCart", type=GETTER) public CartModel getLastModifiedMasterCart()
Generated method - Getter of theCartEntry.lastModifiedMasterCart
attribute defined at extensionconfigurablebundleservices
.- Returns:
- the lastModifiedMasterCart
-
getOrder
@Accessor(qualifier="order", type=GETTER) public CartModel getOrder()
Generated method - Getter of theAbstractOrderEntry.order
attribute defined at extensioncore
and redeclared at extensioncore
.- Overrides:
getOrder
in classAbstractOrderEntryModel
- Returns:
- the order
-
setLastModifiedMasterCart
@Accessor(qualifier="lastModifiedMasterCart", type=SETTER) public void setLastModifiedMasterCart(CartModel value)
Generated method - Setter ofCartEntry.lastModifiedMasterCart
attribute defined at extensionconfigurablebundleservices
.- Parameters:
value
- the lastModifiedMasterCart
-
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 typeCartModel
.- Overrides:
setOrder
in classAbstractOrderEntryModel
- Parameters:
value
- the order
-
-