public class AbstractPromotionAccessModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
PRODUCTCODE
Generated constant - Attribute key of
AbstractPromotionAccess.productCode attribute defined at extension timedaccesspromotionsservices. |
static java.lang.String |
PROMOTIONCODE
Generated constant - Attribute key of
AbstractPromotionAccess.promotionCode attribute defined at extension timedaccesspromotionsservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_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,
java.lang.String _productCode,
java.lang.String _promotionCode)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
AbstractPromotionAccessModel(java.lang.String _productCode,
java.lang.String _promotionCode)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProductCode()
Generated method - Getter of the
AbstractPromotionAccess.productCode attribute defined at extension timedaccesspromotionsservices. |
java.lang.String |
getPromotionCode()
Generated method - Getter of the
AbstractPromotionAccess.promotionCode attribute defined at extension timedaccesspromotionsservices. |
void |
setProductCode(java.lang.String value)
Generated method - Setter of
AbstractPromotionAccess.productCode attribute defined at extension timedaccesspromotionsservices. |
void |
setPromotionCode(java.lang.String value)
Generated method - Setter of
AbstractPromotionAccess.promotionCode attribute defined at extension timedaccesspromotionsservices. |
getComments, 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 PROMOTIONCODE
AbstractPromotionAccess.promotionCode attribute defined at extension timedaccesspromotionsservices.public static final java.lang.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(java.lang.String _productCode,
java.lang.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, java.lang.String _productCode, java.lang.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 java.lang.String getProductCode()
AbstractPromotionAccess.productCode attribute defined at extension timedaccesspromotionsservices.@Accessor(qualifier="promotionCode", type=GETTER) public java.lang.String getPromotionCode()
AbstractPromotionAccess.promotionCode attribute defined at extension timedaccesspromotionsservices.@Accessor(qualifier="productCode", type=SETTER) public void setProductCode(java.lang.String value)
AbstractPromotionAccess.productCode attribute defined at extension timedaccesspromotionsservices.value - the productCode - ID of the product that the customer wants to buy.@Accessor(qualifier="promotionCode", type=SETTER) public void setPromotionCode(java.lang.String value)
AbstractPromotionAccess.promotionCode attribute defined at extension timedaccesspromotionsservices.value - the promotionCode - ID of the promotionCopyright © 2018 SAP SE. All Rights Reserved.