Class VoucherTemplateDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.ConfigurationEntityDTO
-
- org.cyclos.model.banking.vouchertemplates.VoucherTemplateDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,HasContentScriptDTO,IEntity,IInternalNamedEntity,INamedEntity
public class VoucherTemplateDTO extends ConfigurationEntityDTO implements HasContentScriptDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Long,VoucherTemplateDTO>BASED_ON_IDstatic StringCLASS_NAMEstatic BasicProperty<String,VoucherTemplateDTO>CONTENTstatic BasicProperty<CustomScriptVO,VoucherTemplateDTO>CONTENT_SCRIPTstatic BasicProperty<String,VoucherTemplateDTO>CONTENT_SCRIPT_PARAMETERSstatic BasicProperty<String,VoucherTemplateDTO>STYLE-
Fields inherited from class org.cyclos.model.ConfigurationEntityDTO
DESCRIPTION, INTERNAL_NAME
-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description VoucherTemplateDTO()VoucherTemplateDTO(Long id)VoucherTemplateDTO(Property<T,? super VoucherTemplateDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()LonggetBasedOnId()StringgetContent()CustomScriptVOgetContentScript()StringgetContentScriptParameters()StringgetStyle()voidsetBasedOnId(Long basedOnId)voidsetContent(String content)voidsetContentScript(CustomScriptVO contentScript)voidsetContentScriptParameters(String contentScriptParameters)voidsetStyle(String style)-
Methods inherited from class org.cyclos.model.ConfigurationEntityDTO
getDescription, getInternalName, setDescription, setInternalName
-
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, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
BASED_ON_ID
public static final BasicProperty<Long,VoucherTemplateDTO> BASED_ON_ID
-
CONTENT
public static final BasicProperty<String,VoucherTemplateDTO> CONTENT
-
CONTENT_SCRIPT
public static final BasicProperty<CustomScriptVO,VoucherTemplateDTO> CONTENT_SCRIPT
-
CONTENT_SCRIPT_PARAMETERS
public static final BasicProperty<String,VoucherTemplateDTO> CONTENT_SCRIPT_PARAMETERS
-
STYLE
public static final BasicProperty<String,VoucherTemplateDTO> STYLE
-
-
Constructor Detail
-
VoucherTemplateDTO
public VoucherTemplateDTO()
-
VoucherTemplateDTO
public VoucherTemplateDTO(Long id)
-
VoucherTemplateDTO
public VoucherTemplateDTO(Property<T,? super VoucherTemplateDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classConfigurationEntityDTO
-
getBasedOnId
public Long getBasedOnId()
-
setBasedOnId
public void setBasedOnId(Long basedOnId)
-
getContent
public String getContent()
-
setContent
public void setContent(String content)
-
getContentScript
public CustomScriptVO getContentScript()
- Specified by:
getContentScriptin interfaceHasContentScriptDTO
-
setContentScript
public void setContentScript(CustomScriptVO contentScript)
- Specified by:
setContentScriptin interfaceHasContentScriptDTO
-
getContentScriptParameters
public String getContentScriptParameters()
- Specified by:
getContentScriptParametersin interfaceHasContentScriptDTO
-
setContentScriptParameters
public void setContentScriptParameters(String contentScriptParameters)
- Specified by:
setContentScriptParametersin interfaceHasContentScriptDTO
-
getStyle
public String getStyle()
-
setStyle
public void setStyle(String style)
-
-