public abstract class Message extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Message.Factory
Constructs new instances of
Message . |
Constructor and Description |
---|
Message() |
Modifier and Type | Method and Description |
---|---|
String |
attributesToString()
Builds a string showing the current attribute values
|
boolean |
equals(Object object)
Returns
true if the argument is an Message instance and all identifiers for this
entity equal the identifiers of the argument entity. |
Long |
getId() |
Language |
getLanguage() |
String |
getMessage()
The message.
|
String |
getMessageKey()
The key for the message
|
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
boolean |
isIsHtml()
Specifies, if the selected value is html or not.
|
void |
setId(Long id) |
void |
setIsHtml(boolean isHtml) |
void |
setLanguage(Language language) |
void |
setMessage(String message) |
void |
setMessageKey(String messageKey) |
public String attributesToString()
public boolean equals(Object object)
true
if the argument is an Message instance and all identifiers for this
entity equal the identifiers of the argument entity. Returns false
otherwise.public Long getId()
public Language getLanguage()
public String getMessage()
The message.
public String getMessageKey()
The key for the message
public int hashCode()
public boolean isIsHtml()
Specifies, if the selected value is html or not.
public void setId(Long id)
public void setIsHtml(boolean isHtml)
public void setLanguage(Language language)
public void setMessage(String message)
public void setMessageKey(String messageKey)
Copyright © 2019 Communote team. All rights reserved.