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:
java.io.Serializable
public class DiscountRowModel extends AbstractDiscountRowModel
Generated model class for type DiscountRow first defined at extension europe1.- 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_PRODUCT2OWNEUROPE1DISCOUNTSGenerated relation code constant for relationProduct2OwnEurope1Discountsdefining source attributeproductin extensioneurope1.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringASTARGETPRICEGenerated constant - Attribute key ofDiscountRow.asTargetPriceattribute defined at extensioneurope1.static java.lang.StringCATALOGVERSIONGenerated constant - Attribute key ofDiscountRow.catalogVersionattribute defined at extensioneurope1.static java.lang.StringSAPCONDITIONIDGenerated constant - Attribute key ofDiscountRow.sapConditionIdattribute defined at extensionsapmodel.-
Fields inherited from class de.hybris.platform.europe1.model.AbstractDiscountRowModel
ABSOLUTE, CURRENCY, DISCOUNT, DISCOUNTSTRING, VALUE
-
Fields inherited from class de.hybris.platform.europe1.model.PDTRowModel
DATERANGE, ENDTIME, PG, PRODUCT, PRODUCTID, PRODUCTMATCHQUALIFIER, STARTTIME, UG, USER, USERMATCHQUALIFIER
-
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 DiscountRowModel()Generated 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, java.lang.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(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.lang.BooleangetAsTargetPrice()Generated method - Getter of theDiscountRow.asTargetPriceattribute defined at extensioneurope1.CatalogVersionModelgetCatalogVersion()Generated method - Getter of theDiscountRow.catalogVersionattribute defined at extensioneurope1.java.lang.StringgetSapConditionId()Generated method - Getter of theDiscountRow.sapConditionIdattribute defined at extensionsapmodel.voidsetAsTargetPrice(java.lang.Boolean value)Generated method - Setter ofDiscountRow.asTargetPriceattribute defined at extensioneurope1.voidsetCatalogVersion(CatalogVersionModel value)Generated method - Setter ofDiscountRow.catalogVersionattribute defined at extensioneurope1.voidsetProduct(ProductModel value)Generated method - Initial setter ofPDTRow.productattribute defined at extensioneurope1and redeclared at extensioneurope1.voidsetSapConditionId(java.lang.String value)Generated method - Setter ofDiscountRow.sapConditionIdattribute defined at extensionsapmodel.-
Methods inherited from class de.hybris.platform.europe1.model.AbstractDiscountRowModel
getAbsolute, getCurrency, getDiscount, getDiscountString, getValue, setCurrency, setDiscount, setPg, setValue
-
Methods inherited from class de.hybris.platform.europe1.model.PDTRowModel
getDateRange, getEndTime, getPg, getProduct, getProductId, getProductMatchQualifier, getStartTime, getUg, getUser, getUserMatchQualifier, setDateRange, setEndTime, setProductId, setProductMatchQualifier, setStartTime, setUg, setUser, setUserMatchQualifier
-
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
-
_PRODUCT2OWNEUROPE1DISCOUNTS
public static final java.lang.String _PRODUCT2OWNEUROPE1DISCOUNTS
Generated relation code constant for relationProduct2OwnEurope1Discountsdefining source attributeproductin extensioneurope1.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofDiscountRow.catalogVersionattribute defined at extensioneurope1.- See Also:
- Constant Field Values
-
ASTARGETPRICE
public static final java.lang.String ASTARGETPRICE
Generated constant - Attribute key ofDiscountRow.asTargetPriceattribute defined at extensioneurope1.- See Also:
- Constant Field Values
-
SAPCONDITIONID
public static final java.lang.String SAPCONDITIONID
Generated constant - Attribute key ofDiscountRow.sapConditionIdattribute defined at extensionsapmodel.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DiscountRowModel
public DiscountRowModel()
Generated constructor - Default constructor for generic creation.
-
DiscountRowModel
public DiscountRowModel(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(since="4.1.1", forRemoval=true) public 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 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, java.lang.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 Detail
-
getAsTargetPrice
@Accessor(qualifier="asTargetPrice", type=GETTER) public java.lang.Boolean getAsTargetPrice()
Generated method - Getter of theDiscountRow.asTargetPriceattribute defined at extensioneurope1.- Returns:
- the asTargetPrice
-
getCatalogVersion
@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
Generated method - Getter of theDiscountRow.catalogVersionattribute defined at extensioneurope1.- Returns:
- the catalogVersion
-
getSapConditionId
@Accessor(qualifier="sapConditionId", type=GETTER) public java.lang.String getSapConditionId()
Generated method - Getter of theDiscountRow.sapConditionIdattribute defined at extensionsapmodel.- Returns:
- the sapConditionId - Unique identifier of Price Condition.
-
setAsTargetPrice
@Accessor(qualifier="asTargetPrice", type=SETTER) public void setAsTargetPrice(java.lang.Boolean value)
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
@Accessor(qualifier="product", type=SETTER) public void setProduct(ProductModel value)
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
-
-