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_TYPECODEGenerated model type code constant.static java.lang.StringCUSTOMERGenerated constant - Attribute key ofSiteMessageForCustomer.customerattribute defined at extensionnotificationservices.static java.lang.StringMESSAGEGenerated constant - Attribute key ofSiteMessageForCustomer.messageattribute defined at extensionnotificationservices.static java.lang.StringSENTDATEGenerated 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, 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 CustomerModelgetCustomer()Generated method - Getter of theSiteMessageForCustomer.customerattribute defined at extensionnotificationservices.SiteMessageModelgetMessage()Generated method - Getter of theSiteMessageForCustomer.messageattribute defined at extensionnotificationservices.java.util.DategetSentDate()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(java.util.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, 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.messageattribute defined at extensionnotificationservices.- See Also:
- Constant Field Values
-
CUSTOMER
public static final java.lang.String CUSTOMER
Generated constant - Attribute key ofSiteMessageForCustomer.customerattribute defined at extensionnotificationservices.- See Also:
- Constant Field Values
-
SENTDATE
public static final java.lang.String SENTDATE
Generated constant - Attribute key ofSiteMessageForCustomer.sentDateattribute 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 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, 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 typeSiteMessageForCustomerat extensionnotificationservices_message- initial attribute declared by typeSiteMessageForCustomerat extensionnotificationservices_owner- initial attribute declared by typeItemat extensioncore_sentDate- initial attribute declared by typeSiteMessageForCustomerat extensionnotificationservices
-
-
Method Detail
-
getCustomer
@Accessor(qualifier="customer", type=GETTER) public CustomerModel getCustomer()
Generated method - Getter of theSiteMessageForCustomer.customerattribute defined at extensionnotificationservices.- Returns:
- the customer
-
getMessage
@Accessor(qualifier="message", type=GETTER) public SiteMessageModel getMessage()
Generated method - Getter of theSiteMessageForCustomer.messageattribute defined at extensionnotificationservices.- Returns:
- the message
-
getSentDate
@Accessor(qualifier="sentDate", type=GETTER) public java.util.Date getSentDate()
Generated method - Getter of theSiteMessageForCustomer.sentDateattribute defined at extensionnotificationservices.- Returns:
- the sentDate
-
setCustomer
@Accessor(qualifier="customer", type=SETTER) public void setCustomer(CustomerModel value)
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
@Accessor(qualifier="message", type=SETTER) public void setMessage(SiteMessageModel value)
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
@Accessor(qualifier="sentDate", type=SETTER) public void setSentDate(java.util.Date value)
Generated method - Initial setter ofSiteMessageForCustomer.sentDateattribute defined at extensionnotificationservices. Can only be used at creation of model - before first save.- Parameters:
value- the sentDate
-
-