public class CustomerCouponModel extends AbstractCouponModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
ASSIGNABLE
Generated constant - Attribute key of
CustomerCoupon.assignable attribute defined at extension customercouponservices. |
static java.lang.String |
CUSTOMERS
Generated constant - Attribute key of
CustomerCoupon.customers attribute defined at extension customercouponservices. |
static java.lang.String |
DESCRIPTION
Generated constant - Attribute key of
CustomerCoupon.description attribute defined at extension customercouponservices. |
ACTIVE, COUPONID, ENDDATE, NAME, STARTDATE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
CustomerCouponModel()
Generated constructor - Default constructor for generic creation.
|
CustomerCouponModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
CustomerCouponModel(java.lang.String _couponId)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CustomerCouponModel(java.lang.String _couponId,
ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getAssignable()
Generated method - Getter of the
CustomerCoupon.assignable attribute defined at extension customercouponservices. |
java.util.Collection<CustomerModel> |
getCustomers()
Generated method - Getter of the
CustomerCoupon.customers attribute defined at extension customercouponservices. |
java.lang.String |
getDescription()
Generated method - Getter of the
CustomerCoupon.description attribute defined at extension customercouponservices. |
java.lang.String |
getDescription(java.util.Locale loc)
Generated method - Getter of the
CustomerCoupon.description attribute defined at extension customercouponservices. |
void |
setAssignable(java.lang.Boolean value)
Generated method - Setter of
CustomerCoupon.assignable attribute defined at extension customercouponservices. |
void |
setCustomers(java.util.Collection<CustomerModel> value)
Generated method - Setter of
CustomerCoupon.customers attribute defined at extension customercouponservices. |
void |
setDescription(java.lang.String value)
Generated method - Setter of
CustomerCoupon.description attribute defined at extension customercouponservices. |
void |
setDescription(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
CustomerCoupon.description attribute defined at extension customercouponservices. |
getActive, getCouponId, getEndDate, getName, getName, getStartDate, setActive, setCouponId, setEndDate, setName, setName, setStartDategetComments, 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 ASSIGNABLE
CustomerCoupon.assignable attribute defined at extension customercouponservices.public static final java.lang.String DESCRIPTION
CustomerCoupon.description attribute defined at extension customercouponservices.public static final java.lang.String CUSTOMERS
CustomerCoupon.customers attribute defined at extension customercouponservices.public CustomerCouponModel()
public CustomerCouponModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public CustomerCouponModel(java.lang.String _couponId)
_couponId - initial attribute declared by type AbstractCoupon at extension couponservices@Deprecated
public CustomerCouponModel(java.lang.String _couponId,
ItemModel _owner)
_couponId - initial attribute declared by type AbstractCoupon at extension couponservices_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="assignable", type=GETTER) public java.lang.Boolean getAssignable()
CustomerCoupon.assignable attribute defined at extension customercouponservices.@Accessor(qualifier="customers", type=GETTER) public java.util.Collection<CustomerModel> getCustomers()
CustomerCoupon.customers attribute defined at extension customercouponservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
CustomerCoupon.description attribute defined at extension customercouponservices.@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
CustomerCoupon.description attribute defined at extension customercouponservices.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="assignable", type=SETTER) public void setAssignable(java.lang.Boolean value)
CustomerCoupon.assignable attribute defined at extension customercouponservices.value - the assignable@Accessor(qualifier="customers", type=SETTER) public void setCustomers(java.util.Collection<CustomerModel> value)
CustomerCoupon.customers attribute defined at extension customercouponservices.value - the customers - Customers@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
CustomerCoupon.description attribute defined at extension customercouponservices.value - the description@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)
CustomerCoupon.description attribute defined at extension customercouponservices.value - the descriptionloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2018 SAP SE. All Rights Reserved.