public class MessageData extends Bean
| Modifier and Type | Field and Description |
|---|---|
static BasicProperty<java.lang.Boolean,MessageData> |
CAN_MARK_UNREAD |
static BasicProperty<java.lang.Boolean,MessageData> |
CAN_MOVE_TO_TRASH |
static BasicProperty<java.lang.Boolean,MessageData> |
CAN_REMOVE |
static BasicProperty<java.lang.Boolean,MessageData> |
CAN_RESTORE |
static java.lang.String |
CLASS_NAME |
static BasicProperty<DetailedMessageVO,MessageData> |
MESSAGE |
static ListProperty<MessageVO,MessageData> |
REPLIES |
| Constructor and Description |
|---|
MessageData() |
MessageData(Property<T,? super MessageData> property,
T value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
className() |
protected java.util.List<Property<?,?>> |
doGetProperties() |
DetailedMessageVO |
getMessage() |
java.util.List<MessageVO> |
getReplies() |
boolean |
isCanMarkUnread() |
boolean |
isCanMoveToTrash() |
boolean |
isCanRemove() |
boolean |
isCanRestore() |
void |
setCanMarkUnread(boolean canMarkUnread) |
void |
setCanMoveToTrash(boolean canMoveToTrash) |
void |
setCanRemove(boolean canRemove) |
void |
setCanRestore(boolean canRestore) |
void |
setMessage(DetailedMessageVO message) |
void |
setReplies(java.util.List<MessageVO> replies) |
addPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, clearAttributes, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, set, setAttributepublic static final java.lang.String CLASS_NAME
public static final BasicProperty<java.lang.Boolean,MessageData> CAN_MARK_UNREAD
public static final BasicProperty<java.lang.Boolean,MessageData> CAN_MOVE_TO_TRASH
public static final BasicProperty<java.lang.Boolean,MessageData> CAN_REMOVE
public static final BasicProperty<java.lang.Boolean,MessageData> CAN_RESTORE
public static final BasicProperty<DetailedMessageVO,MessageData> MESSAGE
public static final ListProperty<MessageVO,MessageData> REPLIES
public MessageData()
public MessageData(Property<T,? super MessageData> property, T value)
protected java.util.List<Property<?,?>> doGetProperties()
doGetProperties in class Beanpublic boolean isCanMarkUnread()
public void setCanMarkUnread(boolean canMarkUnread)
public boolean isCanMoveToTrash()
public void setCanMoveToTrash(boolean canMoveToTrash)
public boolean isCanRemove()
public void setCanRemove(boolean canRemove)
public boolean isCanRestore()
public void setCanRestore(boolean canRestore)
public DetailedMessageVO getMessage()
public void setMessage(DetailedMessageVO message)
public java.util.List<MessageVO> getReplies()
public void setReplies(java.util.List<MessageVO> replies)