Class SiteMessageForCustomerModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.notificationservices.model.SiteMessageForCustomerModel
- All Implemented Interfaces:
Serializable
Generated model class for type SiteMessageForCustomer first defined at extension notificationservices.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofSiteMessageForCustomer.customerattribute defined at extensionnotificationservices.static final StringGenerated constant - Attribute key ofSiteMessageForCustomer.messageattribute defined at extensionnotificationservices.static final StringGenerated constant - Attribute key ofSiteMessageForCustomer.sentDateattribute defined at extensionnotificationservices.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.SiteMessageForCustomerModel(CustomerModel _customer, SiteMessageModel _message, ItemModel _owner, Date _sentDate) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersSiteMessageForCustomerModel(CustomerModel _customer, SiteMessageModel _message, Date _sentDate) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theSiteMessageForCustomer.customerattribute defined at extensionnotificationservices.Generated method - Getter of theSiteMessageForCustomer.messageattribute defined at extensionnotificationservices.Generated method - Getter of theSiteMessageForCustomer.sentDateattribute defined at extensionnotificationservices.voidsetCustomer(CustomerModel value) Generated method - Initial setter ofSiteMessageForCustomer.customerattribute defined at extensionnotificationservices.voidsetMessage(SiteMessageModel value) Generated method - Initial setter ofSiteMessageForCustomer.messageattribute defined at extensionnotificationservices.voidsetSentDate(Date value) Generated method - Initial setter ofSiteMessageForCustomer.sentDateattribute defined at extensionnotificationservices.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, 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, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
MESSAGE
Generated constant - Attribute key ofSiteMessageForCustomer.messageattribute defined at extensionnotificationservices.- See Also:
-
CUSTOMER
Generated constant - Attribute key ofSiteMessageForCustomer.customerattribute defined at extensionnotificationservices.- See Also:
-
SENTDATE
Generated constant - Attribute key ofSiteMessageForCustomer.sentDateattribute defined at extensionnotificationservices.- See Also:
-
-
Constructor Details
-
SiteMessageForCustomerModel
public SiteMessageForCustomerModel()Generated constructor - Default constructor for generic creation. -
SiteMessageForCustomerModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
SiteMessageForCustomerModel
@Deprecated(since="4.1.1", forRemoval=true) public SiteMessageForCustomerModel(CustomerModel _customer, SiteMessageModel _message, Date _sentDate) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_customer- initial attribute declared by typeSiteMessageForCustomerat extensionnotificationservices_message- initial attribute declared by typeSiteMessageForCustomerat extensionnotificationservices_sentDate- initial attribute declared by typeSiteMessageForCustomerat extensionnotificationservices
-
SiteMessageForCustomerModel
@Deprecated(since="4.1.1", forRemoval=true) public SiteMessageForCustomerModel(CustomerModel _customer, SiteMessageModel _message, ItemModel _owner, Date _sentDate) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_customer- initial attribute declared by typeSiteMessageForCustomerat extensionnotificationservices_message- initial attribute declared by typeSiteMessageForCustomerat extensionnotificationservices_owner- initial attribute declared by typeItemat extensioncore_sentDate- initial attribute declared by typeSiteMessageForCustomerat extensionnotificationservices
-
-
Method Details
-
getCustomer
Generated method - Getter of theSiteMessageForCustomer.customerattribute defined at extensionnotificationservices.- Returns:
- the customer
-
getMessage
Generated method - Getter of theSiteMessageForCustomer.messageattribute defined at extensionnotificationservices.- Returns:
- the message
-
getSentDate
Generated method - Getter of theSiteMessageForCustomer.sentDateattribute defined at extensionnotificationservices.- Returns:
- the sentDate
-
setCustomer
Generated method - Initial setter ofSiteMessageForCustomer.customerattribute defined at extensionnotificationservices. Can only be used at creation of model - before first save.- Parameters:
value- the customer
-
setMessage
Generated method - Initial setter ofSiteMessageForCustomer.messageattribute defined at extensionnotificationservices. Can only be used at creation of model - before first save.- Parameters:
value- the message
-
setSentDate
Generated method - Initial setter ofSiteMessageForCustomer.sentDateattribute defined at extensionnotificationservices. Can only be used at creation of model - before first save.- Parameters:
value- the sentDate
-