Package org.cyclos.entities.system
Class Image
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,ProcessableForProxying,IEntity,INamedEntity
- Direct Known Subclasses:
BulkActionImage,ConfigurationImage,CustomFieldValueImage,CustomImage,DefaultUserImage,OwnedImage,TempImage,ThemeImage,VoucherTemplateImage
@Entity public abstract class Image extends StoredFile
Base class for all images
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description Image()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intgetHeight()StringgetKey()abstract ImageNaturegetNature()intgetWidth()booleanisConvertedToJpeg()voidsetConvertedToJpeg(boolean convertedToJpeg)voidsetHeight(int height)voidsetKey(String key)voidsetWidth(int width)-
Methods inherited from class org.cyclos.entities.utils.StoredFile
getContentType, getLastModified, getLastModifiedInMillis, getLength, getMetadata, setContentType, setLastModified, setLength, setMetadata
-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, getName, getNames, setName, toShortString, toString
-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, 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.entities.HasNetwork
getNetwork
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getHeight
public int getHeight()
-
getKey
public String getKey()
-
getNature
public abstract ImageNature getNature()
-
getWidth
public int getWidth()
-
isConvertedToJpeg
public boolean isConvertedToJpeg()
-
setConvertedToJpeg
public void setConvertedToJpeg(boolean convertedToJpeg)
-
setHeight
public void setHeight(int height)
-
setKey
public void setKey(String key)
-
setWidth
public void setWidth(int width)
-
-