Package de.hybris.platform.europe1.model
Class AbstractDiscountRowModel
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
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DiscountRowModel,GlobalDiscountRowModel
Generated model class for type AbstractDiscountRow first defined at extension europe1.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofAbstractDiscountRow.absoluteattribute defined at extensioneurope1.static final StringGenerated constant - Attribute key ofAbstractDiscountRow.currencyattribute defined at extensioneurope1.static final StringGenerated constant - Attribute key ofAbstractDiscountRow.discountattribute defined at extensioneurope1.static final StringGenerated constant - Attribute key ofAbstractDiscountRow.discountStringattribute defined at extensioneurope1.static final StringGenerated constant - Attribute key ofAbstractDiscountRow.valueattribute defined at extensioneurope1.Fields inherited from class de.hybris.platform.europe1.model.PDTRowModel
DATERANGE, ENDTIME, PG, PRODUCT, PRODUCTID, PRODUCTMATCHQUALIFIER, 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.AbstractDiscountRowModel(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 parametersAbstractDiscountRowModel(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 - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theAbstractDiscountRow.absolutedynamic attribute defined at extensioneurope1.Generated method - Getter of theAbstractDiscountRow.currencyattribute defined at extensioneurope1.Generated method - Getter of theAbstractDiscountRow.discountattribute defined at extensioneurope1.Generated method - Getter of theAbstractDiscountRow.discountStringdynamic attribute defined at extensioneurope1.getValue()Generated method - Getter of theAbstractDiscountRow.valueattribute defined at extensioneurope1.voidsetCurrency(CurrencyModel value) Generated method - Setter ofAbstractDiscountRow.currencyattribute defined at extensioneurope1.voidsetDiscount(DiscountModel value) Generated method - Initial setter ofAbstractDiscountRow.discountattribute defined at extensioneurope1.voidsetPg(HybrisEnumValue value) Generated method - Initial setter ofPDTRow.pgattribute defined at extensioneurope1and redeclared at extensioneurope1.voidGenerated method - Setter ofAbstractDiscountRow.valueattribute defined at extensioneurope1.Methods inherited from class de.hybris.platform.europe1.model.PDTRowModel
getDateRange, getEndTime, getPg, getProduct, getProductId, getProductMatchQualifier, getStartTime, getUg, getUser, getUserMatchQualifier, setDateRange, setEndTime, setProduct, setProductId, setProductMatchQualifier, 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:
-
CURRENCY
Generated constant - Attribute key ofAbstractDiscountRow.currencyattribute defined at extensioneurope1.- See Also:
-
DISCOUNT
Generated constant - Attribute key ofAbstractDiscountRow.discountattribute defined at extensioneurope1.- See Also:
-
ABSOLUTE
Generated constant - Attribute key ofAbstractDiscountRow.absoluteattribute defined at extensioneurope1.- See Also:
-
VALUE
Generated constant - Attribute key ofAbstractDiscountRow.valueattribute defined at extensioneurope1.- See Also:
-
DISCOUNTSTRING
Generated constant - Attribute key ofAbstractDiscountRow.discountStringattribute defined at extensioneurope1.- See Also:
-
-
Constructor Details
-
AbstractDiscountRowModel
public AbstractDiscountRowModel()Generated constructor - Default constructor for generic creation. -
AbstractDiscountRowModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
AbstractDiscountRowModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractDiscountRowModel(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
-
AbstractDiscountRowModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractDiscountRowModel(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 typePDTRowat extensioneurope1_productId- initial attribute declared by typePDTRowat extensioneurope1
-
-
Method Details
-
getAbsolute
Generated method - Getter of theAbstractDiscountRow.absolutedynamic attribute defined at extensioneurope1.- Returns:
- the absolute
-
getCurrency
Generated method - Getter of theAbstractDiscountRow.currencyattribute defined at extensioneurope1.- Returns:
- the currency
-
getDiscount
Generated method - Getter of theAbstractDiscountRow.discountattribute defined at extensioneurope1.- Returns:
- the discount
-
getDiscountString
Generated method - Getter of theAbstractDiscountRow.discountStringdynamic attribute defined at extensioneurope1.- Returns:
- the discountString
-
getValue
Generated method - Getter of theAbstractDiscountRow.valueattribute defined at extensioneurope1.- Returns:
- the value
-
setCurrency
Generated method - Setter ofAbstractDiscountRow.currencyattribute defined at extensioneurope1.- Parameters:
value- the currency
-
setDiscount
Generated method - Initial setter ofAbstractDiscountRow.discountattribute defined at extensioneurope1. Can only be used at creation of model - before first save.- Parameters:
value- the discount
-
setPg
Generated method - Initial setter ofPDTRow.pgattribute defined at extensioneurope1and redeclared at extensioneurope1. Can only be used at creation of model - before first save. Will only accept values of typeProductDiscountGroup.- Overrides:
setPgin classPDTRowModel- Parameters:
value- the pg
-
setValue
Generated method - Setter ofAbstractDiscountRow.valueattribute defined at extensioneurope1.- Parameters:
value- the value
-