public class AbstractDiscountRowModel extends PDTRowModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
ABSOLUTE
Generated constant - Attribute key of
AbstractDiscountRow.absolute attribute defined at extension europe1. |
static java.lang.String |
CURRENCY
Generated constant - Attribute key of
AbstractDiscountRow.currency attribute defined at extension europe1. |
static java.lang.String |
DISCOUNT
Generated constant - Attribute key of
AbstractDiscountRow.discount attribute defined at extension europe1. |
static java.lang.String |
DISCOUNTSTRING
Generated constant - Attribute key of
AbstractDiscountRow.discountString attribute defined at extension europe1. |
static java.lang.String |
VALUE
Generated constant - Attribute key of
AbstractDiscountRow.value attribute defined at extension europe1. |
DATERANGE, ENDTIME, PG, PRODUCT, PRODUCTID, PRODUCTMATCHQUALIFIER, STARTTIME, UG, USER, USERMATCHQUALIFIER_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
AbstractDiscountRowModel()
Generated constructor - Default constructor for generic creation.
|
AbstractDiscountRowModel(DiscountModel _discount)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
AbstractDiscountRowModel(DiscountModel _discount,
ItemModel _owner,
ProductDiscountGroup _pg,
ProductModel _product,
java.lang.String _productId)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
AbstractDiscountRowModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getAbsolute()
Generated method - Getter of the
AbstractDiscountRow.absolute dynamic attribute defined at extension europe1. |
CurrencyModel |
getCurrency()
Generated method - Getter of the
AbstractDiscountRow.currency attribute defined at extension europe1. |
DiscountModel |
getDiscount()
Generated method - Getter of the
AbstractDiscountRow.discount attribute defined at extension europe1. |
java.lang.String |
getDiscountString()
Generated method - Getter of the
AbstractDiscountRow.discountString dynamic attribute defined at extension europe1. |
java.lang.Double |
getValue()
Generated method - Getter of the
AbstractDiscountRow.value attribute defined at extension europe1. |
void |
setCurrency(CurrencyModel value)
Generated method - Setter of
AbstractDiscountRow.currency attribute defined at extension europe1. |
void |
setDiscount(DiscountModel value)
Generated method - Initial setter of
AbstractDiscountRow.discount attribute defined at extension europe1. |
void |
setPg(HybrisEnumValue value)
Generated method - Initial setter of
PDTRow.pg attribute defined at extension europe1 and redeclared at extension europe1. |
void |
setValue(java.lang.Double value)
Generated method - Setter of
AbstractDiscountRow.value attribute defined at extension europe1. |
getDateRange, getEndTime, getPg, getProduct, getProductId, getProductMatchQualifier, getStartTime, getUg, getUser, getUserMatchQualifier, setDateRange, setEndTime, setProduct, setProductId, setProductMatchQualifier, setStartTime, setUg, setUser, setUserMatchQualifiergetComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String CURRENCY
AbstractDiscountRow.currency attribute defined at extension europe1.public static final java.lang.String DISCOUNT
AbstractDiscountRow.discount attribute defined at extension europe1.public static final java.lang.String ABSOLUTE
AbstractDiscountRow.absolute attribute defined at extension europe1.public static final java.lang.String VALUE
AbstractDiscountRow.value attribute defined at extension europe1.public static final java.lang.String DISCOUNTSTRING
AbstractDiscountRow.discountString attribute defined at extension europe1.public AbstractDiscountRowModel()
public AbstractDiscountRowModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public AbstractDiscountRowModel(DiscountModel _discount)
_discount - initial attribute declared by type AbstractDiscountRow at extension europe1@Deprecated public AbstractDiscountRowModel(DiscountModel _discount, ItemModel _owner, ProductDiscountGroup _pg, ProductModel _product, java.lang.String _productId)
_discount - initial attribute declared by type AbstractDiscountRow at extension europe1_owner - initial attribute declared by type Item at extension core_pg - initial attribute declared by type AbstractDiscountRow at extension europe1_product - initial attribute declared by type PDTRow at extension europe1_productId - initial attribute declared by type PDTRow at extension europe1@Accessor(qualifier="absolute", type=GETTER) public java.lang.Boolean getAbsolute()
AbstractDiscountRow.absolute dynamic attribute defined at extension europe1.@Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
AbstractDiscountRow.currency attribute defined at extension europe1.@Accessor(qualifier="discount", type=GETTER) public DiscountModel getDiscount()
AbstractDiscountRow.discount attribute defined at extension europe1.@Accessor(qualifier="discountString", type=GETTER) public java.lang.String getDiscountString()
AbstractDiscountRow.discountString dynamic attribute defined at extension europe1.@Accessor(qualifier="value", type=GETTER) public java.lang.Double getValue()
AbstractDiscountRow.value attribute defined at extension europe1.@Accessor(qualifier="currency", type=SETTER) public void setCurrency(CurrencyModel value)
AbstractDiscountRow.currency attribute defined at extension europe1.value - the currency@Accessor(qualifier="discount", type=SETTER) public void setDiscount(DiscountModel value)
AbstractDiscountRow.discount attribute defined at extension europe1. Can only be used at creation of model - before first save.value - the discount@Accessor(qualifier="pg", type=SETTER) public void setPg(HybrisEnumValue value)
PDTRow.pg attribute defined at extension europe1 and redeclared at extension europe1. Can only be used at creation of model - before first save. Will only accept values of type ProductDiscountGroup.setPg in class PDTRowModelvalue - the pgCopyright © 2018 SAP SE. All Rights Reserved.