Package org.cyclos.entities.users
Class UserFcmToken
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.users.UserFcmToken
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,IEntity
@Entity public class UserFcmToken extends NetworkedEntity
Represents a Firebase Cloud Messaging registration token.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description UserFcmToken()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetCreationDate()NetworkgetNetwork()Returns the network this entity belongs toStringgetToken()DategetUpdatedAt()BasicUsergetUser()voidsetCreationDate(Date creationDate)voidsetToken(String token)voidsetUpdatedAt(Date updatedAt)voidsetUser(BasicUser user)-
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
-
getCreationDate
public Date getCreationDate()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
getToken
public String getToken()
-
getUpdatedAt
public Date getUpdatedAt()
-
getUser
public BasicUser getUser()
-
setCreationDate
public void setCreationDate(Date creationDate)
-
setToken
public void setToken(String token)
-
setUpdatedAt
public void setUpdatedAt(Date updatedAt)
-
setUser
public void setUser(BasicUser user)
-
-