Package de.hybris.platform.europe1.model
Class DiscountRowModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.europe1.model.PDTRowModel
de.hybris.platform.europe1.model.AbstractDiscountRowModel
de.hybris.platform.europe1.model.DiscountRowModel
- All Implemented Interfaces:
Serializable
Generated model class for type DiscountRow first defined at extension europe1.
- 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 relationProduct2OwnEurope1Discountsdefining source attributeproductin extensioneurope1.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofDiscountRow.asTargetPriceattribute defined at extensioneurope1.static final StringGenerated constant - Attribute key ofDiscountRow.catalogVersionattribute defined at extensioneurope1.Fields inherited from class de.hybris.platform.europe1.model.AbstractDiscountRowModel
_SUBSCRIPTIONTERM2DISCOUNTROWRELATION, _TMAPRODUCTOFFERINGPRICE2DISCOUNTROWRELATION, _TMAPRODUCTPRICECLASS2DISCOUNTROWRELATION, _TMAREQUIREDPRODUCTOFFERING2DISCOUNTROWRELATION, ABSOLUTE, APPLIEDTOPOPS, CURRENCY, DISCOUNT, DISCOUNTSTRING, POPALTERATION, REQUIREDPRODUCTCLASSES, REQUIREDPRODUCTOFFERINGS, SUBSCRIPTIONTERMS, VALUEFields inherited from class de.hybris.platform.europe1.model.PDTRowModel
AFFECTEDPRODUCTOFFERING, CODE, DATERANGE, DISTRIBUTIONCHANNELS, ENDTIME, PG, PRIORITY, PROCESSTYPES, PRODUCT, PRODUCTID, PRODUCTMATCHQUALIFIER, REGIONS, STARTTIME, UG, USER, USERMATCHQUALIFIERFields 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.DiscountRowModel(DiscountModel _discount) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersDiscountRowModel(DiscountModel _discount, ItemModel _owner, ProductDiscountGroup _pg, ProductModel _product, String _productId) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersDiscountRowModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theDiscountRow.asTargetPriceattribute defined at extensioneurope1.Generated method - Getter of theDiscountRow.catalogVersionattribute defined at extensioneurope1.voidsetAsTargetPrice(Boolean value) Generated method - Setter ofDiscountRow.asTargetPriceattribute defined at extensioneurope1.voidGenerated method - Setter ofDiscountRow.catalogVersionattribute defined at extensioneurope1.voidsetProduct(ProductModel value) Generated method - Initial setter ofPDTRow.productattribute defined at extensioneurope1and redeclared at extensioneurope1.Methods inherited from class de.hybris.platform.europe1.model.AbstractDiscountRowModel
getAbsolute, getAppliedToPops, getCurrency, getDiscount, getDiscountString, getPopAlteration, getRequiredProductClasses, getRequiredProductOfferings, getSubscriptionTerms, getValue, setAppliedToPops, setCurrency, setDiscount, setPg, setPopAlteration, setRequiredProductClasses, setRequiredProductOfferings, setSubscriptionTerms, setValueMethods inherited from class de.hybris.platform.europe1.model.PDTRowModel
getAffectedProductOffering, getCode, getDateRange, getDistributionChannels, getEndTime, getPg, getPriority, getProcessTypes, getProduct, getProductId, getProductMatchQualifier, getRegions, getStartTime, getUg, getUser, getUserMatchQualifier, setAffectedProductOffering, setCode, setDateRange, setDistributionChannels, setEndTime, setPriority, setProcessTypes, setProductId, setProductMatchQualifier, setRegions, setStartTime, setUg, setUser, setUserMatchQualifierMethods 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:
-
_PRODUCT2OWNEUROPE1DISCOUNTS
Generated relation code constant for relationProduct2OwnEurope1Discountsdefining source attributeproductin extensioneurope1.- See Also:
-
CATALOGVERSION
Generated constant - Attribute key ofDiscountRow.catalogVersionattribute defined at extensioneurope1.- See Also:
-
ASTARGETPRICE
Generated constant - Attribute key ofDiscountRow.asTargetPriceattribute defined at extensioneurope1.- See Also:
-
-
Constructor Details
-
DiscountRowModel
public DiscountRowModel()Generated constructor - Default constructor for generic creation. -
DiscountRowModel
public DiscountRowModel(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
-
DiscountRowModel
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:
_discount- initial attribute declared by typeAbstractDiscountRowat extensioneurope1
-
DiscountRowModel
@Deprecated(since="4.1.1", forRemoval=true) public DiscountRowModel(DiscountModel _discount, ItemModel _owner, ProductDiscountGroup _pg, ProductModel _product, String _productId) 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:
_discount- initial attribute declared by typeAbstractDiscountRowat extensioneurope1_owner- initial attribute declared by typeItemat extensioncore_pg- initial attribute declared by typeAbstractDiscountRowat extensioneurope1_product- initial attribute declared by typeDiscountRowat extensioneurope1_productId- initial attribute declared by typePDTRowat extensioneurope1
-
-
Method Details
-
getAsTargetPrice
Generated method - Getter of theDiscountRow.asTargetPriceattribute defined at extensioneurope1.- Returns:
- the asTargetPrice
-
getCatalogVersion
Generated method - Getter of theDiscountRow.catalogVersionattribute defined at extensioneurope1.- Returns:
- the catalogVersion
-
setAsTargetPrice
Generated method - Setter ofDiscountRow.asTargetPriceattribute defined at extensioneurope1.- Parameters:
value- the asTargetPrice
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value) Generated method - Setter ofDiscountRow.catalogVersionattribute defined at extensioneurope1.- Parameters:
value- the catalogVersion
-
setProduct
Generated method - Initial setter ofPDTRow.productattribute defined at extensioneurope1and redeclared at extensioneurope1. Can only be used at creation of model - before first save. Will only accept values of typeProductModel.- Overrides:
setProductin classPDTRowModel- Parameters:
value- the product
-