Class DocumentDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.contentmanagement.documents.DocumentDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,INamedEntity
- Direct Known Subclasses:
SharedDocumentDTO,UserDocumentDTO
public abstract class DocumentDTO extends NamedEntityDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<String,DocumentDTO>DESCRIPTIONstatic BasicProperty<Boolean,DocumentDTO>ENABLE-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description DocumentDTO()DocumentDTO(Long id)DocumentDTO(Property<T,? super DocumentDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()StringgetDescription()booleanisEnable()voidsetDescription(String description)voidsetEnable(boolean enable)-
Methods inherited from class org.cyclos.model.NamedEntityDTO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.EntityModel
equals, getId, hashCode, setId
-
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
-
DESCRIPTION
public static final BasicProperty<String,DocumentDTO> DESCRIPTION
-
ENABLE
public static final BasicProperty<Boolean,DocumentDTO> ENABLE
-
-
Constructor Detail
-
DocumentDTO
public DocumentDTO()
-
DocumentDTO
public DocumentDTO(Long id)
-
DocumentDTO
public DocumentDTO(Property<T,? super DocumentDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classNamedEntityDTO
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
isEnable
public boolean isEnable()
-
setEnable
public void setEnable(boolean enable)
-
-