Class ReferenceVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.users.references.ReferenceVO
-
- All Implemented Interfaces:
Serializable,IEntity
- Direct Known Subclasses:
GeneralReferenceVO,ReferenceEntryVO,TransactionFeedbackVO
public abstract class ReferenceVO extends EntityVO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<String,ReferenceVO>COMMENTSstatic BasicProperty<DateTime,ReferenceVO>DATEstatic BasicProperty<ReferenceLevel,ReferenceVO>LEVEL-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description ReferenceVO()ReferenceVO(Long id)ReferenceVO(Property<T,? super ReferenceVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()StringgetComments()DateTimegetDate()ReferenceLevelgetLevel()voidsetComments(String comments)voidsetDate(DateTime date)voidsetLevel(ReferenceLevel level)-
Methods inherited from class org.cyclos.model.EntityModel
getId, setId, toString
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, className, 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
-
COMMENTS
public static final BasicProperty<String,ReferenceVO> COMMENTS
-
DATE
public static final BasicProperty<DateTime,ReferenceVO> DATE
-
LEVEL
public static final BasicProperty<ReferenceLevel,ReferenceVO> LEVEL
-
-
Constructor Detail
-
ReferenceVO
public ReferenceVO()
-
ReferenceVO
public ReferenceVO(Long id)
-
ReferenceVO
public ReferenceVO(Property<T,? super ReferenceVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityModel
-
getComments
public String getComments()
-
setComments
public void setComments(String comments)
-
getDate
public DateTime getDate()
-
setDate
public void setDate(DateTime date)
-
getLevel
public ReferenceLevel getLevel()
-
setLevel
public void setLevel(ReferenceLevel level)
-
-