Package org.cyclos.entities.users
Class Reference
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.users.Reference
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,IEntity
- Direct Known Subclasses:
GeneralReference,TransactionFeedback
@Entity public abstract class Reference extends BaseEntity
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description Reference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComments()DategetDate()UsergetFrom()ReferenceLevelgetLevel()ReferenceNaturegetNature()NetworkgetNetwork()Returns the network this entity belongs toUsergetTo()voidsetComments(String comments)voidsetDate(Date date)voidsetFrom(User from)voidsetLevel(ReferenceLevel level)voidsetTo(User to)-
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
-
getComments
public String getComments()
-
getDate
public Date getDate()
-
getFrom
public User getFrom()
-
getLevel
public ReferenceLevel getLevel()
-
getNature
public ReferenceNature getNature()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
getTo
public User getTo()
-
setComments
public void setComments(String comments)
-
setDate
public void setDate(Date date)
-
setFrom
public void setFrom(User from)
-
setLevel
public void setLevel(ReferenceLevel level)
-
setTo
public void setTo(User to)
-
-