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
_TYPECODE
Generated model type code constant.static java.lang.String
ABSOLUTE
Generated constant - Attribute key ofAbstractDiscountRow.absolute
attribute defined at extensioneurope1
.static java.lang.String
CURRENCY
Generated constant - Attribute key ofAbstractDiscountRow.currency
attribute defined at extensioneurope1
.static java.lang.String
DISCOUNT
Generated constant - Attribute key ofAbstractDiscountRow.discount
attribute defined at extensioneurope1
.static java.lang.String
DISCOUNTSTRING
Generated constant - Attribute key ofAbstractDiscountRow.discountString
attribute defined at extensioneurope1
.static java.lang.String
VALUE
Generated constant - Attribute key ofAbstractDiscountRow.value
attribute 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.Boolean
getAbsolute()
Generated method - Getter of theAbstractDiscountRow.absolute
dynamic attribute defined at extensioneurope1
.CurrencyModel
getCurrency()
Generated method - Getter of theAbstractDiscountRow.currency
attribute defined at extensioneurope1
.DiscountModel
getDiscount()
Generated method - Getter of theAbstractDiscountRow.discount
attribute defined at extensioneurope1
.java.lang.String
getDiscountString()
Generated method - Getter of theAbstractDiscountRow.discountString
dynamic attribute defined at extensioneurope1
.java.lang.Double
getValue()
Generated method - Getter of theAbstractDiscountRow.value
attribute defined at extensioneurope1
.void
setCurrency(CurrencyModel value)
Generated method - Setter ofAbstractDiscountRow.currency
attribute defined at extensioneurope1
.void
setDiscount(DiscountModel value)
Generated method - Initial setter ofAbstractDiscountRow.discount
attribute defined at extensioneurope1
.void
setPg(HybrisEnumValue value)
Generated method - Initial setter ofPDTRow.pg
attribute defined at extensioneurope1
and redeclared at extensioneurope1
.void
setValue(java.lang.Double value)
Generated method - Setter ofAbstractDiscountRow.value
attribute 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.currency
attribute defined at extensioneurope1
.- See Also:
- Constant Field Values
-
DISCOUNT
public static final java.lang.String DISCOUNT
Generated constant - Attribute key ofAbstractDiscountRow.discount
attribute defined at extensioneurope1
.- See Also:
- Constant Field Values
-
ABSOLUTE
public static final java.lang.String ABSOLUTE
Generated constant - Attribute key ofAbstractDiscountRow.absolute
attribute defined at extensioneurope1
.- See Also:
- Constant Field Values
-
VALUE
public static final java.lang.String VALUE
Generated constant - Attribute key ofAbstractDiscountRow.value
attribute defined at extensioneurope1
.- See Also:
- Constant Field Values
-
DISCOUNTSTRING
public static final java.lang.String DISCOUNTSTRING
Generated constant - Attribute key ofAbstractDiscountRow.discountString
attribute 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 typeAbstractDiscountRow
at 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 typeAbstractDiscountRow
at extensioneurope1
_owner
- initial attribute declared by typeItem
at extensioncore
_pg
- initial attribute declared by typeAbstractDiscountRow
at extensioneurope1
_product
- initial attribute declared by typePDTRow
at extensioneurope1
_productId
- initial attribute declared by typePDTRow
at extensioneurope1
-
-
Method Detail
-
getAbsolute
@Accessor(qualifier="absolute", type=GETTER) public java.lang.Boolean getAbsolute()
Generated method - Getter of theAbstractDiscountRow.absolute
dynamic attribute defined at extensioneurope1
.- Returns:
- the absolute
-
getCurrency
@Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
Generated method - Getter of theAbstractDiscountRow.currency
attribute defined at extensioneurope1
.- Returns:
- the currency
-
getDiscount
@Accessor(qualifier="discount", type=GETTER) public DiscountModel getDiscount()
Generated method - Getter of theAbstractDiscountRow.discount
attribute defined at extensioneurope1
.- Returns:
- the discount
-
getDiscountString
@Accessor(qualifier="discountString", type=GETTER) public java.lang.String getDiscountString()
Generated method - Getter of theAbstractDiscountRow.discountString
dynamic attribute defined at extensioneurope1
.- Returns:
- the discountString
-
getValue
@Accessor(qualifier="value", type=GETTER) public java.lang.Double getValue()
Generated method - Getter of theAbstractDiscountRow.value
attribute defined at extensioneurope1
.- Returns:
- the value
-
setCurrency
@Accessor(qualifier="currency", type=SETTER) public void setCurrency(CurrencyModel value)
Generated method - Setter ofAbstractDiscountRow.currency
attribute defined at extensioneurope1
.- Parameters:
value
- the currency
-
setDiscount
@Accessor(qualifier="discount", type=SETTER) public void setDiscount(DiscountModel value)
Generated method - Initial setter ofAbstractDiscountRow.discount
attribute 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.pg
attribute defined at extensioneurope1
and redeclared at extensioneurope1
. Can only be used at creation of model - before first save. Will only accept values of typeProductDiscountGroup
.- Overrides:
setPg
in classPDTRowModel
- Parameters:
value
- the pg
-
-