Package org.cyclos.entities.system
Class CustomFieldValueFile
- 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.utils.RawFile
-
- org.cyclos.entities.system.CustomFieldValueFile
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,ProcessableForProxying,DefinesNetwork,ICustomFieldValueStoredFile,IEntity,INamedEntity
@Entity public class CustomFieldValueFile extends RawFile implements ICustomFieldValueStoredFile, DefinesNetwork
A stored file for custom fields of typeCustomFieldType.FILE
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description CustomFieldValueFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomFieldValue<?,?,?,?>getCustomFieldValue()RawFileNaturegetNature()NetworkgetNetwork()Returns the network this entity belongs toIntegergetOrder()voidsetCustomFieldValue(CustomFieldValue<?,?,?,?> fieldValue)voidsetNetwork(Network network)voidsetOrder(Integer order)-
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
-
getCustomFieldValue
public CustomFieldValue<?,?,?,?> getCustomFieldValue()
- Specified by:
getCustomFieldValuein interfaceICustomFieldValueStoredFile
-
getNature
public RawFileNature getNature()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getOrder
public Integer getOrder()
- Specified by:
getOrderin interfaceICustomFieldValueStoredFile
-
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)
- Specified by:
setOrderin interfaceICustomFieldValueStoredFile
-
-