Package org.cyclos.entities.users
Class AccessLog
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.users.AccessLog
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,IEntity
@Entity public class AccessLog extends NetworkedEntity
Records an access log for a given user
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description AccessLog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelgetChannel()DategetDate()StringgetMobileAppVersion()NetworkgetNetwork()Returns the network this entity belongs toStringgetRemoteAddress()BasicUsergetUser()UserAgentgetUserAgent()voidsetChannel(Channel channel)voidsetDate(Date date)voidsetMobileAppVersion(String mobileAppVersion)voidsetRemoteAddress(String remoteAddress)voidsetUser(BasicUser user)voidsetUserAgent(UserAgent userAgent)-
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
-
getChannel
public Channel getChannel()
-
getDate
public Date getDate()
-
getMobileAppVersion
public String getMobileAppVersion()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
getRemoteAddress
public String getRemoteAddress()
-
getUser
public BasicUser getUser()
-
getUserAgent
public UserAgent getUserAgent()
-
setChannel
public void setChannel(Channel channel)
-
setDate
public void setDate(Date date)
-
setMobileAppVersion
public void setMobileAppVersion(String mobileAppVersion)
-
setRemoteAddress
public void setRemoteAddress(String remoteAddress)
-
setUser
public void setUser(BasicUser user)
-
setUserAgent
public void setUserAgent(UserAgent userAgent)
-
-