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:
java.io.Serializable
public class SiteMessageForCustomerModel extends ItemModel
Generated model class for type SiteMessageForCustomer first defined at extension notificationservices.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
CUSTOMER
Generated constant - Attribute key ofSiteMessageForCustomer.customer
attribute defined at extensionnotificationservices
.static java.lang.String
MESSAGE
Generated constant - Attribute key ofSiteMessageForCustomer.message
attribute defined at extensionnotificationservices
.static java.lang.String
SENTDATE
Generated constant - Attribute key ofSiteMessageForCustomer.sentDate
attribute defined at extensionnotificationservices
.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description SiteMessageForCustomerModel()
Generated constructor - Default constructor for generic creation.SiteMessageForCustomerModel(CustomerModel _customer, SiteMessageModel _message, ItemModel _owner, java.util.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, java.util.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(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomerModel
getCustomer()
Generated method - Getter of theSiteMessageForCustomer.customer
attribute defined at extensionnotificationservices
.SiteMessageModel
getMessage()
Generated method - Getter of theSiteMessageForCustomer.message
attribute defined at extensionnotificationservices
.java.util.Date
getSentDate()
Generated method - Getter of theSiteMessageForCustomer.sentDate
attribute defined at extensionnotificationservices
.void
setCustomer(CustomerModel value)
Generated method - Initial setter ofSiteMessageForCustomer.customer
attribute defined at extensionnotificationservices
.void
setMessage(SiteMessageModel value)
Generated method - Initial setter ofSiteMessageForCustomer.message
attribute defined at extensionnotificationservices
.void
setSentDate(java.util.Date value)
Generated method - Initial setter ofSiteMessageForCustomer.sentDate
attribute defined at extensionnotificationservices
.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods 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 Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
MESSAGE
public static final java.lang.String MESSAGE
Generated constant - Attribute key ofSiteMessageForCustomer.message
attribute defined at extensionnotificationservices
.- See Also:
- Constant Field Values
-
CUSTOMER
public static final java.lang.String CUSTOMER
Generated constant - Attribute key ofSiteMessageForCustomer.customer
attribute defined at extensionnotificationservices
.- See Also:
- Constant Field Values
-
SENTDATE
public static final java.lang.String SENTDATE
Generated constant - Attribute key ofSiteMessageForCustomer.sentDate
attribute defined at extensionnotificationservices
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SiteMessageForCustomerModel
public SiteMessageForCustomerModel()
Generated constructor - Default constructor for generic creation.
-
SiteMessageForCustomerModel
public SiteMessageForCustomerModel(ItemModelContext ctx)
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, java.util.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 typeSiteMessageForCustomer
at extensionnotificationservices
_message
- initial attribute declared by typeSiteMessageForCustomer
at extensionnotificationservices
_sentDate
- initial attribute declared by typeSiteMessageForCustomer
at extensionnotificationservices
-
SiteMessageForCustomerModel
@Deprecated(since="4.1.1", forRemoval=true) public SiteMessageForCustomerModel(CustomerModel _customer, SiteMessageModel _message, ItemModel _owner, java.util.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 typeSiteMessageForCustomer
at extensionnotificationservices
_message
- initial attribute declared by typeSiteMessageForCustomer
at extensionnotificationservices
_owner
- initial attribute declared by typeItem
at extensioncore
_sentDate
- initial attribute declared by typeSiteMessageForCustomer
at extensionnotificationservices
-
-
Method Detail
-
getCustomer
@Accessor(qualifier="customer", type=GETTER) public CustomerModel getCustomer()
Generated method - Getter of theSiteMessageForCustomer.customer
attribute defined at extensionnotificationservices
.- Returns:
- the customer
-
getMessage
@Accessor(qualifier="message", type=GETTER) public SiteMessageModel getMessage()
Generated method - Getter of theSiteMessageForCustomer.message
attribute defined at extensionnotificationservices
.- Returns:
- the message
-
getSentDate
@Accessor(qualifier="sentDate", type=GETTER) public java.util.Date getSentDate()
Generated method - Getter of theSiteMessageForCustomer.sentDate
attribute defined at extensionnotificationservices
.- Returns:
- the sentDate
-
setCustomer
@Accessor(qualifier="customer", type=SETTER) public void setCustomer(CustomerModel value)
Generated method - Initial setter ofSiteMessageForCustomer.customer
attribute defined at extensionnotificationservices
. Can only be used at creation of model - before first save.- Parameters:
value
- the customer
-
setMessage
@Accessor(qualifier="message", type=SETTER) public void setMessage(SiteMessageModel value)
Generated method - Initial setter ofSiteMessageForCustomer.message
attribute defined at extensionnotificationservices
. Can only be used at creation of model - before first save.- Parameters:
value
- the message
-
setSentDate
@Accessor(qualifier="sentDate", type=SETTER) public void setSentDate(java.util.Date value)
Generated method - Initial setter ofSiteMessageForCustomer.sentDate
attribute defined at extensionnotificationservices
. Can only be used at creation of model - before first save.- Parameters:
value
- the sentDate
-
-