Class VoucherTypeVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.NamedEntityVO
-
- org.cyclos.model.ConfigurationEntityVO
-
- org.cyclos.model.banking.vouchertypes.VoucherTypeVO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityVO>,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
VoucherTypeDetailedVO
public class VoucherTypeVO extends ConfigurationEntityVO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<VoucherCategoryVO,VoucherTypeVO>CATEGORYstatic StringCLASS_NAMEstatic BasicProperty<VoucherConfigurationVO,VoucherTypeVO>CONFIGURATIONstatic BasicProperty<ImageVO,VoucherTypeVO>IMAGEstatic BasicProperty<VoucherTemplateVO,VoucherTypeVO>TEMPLATEstatic BasicProperty<String,VoucherTypeVO>VOUCHER_TITLE-
Fields inherited from class org.cyclos.model.ConfigurationEntityVO
GLOBAL, INTERNAL_NAME
-
Fields inherited from class org.cyclos.model.NamedEntityVO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description VoucherTypeVO()VoucherTypeVO(Long id)VoucherTypeVO(Property<T,? super VoucherTypeVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()VoucherCategoryVOgetCategory()VoucherConfigurationVOgetConfiguration()ImageVOgetImage()VoucherTemplateVOgetTemplate()StringgetVoucherTitle()voidsetCategory(VoucherCategoryVO category)voidsetConfiguration(VoucherConfigurationVO configuration)voidsetImage(ImageVO image)voidsetTemplate(VoucherTemplateVO template)voidsetVoucherTitle(String voucherTitle)-
Methods inherited from class org.cyclos.model.ConfigurationEntityVO
getInternalName, isGlobal, setGlobal, setInternalName
-
Methods inherited from class org.cyclos.model.NamedEntityVO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityModel
getId, 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
-
CATEGORY
public static final BasicProperty<VoucherCategoryVO,VoucherTypeVO> CATEGORY
-
CONFIGURATION
public static final BasicProperty<VoucherConfigurationVO,VoucherTypeVO> CONFIGURATION
-
IMAGE
public static final BasicProperty<ImageVO,VoucherTypeVO> IMAGE
-
TEMPLATE
public static final BasicProperty<VoucherTemplateVO,VoucherTypeVO> TEMPLATE
-
VOUCHER_TITLE
public static final BasicProperty<String,VoucherTypeVO> VOUCHER_TITLE
-
-
Constructor Detail
-
VoucherTypeVO
public VoucherTypeVO()
-
VoucherTypeVO
public VoucherTypeVO(Long id)
-
VoucherTypeVO
public VoucherTypeVO(Property<T,? super VoucherTypeVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classConfigurationEntityVO
-
getCategory
public VoucherCategoryVO getCategory()
-
setCategory
public void setCategory(VoucherCategoryVO category)
-
getConfiguration
public VoucherConfigurationVO getConfiguration()
-
setConfiguration
public void setConfiguration(VoucherConfigurationVO configuration)
-
getImage
public ImageVO getImage()
-
setImage
public void setImage(ImageVO image)
-
getTemplate
public VoucherTemplateVO getTemplate()
-
setTemplate
public void setTemplate(VoucherTemplateVO template)
-
getVoucherTitle
public String getVoucherTitle()
-
setVoucherTitle
public void setVoucherTitle(String voucherTitle)
-
-