Package org.cyclos.entities.system
Class ScriptStorage
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.system.ScriptStorage
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,DefinesNetwork,IEntity
@Entity public class ScriptStorage extends BaseEntity implements DefinesNetwork
Stores generic data which can be accessed by scripts
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description ScriptStorage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent()DategetCreationDate()DategetExpirationDate()StringgetKey()NetworkgetNetwork()Returns the network this entity belongs tobooleanisExpired()voidsetContent(String content)voidsetCreationDate(Date creationDate)voidsetExpirationDate(Date expirationDate)voidsetKey(String key)voidsetNetwork(Network network)-
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, toShortString, toString, 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
-
getContent
public String getContent()
-
getCreationDate
public Date getCreationDate()
-
getExpirationDate
public Date getExpirationDate()
-
getKey
public String getKey()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
isExpired
public boolean isExpired()
-
setContent
public void setContent(String content)
-
setCreationDate
public void setCreationDate(Date creationDate)
-
setExpirationDate
public void setExpirationDate(Date expirationDate)
-
setKey
public void setKey(String key)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
-