Class DataTranslationDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.contentmanagement.translations.DataTranslationDTO
-
- All Implemented Interfaces:
Serializable
public class DataTranslationDTO extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<String,DataTranslationDTO>DESCRIPTIONstatic BasicProperty<Long,DataTranslationDTO>ENTITY_IDstatic BasicProperty<DataTranslationType,DataTranslationDTO>TYPEstatic ListProperty<DataTranslationValueDTO,DataTranslationDTO>VALUES
-
Constructor Summary
Constructors Constructor Description DataTranslationDTO()DataTranslationDTO(Property<T,? super DataTranslationDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetDescription()LonggetEntityId()DataTranslationTypegetType()List<DataTranslationValueDTO>getValues()voidsetDescription(String description)voidsetEntityId(Long entityId)voidsetType(DataTranslationType type)voidsetValues(List<DataTranslationValueDTO> values)-
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
-
DESCRIPTION
public static final BasicProperty<String,DataTranslationDTO> DESCRIPTION
-
ENTITY_ID
public static final BasicProperty<Long,DataTranslationDTO> ENTITY_ID
-
TYPE
public static final BasicProperty<DataTranslationType,DataTranslationDTO> TYPE
-
VALUES
public static final ListProperty<DataTranslationValueDTO,DataTranslationDTO> VALUES
-
-
Constructor Detail
-
DataTranslationDTO
public DataTranslationDTO()
-
DataTranslationDTO
public DataTranslationDTO(Property<T,? super DataTranslationDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getEntityId
public Long getEntityId()
-
setEntityId
public void setEntityId(Long entityId)
-
getType
public DataTranslationType getType()
-
setType
public void setType(DataTranslationType type)
-
getValues
public List<DataTranslationValueDTO> getValues()
-
setValues
public void setValues(List<DataTranslationValueDTO> values)
-
-