Package org.cyclos.entities.access
Class AgreementContent
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.access.AgreementContent
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,IEntity
@Entity public class AgreementContent extends NetworkedEntity
When many users accept the same agreement content the system will make different agreement logs pointing to the same agreement content. This class handles the different agreement contents in the system.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description AgreementContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgreementgetAgreement()IntegergetAgreementVersion()StringgetContent()NetworkgetNetwork()Returns the network this entity belongs tovoidsetAgreement(Agreement agreement)voidsetAgreementVersion(Integer agreementVersion)voidsetContent(String content)-
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
-
getAgreement
public Agreement getAgreement()
-
getAgreementVersion
public Integer getAgreementVersion()
-
getContent
public String getContent()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
setAgreement
public void setAgreement(Agreement agreement)
-
setAgreementVersion
public void setAgreementVersion(Integer agreementVersion)
-
setContent
public void setContent(String content)
-
-