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:
java.io.Serializable
- Direct Known Subclasses:
DiscountRowModel,GlobalDiscountRowModel
public class AbstractDiscountRowModel extends PDTRowModel
Generated model class for type AbstractDiscountRow 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_TYPECODEGenerated model type code constant.static java.lang.StringABSOLUTEGenerated constant - Attribute key ofAbstractDiscountRow.absoluteattribute defined at extensioneurope1.static java.lang.StringCURRENCYGenerated constant - Attribute key ofAbstractDiscountRow.currencyattribute defined at extensioneurope1.static java.lang.StringDISCOUNTGenerated constant - Attribute key ofAbstractDiscountRow.discountattribute defined at extensioneurope1.static java.lang.StringDISCOUNTSTRINGGenerated constant - Attribute key ofAbstractDiscountRow.discountStringattribute defined at extensioneurope1.static java.lang.StringVALUEGenerated 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, 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 AbstractDiscountRowModel()Generated 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, 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 parametersAbstractDiscountRowModel(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.BooleangetAbsolute()Generated method - Getter of theAbstractDiscountRow.absolutedynamic attribute defined at extensioneurope1.CurrencyModelgetCurrency()Generated method - Getter of theAbstractDiscountRow.currencyattribute defined at extensioneurope1.DiscountModelgetDiscount()Generated method - Getter of theAbstractDiscountRow.discountattribute defined at extensioneurope1.java.lang.StringgetDiscountString()Generated method - Getter of theAbstractDiscountRow.discountStringdynamic attribute defined at extensioneurope1.java.lang.DoublegetValue()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.voidsetValue(java.lang.Double value)Generated 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, 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
-
CURRENCY
public static final java.lang.String CURRENCY
Generated constant - Attribute key ofAbstractDiscountRow.currencyattribute defined at extensioneurope1.- See Also:
- Constant Field Values
-
DISCOUNT
public static final java.lang.String DISCOUNT
Generated constant - Attribute key ofAbstractDiscountRow.discountattribute defined at extensioneurope1.- See Also:
- Constant Field Values
-
ABSOLUTE
public static final java.lang.String ABSOLUTE
Generated constant - Attribute key ofAbstractDiscountRow.absoluteattribute defined at extensioneurope1.- See Also:
- Constant Field Values
-
VALUE
public static final java.lang.String VALUE
Generated constant - Attribute key ofAbstractDiscountRow.valueattribute defined at extensioneurope1.- See Also:
- Constant Field Values
-
DISCOUNTSTRING
public static final java.lang.String DISCOUNTSTRING
Generated constant - Attribute key ofAbstractDiscountRow.discountStringattribute defined at extensioneurope1.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractDiscountRowModel
public AbstractDiscountRowModel()
Generated constructor - Default constructor for generic creation.
-
AbstractDiscountRowModel
public AbstractDiscountRowModel(ItemModelContext ctx)
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, 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 typePDTRowat extensioneurope1_productId- initial attribute declared by typePDTRowat extensioneurope1
-
-
Method Detail
-
getAbsolute
@Accessor(qualifier="absolute", type=GETTER) public java.lang.Boolean getAbsolute()
Generated method - Getter of theAbstractDiscountRow.absolutedynamic attribute defined at extensioneurope1.- Returns:
- the absolute
-
getCurrency
@Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
Generated method - Getter of theAbstractDiscountRow.currencyattribute defined at extensioneurope1.- Returns:
- the currency
-
getDiscount
@Accessor(qualifier="discount", type=GETTER) public DiscountModel getDiscount()
Generated method - Getter of theAbstractDiscountRow.discountattribute defined at extensioneurope1.- Returns:
- the discount
-
getDiscountString
@Accessor(qualifier="discountString", type=GETTER) public java.lang.String getDiscountString()
Generated method - Getter of theAbstractDiscountRow.discountStringdynamic attribute defined at extensioneurope1.- Returns:
- the discountString
-
getValue
@Accessor(qualifier="value", type=GETTER) public java.lang.Double getValue()
Generated method - Getter of theAbstractDiscountRow.valueattribute defined at extensioneurope1.- Returns:
- the value
-
setCurrency
@Accessor(qualifier="currency", type=SETTER) public void setCurrency(CurrencyModel value)
Generated method - Setter ofAbstractDiscountRow.currencyattribute defined at extensioneurope1.- Parameters:
value- the currency
-
setDiscount
@Accessor(qualifier="discount", type=SETTER) public void setDiscount(DiscountModel value)
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
@Accessor(qualifier="pg", type=SETTER) public void setPg(HybrisEnumValue value)
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
-
-