Package org.cyclos.entities.banking
Class VoucherCategory
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,HasOrder,ProcessableForProxying,DefinesNetwork,ImageOwner<VoucherCategory,VoucherCategoryImage>,IEntity,IInternalNamedEntity,INamedEntity
@Entity public class VoucherCategory extends ConfigurationOrderableEntity implements DefinesNetwork, ImageOwner<VoucherCategory,VoucherCategoryImage>
A voucher is used to visually group the voucher types
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description VoucherCategory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataTranslationTypegetDataTranslationType()If this entity allows data translation, should return the translation typeVoucherCategoryImagegetImage()Either the single image or a de-normalized reference to the first imageNetworkgetNetwork()Returns the network this entity belongs toTempImagegetUploadedImage()voidsetImage(VoucherCategoryImage image)Either the single image or a de-normalized reference to the first imagevoidsetNetwork(Network network)voidsetUploadedImage(TempImage uploadedImage)-
Methods inherited from class org.cyclos.entities.ConfigurationOrderableEntity
compareTo, getOrder, setOrder, toString
-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString
-
Methods inherited from class org.cyclos.entities.NamedEntity
getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
Methods inherited from interface org.cyclos.entities.system.ImageOwner
getImages, setImages
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getDataTranslationType
public DataTranslationType getDataTranslationType()
Description copied from class:BaseEntityIf this entity allows data translation, should return the translation type- Overrides:
getDataTranslationTypein classBaseEntity
-
getImage
public VoucherCategoryImage getImage()
Description copied from interface:ImageOwnerEither the single image or a de-normalized reference to the first image- Specified by:
getImagein interfaceImageOwner<VoucherCategory,VoucherCategoryImage>
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getUploadedImage
public TempImage getUploadedImage()
-
setImage
public void setImage(VoucherCategoryImage image)
Description copied from interface:ImageOwnerEither the single image or a de-normalized reference to the first image- Specified by:
setImagein interfaceImageOwner<VoucherCategory,VoucherCategoryImage>
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setUploadedImage
public void setUploadedImage(TempImage uploadedImage)
-
-