Package org.cyclos.entities.system
Class Image
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,ProcessableForDataTranslation,IEntity,INamedEntity
- Direct Known Subclasses:
ConfigurationImage,CustomFieldValueImage,CustomImage,OwnedImage,TempImage,ThemeImage
@Entity public abstract class Image extends StoredFile
Base class for all images
-
-
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
getNetwork, isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
clone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient
-
-
-
-
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)
-
-