Class MessageVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.messaging.messages.MessageVO
-
- All Implemented Interfaces:
Serializable,IEntity
- Direct Known Subclasses:
DetailedMessageVO
public class MessageVO extends EntityVO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<MessageCategoryVO,MessageVO>CATEGORYstatic StringCLASS_NAMEstatic BasicProperty<DateTime,MessageVO>DATEstatic BasicProperty<MessageBox,MessageVO>MESSAGE_BOXstatic BasicProperty<MessageOwner,MessageVO>MESSAGE_OWNERstatic BasicProperty<MessageNature,MessageVO>NATUREstatic BasicProperty<UserVO,MessageVO>OWNERstatic BasicProperty<Boolean,MessageVO>READstatic BasicProperty<DateTime,MessageVO>REMOVED_ATstatic BasicProperty<Boolean,MessageVO>REPLIEDstatic BasicProperty<String,MessageVO>SUBJECT-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()MessageCategoryVOgetCategory()DateTimegetDate()MessageBoxgetMessageBox()MessageOwnergetMessageOwner()MessageNaturegetNature()UserVOgetOwner()DateTimegetRemovedAt()StringgetSubject()booleanisRead()booleanisReplied()voidsetCategory(MessageCategoryVO category)voidsetDate(DateTime date)voidsetMessageBox(MessageBox messageBox)voidsetMessageOwner(MessageOwner messageOwner)voidsetNature(MessageNature nature)voidsetOwner(UserVO owner)voidsetRead(boolean read)voidsetRemovedAt(DateTime removedAt)voidsetReplied(boolean replied)voidsetSubject(String subject)-
Methods inherited from class org.cyclos.model.EntityModel
getId, setId, toString
-
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
-
CATEGORY
public static final BasicProperty<MessageCategoryVO,MessageVO> CATEGORY
-
DATE
public static final BasicProperty<DateTime,MessageVO> DATE
-
MESSAGE_BOX
public static final BasicProperty<MessageBox,MessageVO> MESSAGE_BOX
-
MESSAGE_OWNER
public static final BasicProperty<MessageOwner,MessageVO> MESSAGE_OWNER
-
NATURE
public static final BasicProperty<MessageNature,MessageVO> NATURE
-
OWNER
public static final BasicProperty<UserVO,MessageVO> OWNER
-
READ
public static final BasicProperty<Boolean,MessageVO> READ
-
REMOVED_AT
public static final BasicProperty<DateTime,MessageVO> REMOVED_AT
-
REPLIED
public static final BasicProperty<Boolean,MessageVO> REPLIED
-
SUBJECT
public static final BasicProperty<String,MessageVO> SUBJECT
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityModel
-
getCategory
public MessageCategoryVO getCategory()
-
setCategory
public void setCategory(MessageCategoryVO category)
-
getDate
public DateTime getDate()
-
setDate
public void setDate(DateTime date)
-
getMessageBox
public MessageBox getMessageBox()
-
setMessageBox
public void setMessageBox(MessageBox messageBox)
-
getMessageOwner
public MessageOwner getMessageOwner()
-
setMessageOwner
public void setMessageOwner(MessageOwner messageOwner)
-
getNature
public MessageNature getNature()
-
setNature
public void setNature(MessageNature nature)
-
getOwner
public UserVO getOwner()
-
setOwner
public void setOwner(UserVO owner)
-
isRead
public boolean isRead()
-
setRead
public void setRead(boolean read)
-
getRemovedAt
public DateTime getRemovedAt()
-
setRemovedAt
public void setRemovedAt(DateTime removedAt)
-
isReplied
public boolean isReplied()
-
setReplied
public void setReplied(boolean replied)
-
getSubject
public String getSubject()
-
setSubject
public void setSubject(String subject)
-
-