public class AbstractPromotionAccessModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
PRODUCTCODE
Generated constant - Attribute key of
AbstractPromotionAccess.productCode attribute defined at extension timedaccesspromotionsservices. |
static String |
PROMOTIONCODE
Generated constant - Attribute key of
AbstractPromotionAccess.promotionCode attribute defined at extension timedaccesspromotionsservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
AbstractPromotionAccessModel()
Generated constructor - Default constructor for generic creation.
|
AbstractPromotionAccessModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
AbstractPromotionAccessModel(ItemModel _owner,
String _productCode,
String _promotionCode)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
AbstractPromotionAccessModel(String _productCode,
String _promotionCode)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
String |
getProductCode()
Generated method - Getter of the
AbstractPromotionAccess.productCode attribute defined at extension timedaccesspromotionsservices. |
String |
getPromotionCode()
Generated method - Getter of the
AbstractPromotionAccess.promotionCode attribute defined at extension timedaccesspromotionsservices. |
void |
setProductCode(String value)
Generated method - Setter of
AbstractPromotionAccess.productCode attribute defined at extension timedaccesspromotionsservices. |
void |
setPromotionCode(String value)
Generated method - Setter of
AbstractPromotionAccess.promotionCode attribute defined at extension timedaccesspromotionsservices. |
getComments, getCreationtime, getModifiedtime, getOwner, 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 String _TYPECODE
public static final String PROMOTIONCODE
AbstractPromotionAccess.promotionCode attribute defined at extension timedaccesspromotionsservices.public static final String PRODUCTCODE
AbstractPromotionAccess.productCode attribute defined at extension timedaccesspromotionsservices.public AbstractPromotionAccessModel()
public AbstractPromotionAccessModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public AbstractPromotionAccessModel(String _productCode, String _promotionCode)
_productCode - initial attribute declared by type AbstractPromotionAccess at extension timedaccesspromotionsservices_promotionCode - initial attribute declared by type AbstractPromotionAccess at extension timedaccesspromotionsservices@Deprecated public AbstractPromotionAccessModel(ItemModel _owner, String _productCode, String _promotionCode)
_owner - initial attribute declared by type Item at extension core_productCode - initial attribute declared by type AbstractPromotionAccess at extension timedaccesspromotionsservices_promotionCode - initial attribute declared by type AbstractPromotionAccess at extension timedaccesspromotionsservices@Accessor(qualifier="productCode", type=GETTER) public String getProductCode()
AbstractPromotionAccess.productCode attribute defined at extension timedaccesspromotionsservices.@Accessor(qualifier="promotionCode", type=GETTER) public String getPromotionCode()
AbstractPromotionAccess.promotionCode attribute defined at extension timedaccesspromotionsservices.@Accessor(qualifier="productCode", type=SETTER) public void setProductCode(String value)
AbstractPromotionAccess.productCode attribute defined at extension timedaccesspromotionsservices.value - the productCode - ID of the product that the customer wants to buy.Copyright © 2017 SAP SE. All Rights Reserved.