Class BaseStaticContentDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.contentmanagement.staticcontents.BaseStaticContentDTO
-
- All Implemented Interfaces:
Serializable,IEntity
- Direct Known Subclasses:
BaseHelpContentDTO,BaseSectionContentDTO
public abstract class BaseStaticContentDTO extends EntityDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<ConfigurationVO,BaseStaticContentDTO>CONFIGURATIONstatic BasicProperty<String,BaseStaticContentDTO>CONTENTstatic BasicProperty<StaticContentNature,BaseStaticContentDTO>NATURE-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description BaseStaticContentDTO()BaseStaticContentDTO(Long id)BaseStaticContentDTO(Property<T,? super BaseStaticContentDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()ConfigurationVOgetConfiguration()StringgetContent()StaticContentNaturegetNature()voidsetConfiguration(ConfigurationVO configuration)voidsetContent(String content)voidsetNature(StaticContentNature nature)-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, className, clearAttributes, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, set, set, setAttribute, setWithPropagationId
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
CONFIGURATION
public static final BasicProperty<ConfigurationVO,BaseStaticContentDTO> CONFIGURATION
-
CONTENT
public static final BasicProperty<String,BaseStaticContentDTO> CONTENT
-
NATURE
public static final BasicProperty<StaticContentNature,BaseStaticContentDTO> NATURE
-
-
Constructor Detail
-
BaseStaticContentDTO
public BaseStaticContentDTO()
-
BaseStaticContentDTO
public BaseStaticContentDTO(Long id)
-
BaseStaticContentDTO
public BaseStaticContentDTO(Property<T,? super BaseStaticContentDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityDTO
-
getConfiguration
public ConfigurationVO getConfiguration()
-
setConfiguration
public void setConfiguration(ConfigurationVO configuration)
-
getContent
public String getContent()
-
setContent
public void setContent(String content)
-
getNature
public StaticContentNature getNature()
-
setNature
public void setNature(StaticContentNature nature)
-
-