Class MessagesStatusVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.messaging.messages.MessagesStatusVO
-
- All Implemented Interfaces:
Serializable
public class MessagesStatusVO extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<DateTime,MessagesStatusVO>LAST_VIEW_DATEstatic BasicProperty<Integer,MessagesStatusVO>NEW_MESSAGESstatic BasicProperty<Integer,MessagesStatusVO>UNREAD_MESSAGES
-
Constructor Summary
Constructors Constructor Description MessagesStatusVO()MessagesStatusVO(Property<T,? super MessagesStatusVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()DateTimegetLastViewDate()intgetNewMessages()intgetUnreadMessages()voidsetLastViewDate(DateTime lastViewDate)voidsetNewMessages(int newMessages)voidsetUnreadMessages(int unreadMessages)-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
LAST_VIEW_DATE
public static final BasicProperty<DateTime,MessagesStatusVO> LAST_VIEW_DATE
-
NEW_MESSAGES
public static final BasicProperty<Integer,MessagesStatusVO> NEW_MESSAGES
-
UNREAD_MESSAGES
public static final BasicProperty<Integer,MessagesStatusVO> UNREAD_MESSAGES
-
-
Constructor Detail
-
MessagesStatusVO
public MessagesStatusVO()
-
MessagesStatusVO
public MessagesStatusVO(Property<T,? super MessagesStatusVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getLastViewDate
public DateTime getLastViewDate()
-
setLastViewDate
public void setLastViewDate(DateTime lastViewDate)
-
getNewMessages
public int getNewMessages()
-
setNewMessages
public void setNewMessages(int newMessages)
-
getUnreadMessages
public int getUnreadMessages()
-
setUnreadMessages
public void setUnreadMessages(int unreadMessages)
-
-