Class DocumentVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.NamedEntityVO
-
- org.cyclos.model.contentmanagement.documents.DocumentVO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityVO>,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
DynamicDocumentVO,StaticDocumentVO
public class DocumentVO extends NamedEntityVO implements IInternalNamedEntity
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<DocumentCategoryVO,DocumentVO>CATEGORYstatic StringCLASS_NAMEstatic BasicProperty<String,DocumentVO>DESCRIPTIONstatic BasicProperty<RawFileVO,DocumentVO>FILEstatic BasicProperty<String,DocumentVO>INTERNAL_NAMEstatic BasicProperty<DocumentNature,DocumentVO>NATURE-
Fields inherited from class org.cyclos.model.NamedEntityVO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description DocumentVO()DocumentVO(Long id)DocumentVO(Property<T,? super DocumentVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()DocumentCategoryVOgetCategory()StringgetDescription()RawFileVOgetFile()StringgetInternalName()DocumentNaturegetNature()voidsetCategory(DocumentCategoryVO category)voidsetDescription(String description)voidsetFile(RawFileVO file)voidsetInternalName(String internalName)voidsetNature(DocumentNature nature)-
Methods inherited from class org.cyclos.model.NamedEntityVO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityModel
getId, hashCode, setId
-
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
CATEGORY
public static final BasicProperty<DocumentCategoryVO,DocumentVO> CATEGORY
-
DESCRIPTION
public static final BasicProperty<String,DocumentVO> DESCRIPTION
-
FILE
public static final BasicProperty<RawFileVO,DocumentVO> FILE
-
INTERNAL_NAME
public static final BasicProperty<String,DocumentVO> INTERNAL_NAME
-
NATURE
public static final BasicProperty<DocumentNature,DocumentVO> NATURE
-
-
Constructor Detail
-
DocumentVO
public DocumentVO()
-
DocumentVO
public DocumentVO(Long id)
-
DocumentVO
public DocumentVO(Property<T,? super DocumentVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classNamedEntityVO
-
getCategory
public DocumentCategoryVO getCategory()
-
setCategory
public void setCategory(DocumentCategoryVO category)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getFile
public RawFileVO getFile()
-
setFile
public void setFile(RawFileVO file)
-
getInternalName
public String getInternalName()
- Specified by:
getInternalNamein interfaceIInternalNamedEntity- Returns:
- the internal name.
-
setInternalName
public void setInternalName(String internalName)
- Specified by:
setInternalNamein interfaceIInternalNamedEntity- Parameters:
internalName- the internal name to be set.
-
getNature
public DocumentNature getNature()
-
setNature
public void setNature(DocumentNature nature)
-
-