Class VoucherTemplateData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityData<VoucherTemplateDTO>
-
- org.cyclos.model.banking.vouchertemplates.VoucherTemplateData
-
- All Implemented Interfaces:
Serializable,HasContentData
public class VoucherTemplateData extends EntityData<VoucherTemplateDTO> implements HasContentData
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic ListProperty<CustomScriptVO,VoucherTemplateData>CONTENT_SCRIPTSstatic ListProperty<VoucherTemplateImageVO,VoucherTemplateData>IMAGESstatic ListProperty<ParameterVO,VoucherTemplateData>PARAMETERSstatic ListProperty<VoucherTypeVO,VoucherTemplateData>TYPES-
Fields inherited from class org.cyclos.model.EntityData
CAN_VIEW_HISTORY_LOG, CONFIRMATION_PASSWORD_INPUT, DTO, EDITABLE, LOG_TYPE, REMOVABLE, TRANSLATED_PROPERTY_TYPES, TRANSLATED_VALUES
-
-
Constructor Summary
Constructors Constructor Description VoucherTemplateData()VoucherTemplateData(Property<T,? super VoucherTemplateData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()List<CustomScriptVO>getContentScripts()List<VoucherTemplateImageVO>getImages()List<ParameterVO>getParameters()List<VoucherTypeVO>getTypes()voidsetContentScripts(List<CustomScriptVO> contentScripts)voidsetImages(List<VoucherTemplateImageVO> images)voidsetParameters(List<ParameterVO> parameters)voidsetTypes(List<VoucherTypeVO> types)-
Methods inherited from class org.cyclos.model.EntityData
getConfirmationPasswordInput, getDto, getLogType, getTranslatedPropertyTypes, getTranslatedValues, isCanViewHistoryLog, isEditable, isRemovable, setCanViewHistoryLog, setConfirmationPasswordInput, setDto, setEditable, setLogType, setRemovable, setTranslatedPropertyTypes, setTranslatedValues
-
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
-
CONTENT_SCRIPTS
public static final ListProperty<CustomScriptVO,VoucherTemplateData> CONTENT_SCRIPTS
-
IMAGES
public static final ListProperty<VoucherTemplateImageVO,VoucherTemplateData> IMAGES
-
PARAMETERS
public static final ListProperty<ParameterVO,VoucherTemplateData> PARAMETERS
-
TYPES
public static final ListProperty<VoucherTypeVO,VoucherTemplateData> TYPES
-
-
Constructor Detail
-
VoucherTemplateData
public VoucherTemplateData()
-
VoucherTemplateData
public VoucherTemplateData(Property<T,? super VoucherTemplateData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityData<VoucherTemplateDTO>
-
getContentScripts
public List<CustomScriptVO> getContentScripts()
- Specified by:
getContentScriptsin interfaceHasContentData
-
setContentScripts
public void setContentScripts(List<CustomScriptVO> contentScripts)
- Specified by:
setContentScriptsin interfaceHasContentData
-
getImages
public List<VoucherTemplateImageVO> getImages()
-
setImages
public void setImages(List<VoucherTemplateImageVO> images)
-
getParameters
public List<ParameterVO> getParameters()
- Specified by:
getParametersin interfaceHasContentData
-
setParameters
public void setParameters(List<ParameterVO> parameters)
- Specified by:
setParametersin interfaceHasContentData
-
getTypes
public List<VoucherTypeVO> getTypes()
-
setTypes
public void setTypes(List<VoucherTypeVO> types)
-
-