Package org.cyclos.entities.users
Class InviteToken
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.users.InviteToken
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,DefinesNetwork,IEntity
@Entity public class InviteToken extends NetworkedEntity implements DefinesNetwork
A token generated when inviting a user
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description InviteToken()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UsergetBroker()BasicUsergetBy()DategetDate()StringgetEmail()NetworkgetNetwork()Returns the network this entity belongs toStringgetToken()voidsetBroker(User broker)voidsetBy(BasicUser by)voidsetDate(Date date)voidsetEmail(String email)voidsetNetwork(Network network)voidsetToken(String token)-
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
-
getBroker
public User getBroker()
-
getBy
public BasicUser getBy()
-
getDate
public Date getDate()
-
getEmail
public String getEmail()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getToken
public String getToken()
-
setBroker
public void setBroker(User broker)
-
setBy
public void setBy(BasicUser by)
-
setDate
public void setDate(Date date)
-
setEmail
public void setEmail(String email)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setToken
public void setToken(String token)
-
-