Class DataTranslationData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.contentmanagement.translations.DataTranslationData
-
- All Implemented Interfaces:
Serializable
public class DataTranslationData extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Boolean,DataTranslationData>ALLOW_THYMELEAFstatic StringCLASS_NAMEstatic BasicProperty<LanguageVO,DataTranslationData>LANGUAGE_VOstatic ListProperty<DataTranslationPropertyData,DataTranslationData>PROPERTIESstatic ListProperty<DataTranslationDTO,DataTranslationData>TRANSLATIONSstatic BasicProperty<DataTranslationType,DataTranslationData>TYPE
-
Constructor Summary
Constructors Constructor Description DataTranslationData()DataTranslationData(Property<T,? super DataTranslationData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()LanguageVOgetLanguageVO()List<DataTranslationPropertyData>getProperties()List<DataTranslationDTO>getTranslations()DataTranslationTypegetType()booleanisAllowThymeleaf()voidsetAllowThymeleaf(boolean allowThymeleaf)voidsetLanguageVO(LanguageVO languageVO)voidsetProperties(List<DataTranslationPropertyData> properties)voidsetTranslations(List<DataTranslationDTO> translations)voidsetType(DataTranslationType type)-
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
-
ALLOW_THYMELEAF
public static final BasicProperty<Boolean,DataTranslationData> ALLOW_THYMELEAF
-
LANGUAGE_VO
public static final BasicProperty<LanguageVO,DataTranslationData> LANGUAGE_VO
-
PROPERTIES
public static final ListProperty<DataTranslationPropertyData,DataTranslationData> PROPERTIES
-
TRANSLATIONS
public static final ListProperty<DataTranslationDTO,DataTranslationData> TRANSLATIONS
-
TYPE
public static final BasicProperty<DataTranslationType,DataTranslationData> TYPE
-
-
Constructor Detail
-
DataTranslationData
public DataTranslationData()
-
DataTranslationData
public DataTranslationData(Property<T,? super DataTranslationData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
isAllowThymeleaf
public boolean isAllowThymeleaf()
-
setAllowThymeleaf
public void setAllowThymeleaf(boolean allowThymeleaf)
-
getLanguageVO
public LanguageVO getLanguageVO()
-
setLanguageVO
public void setLanguageVO(LanguageVO languageVO)
-
getProperties
public List<DataTranslationPropertyData> getProperties()
-
setProperties
public void setProperties(List<DataTranslationPropertyData> properties)
-
getTranslations
public List<DataTranslationDTO> getTranslations()
-
setTranslations
public void setTranslations(List<DataTranslationDTO> translations)
-
getType
public DataTranslationType getType()
-
setType
public void setType(DataTranslationType type)
-
-