Class NotificationVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.messaging.notifications.NotificationVO
-
- All Implemented Interfaces:
Serializable,IEntity
public class NotificationVO extends EntityVO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<DateTime,NotificationVO>DATEstatic BasicProperty<Long,NotificationVO>ENTITY_IDstatic BasicProperty<Location,NotificationVO>LOCATIONstatic BasicProperty<String,NotificationVO>MESSAGEstatic BasicProperty<Boolean,NotificationVO>READstatic BasicProperty<UserVO,NotificationVO>RELATED_USERstatic BasicProperty<String,NotificationVO>SUBJECTstatic BasicProperty<INotificationType,NotificationVO>TYPE-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description NotificationVO()NotificationVO(Long id)NotificationVO(Property<T,? super NotificationVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()DateTimegetDate()LonggetEntityId()LocationgetLocation()StringgetMessage()UserVOgetRelatedUser()StringgetSubject()INotificationTypegetType()booleanisRead()voidsetDate(DateTime date)voidsetEntityId(Long entityId)voidsetLocation(Location location)voidsetMessage(String message)voidsetRead(boolean read)voidsetRelatedUser(UserVO relatedUser)voidsetSubject(String subject)voidsetType(INotificationType type)-
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
-
DATE
public static final BasicProperty<DateTime,NotificationVO> DATE
-
ENTITY_ID
public static final BasicProperty<Long,NotificationVO> ENTITY_ID
-
LOCATION
public static final BasicProperty<Location,NotificationVO> LOCATION
-
MESSAGE
public static final BasicProperty<String,NotificationVO> MESSAGE
-
READ
public static final BasicProperty<Boolean,NotificationVO> READ
-
RELATED_USER
public static final BasicProperty<UserVO,NotificationVO> RELATED_USER
-
SUBJECT
public static final BasicProperty<String,NotificationVO> SUBJECT
-
TYPE
public static final BasicProperty<INotificationType,NotificationVO> TYPE
-
-
Constructor Detail
-
NotificationVO
public NotificationVO()
-
NotificationVO
public NotificationVO(Long id)
-
NotificationVO
public NotificationVO(Property<T,? super NotificationVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityModel
-
getDate
public DateTime getDate()
-
setDate
public void setDate(DateTime date)
-
getEntityId
public Long getEntityId()
-
setEntityId
public void setEntityId(Long entityId)
-
getLocation
public Location getLocation()
-
setLocation
public void setLocation(Location location)
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String message)
-
isRead
public boolean isRead()
-
setRead
public void setRead(boolean read)
-
getRelatedUser
public UserVO getRelatedUser()
-
setRelatedUser
public void setRelatedUser(UserVO relatedUser)
-
getSubject
public String getSubject()
-
setSubject
public void setSubject(String subject)
-
getType
public INotificationType getType()
-
setType
public void setType(INotificationType type)
-
-