public class ConsentModel extends ItemModel
A consent instance associated with a customer.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
ACTIVE
Generated constant - Attribute key of
Consent.active attribute defined at extension commerceservices. |
static java.lang.String |
CODE
Generated constant - Attribute key of
Consent.code attribute defined at extension commerceservices. |
static java.lang.String |
CONSENTGIVENDATE
Generated constant - Attribute key of
Consent.consentGivenDate attribute defined at extension commerceservices. |
static java.lang.String |
CONSENTTEMPLATE
Generated constant - Attribute key of
Consent.consentTemplate attribute defined at extension commerceservices. |
static java.lang.String |
CONSENTWITHDRAWNDATE
Generated constant - Attribute key of
Consent.consentWithdrawnDate attribute defined at extension commerceservices. |
static java.lang.String |
CUSTOMER
Generated constant - Attribute key of
Consent.customer attribute defined at extension commerceservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ConsentModel()
Generated constructor - Default constructor for generic creation.
|
ConsentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
ConsentModel(java.lang.String _code,
ConsentTemplateModel _consentTemplate,
CustomerModel _customer)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ConsentModel(java.lang.String _code,
ConsentTemplateModel _consentTemplate,
CustomerModel _customer,
ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode()
Generated method - Getter of the
Consent.code attribute defined at extension commerceservices. |
java.util.Date |
getConsentGivenDate()
Generated method - Getter of the
Consent.consentGivenDate attribute defined at extension commerceservices. |
ConsentTemplateModel |
getConsentTemplate()
Generated method - Getter of the
Consent.consentTemplate attribute defined at extension commerceservices. |
java.util.Date |
getConsentWithdrawnDate()
Generated method - Getter of the
Consent.consentWithdrawnDate attribute defined at extension commerceservices. |
CustomerModel |
getCustomer()
Generated method - Getter of the
Consent.customer attribute defined at extension commerceservices. |
boolean |
isActive()
Generated method - Getter of the
Consent.active dynamic attribute defined at extension commerceservices. |
void |
setCode(java.lang.String value)
Generated method - Setter of
Consent.code attribute defined at extension commerceservices. |
void |
setConsentGivenDate(java.util.Date value)
Generated method - Setter of
Consent.consentGivenDate attribute defined at extension commerceservices. |
void |
setConsentTemplate(ConsentTemplateModel value)
Generated method - Setter of
Consent.consentTemplate attribute defined at extension commerceservices. |
void |
setConsentWithdrawnDate(java.util.Date value)
Generated method - Setter of
Consent.consentWithdrawnDate attribute defined at extension commerceservices. |
void |
setCustomer(CustomerModel value)
Generated method - Setter of
Consent.customer attribute defined at extension commerceservices. |
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 CODE
Consent.code attribute defined at extension commerceservices.public static final java.lang.String CUSTOMER
Consent.customer attribute defined at extension commerceservices.public static final java.lang.String CONSENTTEMPLATE
Consent.consentTemplate attribute defined at extension commerceservices.public static final java.lang.String CONSENTGIVENDATE
Consent.consentGivenDate attribute defined at extension commerceservices.public static final java.lang.String CONSENTWITHDRAWNDATE
Consent.consentWithdrawnDate attribute defined at extension commerceservices.public static final java.lang.String ACTIVE
Consent.active attribute defined at extension commerceservices.public ConsentModel()
public ConsentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated
public ConsentModel(java.lang.String _code,
ConsentTemplateModel _consentTemplate,
CustomerModel _customer)
_code - initial attribute declared by type Consent at extension commerceservices_consentTemplate - initial attribute declared by type Consent at extension commerceservices_customer - initial attribute declared by type Consent at extension commerceservices@Deprecated
public ConsentModel(java.lang.String _code,
ConsentTemplateModel _consentTemplate,
CustomerModel _customer,
ItemModel _owner)
_code - initial attribute declared by type Consent at extension commerceservices_consentTemplate - initial attribute declared by type Consent at extension commerceservices_customer - initial attribute declared by type Consent at extension commerceservices_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Consent.code attribute defined at extension commerceservices.@Accessor(qualifier="consentGivenDate", type=GETTER) public java.util.Date getConsentGivenDate()
Consent.consentGivenDate attribute defined at extension commerceservices.@Accessor(qualifier="consentTemplate", type=GETTER) public ConsentTemplateModel getConsentTemplate()
Consent.consentTemplate attribute defined at extension commerceservices.@Accessor(qualifier="consentWithdrawnDate", type=GETTER) public java.util.Date getConsentWithdrawnDate()
Consent.consentWithdrawnDate attribute defined at extension commerceservices.@Accessor(qualifier="customer", type=GETTER) public CustomerModel getCustomer()
Consent.customer attribute defined at extension commerceservices.@Accessor(qualifier="active", type=GETTER) public boolean isActive()
Consent.active dynamic attribute defined at extension commerceservices.@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Consent.code attribute defined at extension commerceservices.value - the code@Accessor(qualifier="consentGivenDate", type=SETTER) public void setConsentGivenDate(java.util.Date value)
Consent.consentGivenDate attribute defined at extension commerceservices.value - the consentGivenDate - The timestamp when consent was given by the customer@Accessor(qualifier="consentTemplate", type=SETTER) public void setConsentTemplate(ConsentTemplateModel value)
Consent.consentTemplate attribute defined at extension commerceservices.value - the consentTemplate - The Consent Reference@Accessor(qualifier="consentWithdrawnDate", type=SETTER) public void setConsentWithdrawnDate(java.util.Date value)
Consent.consentWithdrawnDate attribute defined at extension commerceservices.value - the consentWithdrawnDate - The timestamp when consent was withdrawn by the customer@Accessor(qualifier="customer", type=SETTER) public void setCustomer(CustomerModel value)
Consent.customer attribute defined at extension commerceservices.value - the customer - The customer for which the consent is recordedCopyright © 2018 SAP SE. All Rights Reserved.