Class MarketingMessage
- java.lang.Object
-
- com.broadleafcommerce.catalogbrowse.domain.marketing.MarketingMessage
-
- All Implemented Interfaces:
Serializable
public class MarketingMessage extends Object implements Serializable
Represents a marketing message to be displayed to the customer.- Author:
- Jon Fleschler (jfleschler)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MarketingMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetDisplayHint()Any display hint needed by the front-endStringgetId()IntegergetPriority()The message's priorityStringgetText()The message's text to display to the customerinthashCode()voidsetDisplayHint(String displayHint)Any display hint needed by the front-endvoidsetId(String id)voidsetPriority(Integer priority)The message's priorityvoidsetText(String text)The message's text to display to the customerStringtoString()
-
-
-
Method Detail
-
getId
public String getId()
-
getText
public String getText()
The message's text to display to the customer- Returns:
- the message text
-
getPriority
public Integer getPriority()
The message's priority- Returns:
- the message priority
-
getDisplayHint
public String getDisplayHint()
Any display hint needed by the front-end- Returns:
- the display hint for the front-end
-
setId
public void setId(String id)
-
setText
public void setText(String text)
The message's text to display to the customer
-
setPriority
public void setPriority(Integer priority)
The message's priority
-
setDisplayHint
public void setDisplayHint(String displayHint)
Any display hint needed by the front-end
-
canEqual
protected boolean canEqual(Object other)
-
-