Class NewMessagePushNotificationData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.messaging.messages.NewMessagePushNotificationData
-
- All Implemented Interfaces:
Serializable
public class NewMessagePushNotificationData extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<IncomingMessageVO,NewMessagePushNotificationData>MESSAGEstatic BasicProperty<Integer,NewMessagePushNotificationData>NEW_MESSAGESstatic BasicProperty<Integer,NewMessagePushNotificationData>UNREAD_MESSAGES
-
Constructor Summary
Constructors Constructor Description NewMessagePushNotificationData()NewMessagePushNotificationData(Property<T,? super NewMessagePushNotificationData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()IncomingMessageVOgetMessage()intgetNewMessages()intgetUnreadMessages()voidsetMessage(IncomingMessageVO message)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
-
MESSAGE
public static final BasicProperty<IncomingMessageVO,NewMessagePushNotificationData> MESSAGE
-
NEW_MESSAGES
public static final BasicProperty<Integer,NewMessagePushNotificationData> NEW_MESSAGES
-
UNREAD_MESSAGES
public static final BasicProperty<Integer,NewMessagePushNotificationData> UNREAD_MESSAGES
-
-
Constructor Detail
-
NewMessagePushNotificationData
public NewMessagePushNotificationData()
-
NewMessagePushNotificationData
public NewMessagePushNotificationData(Property<T,? super NewMessagePushNotificationData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getMessage
public IncomingMessageVO getMessage()
-
setMessage
public void setMessage(IncomingMessageVO message)
-
getNewMessages
public int getNewMessages()
-
setNewMessages
public void setNewMessages(int newMessages)
-
getUnreadMessages
public int getUnreadMessages()
-
setUnreadMessages
public void setUnreadMessages(int unreadMessages)
-
-