Package org.cyclos.entities.system
Class CustomFieldValueImage
- 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.CustomFieldValueImage
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,ProcessableForDataTranslation,DefinesNetwork,ICustomFieldValueStoredFile,IEntity,INamedEntity
@Entity public class CustomFieldValueImage extends Image implements ICustomFieldValueStoredFile, DefinesNetwork
A stored file for custom fields of typeCustomFieldType.IMAGE
-
-
Constructor Summary
Constructors Constructor Description CustomFieldValueImage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactInfoFieldValuegetContactInfoValue()CustomFieldValue<?,?,?,?>getCustomFieldValue()ImageNaturegetNature()NetworkgetNetwork()Returns the network this entity belongs toIntegergetOrder()voidsetContactInfoValue(ContactInfoFieldValue contactInfoValue)voidsetCustomFieldValue(CustomFieldValue<?,?,?,?> fieldValue)voidsetNetwork(Network network)voidsetOrder(Integer order)-
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
clone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient
-
-
-
-
Method Detail
-
getContactInfoValue
public ContactInfoFieldValue getContactInfoValue()
-
getCustomFieldValue
public CustomFieldValue<?,?,?,?> getCustomFieldValue()
- Specified by:
getCustomFieldValuein interfaceICustomFieldValueStoredFile
-
getNature
public ImageNature getNature()
-
getNetwork
public Network getNetwork()
Description copied from class:NetworkedEntityReturns the network this entity belongs to- Specified by:
getNetworkin classNetworkedEntity
-
getOrder
public Integer getOrder()
-
setContactInfoValue
public void setContactInfoValue(ContactInfoFieldValue contactInfoValue)
-
setCustomFieldValue
public void setCustomFieldValue(CustomFieldValue<?,?,?,?> fieldValue)
- Specified by:
setCustomFieldValuein interfaceICustomFieldValueStoredFile
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setOrder
public void setOrder(Integer order)
-
-