Modifier and Type | Field and Description |
---|---|
static String |
MESSAGE_VIEW |
Constructor and Description |
---|
Message() |
Message(long timestampInMillis) |
Message(MessageType type,
String subject,
String message) |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String name,
Object value) |
Message |
clone() |
String |
getId() |
String |
getMessage() |
Set<String> |
getPropertNames() |
Object |
getProperty(String name) |
String |
getSender() |
String |
getSubject() |
long |
getTimestamp() |
MessageType |
getType() |
String |
getView() |
boolean |
hasProperty(String name) |
boolean |
isCleared() |
void |
setCleared(boolean cleared) |
void |
setId(String id) |
void |
setMessage(String message) |
void |
setSender(String sender) |
void |
setSubject(String subject) |
void |
setType(MessageType type) |
void |
setView(String view) |
public static final String MESSAGE_VIEW
public Message()
public Message(long timestampInMillis)
public Message(MessageType type, String subject, String message)
public long getTimestamp()
public String getMessage()
public void setMessage(String message)
public String getSubject()
public void setSubject(String subject)
public MessageType getType()
public void setType(MessageType type)
public void setId(String id)
public String getId()
public boolean isCleared()
public void setCleared(boolean cleared)
public String getSender()
public void setSender(String sender)
public String getView()
public void setView(String view)
public Message clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public boolean hasProperty(String name)
Copyright © 2015 Magnolia International Ltd.. All rights reserved.