Package org.cyclos.entities.system
Class ConfigurationImage
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.NamedEntity
-
- org.cyclos.entities.utils.StoredFile
-
- org.cyclos.entities.system.Image
-
- org.cyclos.entities.system.ConfigurationImage
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,ProcessableForProxying,IEntity,INamedEntity
@Entity public class ConfigurationImage extends Image
Image used to store the contents of a configuration image (logo)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description ConfigurationImage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationgetConfiguration()byte[]getDefaultImageContent()ImageNaturegetNature()NetworkgetNetwork()Returns the network this entity belongs toConfigurationImageTypegetType()voidsetConfiguration(Configuration configuration)voidsetDefaultImageContent(byte[] content)voidsetType(ConfigurationImageType type)-
Methods inherited from class org.cyclos.entities.system.Image
getHeight, getKey, getWidth, isConvertedToJpeg, setConvertedToJpeg, setHeight, setKey, setWidth
-
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.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getConfiguration
public Configuration getConfiguration()
-
getDefaultImageContent
public byte[] getDefaultImageContent()
-
getNature
public ImageNature getNature()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
getType
public ConfigurationImageType getType()
-
setConfiguration
public void setConfiguration(Configuration configuration)
-
setDefaultImageContent
public void setDefaultImageContent(byte[] content)
-
setType
public void setType(ConfigurationImageType type)
-
-