br.com.arsmachina.accesslogger
Class Access

java.lang.Object
  extended by br.com.arsmachina.accesslogger.Access

public class Access
extends Object

Class that represents an user access (visit).

Author:
Thiago H. de Paula Figueiredo

Constructor Summary
Access()
          Default constructor.
 
Method Summary
 String getActivationContext()
          Returns the value of the activationContext property.
 String getContextPath()
          Returns the value of the context property.
 String getIp()
          Returns the value of the ip property.
 String getLocale()
          Returns the value of the locale property.
 String getPage()
          Returns the value of the page property.
 String getQueryString()
          Returns the value of the queryString property.
 String getReferer()
          Returns the value of the referrer property.
 String getRemoteHost()
          Returns the value of the remoteAddress property.
 String getSessionId()
          Returns the value of the sessionId property.
 Date getTimestamp()
          Returns the value of the timestamp property.
 String getUrl()
          Returns the value of the url property.
 br.com.arsmachina.authentication.entity.User getUser()
          Returns the value of the user property.
 String getUserAgent()
          Returns the value of the userAgent property.
 void setActivationContext(String activationContext)
          Changes the value of the activationContext property.
 void setContextPath(String contextPath)
          Changes the value of the context property.
 void setIp(String ip)
          Changes the value of the ip property.
 void setLocale(String locale)
          Changes the value of the locale property.
 void setPage(String page)
          Changes the value of the page property.
 void setQueryString(String queryString)
          Changes the value of the queryString property.
 void setReferer(String referrer)
          Changes the value of the referrer property.
 void setRemoteHost(String remoteHost)
          Changes the value of the remoteHost property.
 void setSessionId(String sessionId)
          Changes the value of the sessionId property.
 void setTimestamp(Date timestamp)
          Changes the value of the timestamp property.
 void setUrl(String url)
          Changes the value of the url property.
 void setUser(br.com.arsmachina.authentication.entity.User user)
          Changes the value of the user property.
 void setUserAgent(String userAgent)
          Changes the value of the userAgent property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Access

public Access()
Default constructor.

Method Detail

getUser

public br.com.arsmachina.authentication.entity.User getUser()
Returns the value of the user property.

Returns:
a User.

setUser

public void setUser(br.com.arsmachina.authentication.entity.User user)
Changes the value of the user property.

Parameters:
user - a User.

getTimestamp

public Date getTimestamp()
Returns the value of the timestamp property.

Returns:
a Date.

setTimestamp

public void setTimestamp(Date timestamp)
Changes the value of the timestamp property.

Parameters:
timestamp - a Date.

getContextPath

public String getContextPath()
Returns the value of the context property.

Returns:
a String.

setContextPath

public void setContextPath(String contextPath)
Changes the value of the context property.

Parameters:
contextPath - a String.

getPage

public String getPage()
Returns the value of the page property.

Returns:
a String.

setPage

public void setPage(String page)
Changes the value of the page property.

Parameters:
page - a String.

getQueryString

public String getQueryString()
Returns the value of the queryString property.

Returns:
a String.

setQueryString

public void setQueryString(String queryString)
Changes the value of the queryString property.

Parameters:
queryString - a String.

getSessionId

public String getSessionId()
Returns the value of the sessionId property.

Returns:
a String.

setSessionId

public void setSessionId(String sessionId)
Changes the value of the sessionId property.

Parameters:
sessionId - a String.

getReferer

public String getReferer()
Returns the value of the referrer property.

Returns:
a String.

setReferer

public void setReferer(String referrer)
Changes the value of the referrer property.

Parameters:
referrer - a String.

getActivationContext

public String getActivationContext()
Returns the value of the activationContext property.

Returns:
a String.

setActivationContext

public void setActivationContext(String activationContext)
Changes the value of the activationContext property.

Parameters:
activationContext - a String.

getIp

public String getIp()
Returns the value of the ip property.

Returns:
a String.

setIp

public void setIp(String ip)
Changes the value of the ip property.

Parameters:
ip - a String.

getUrl

public String getUrl()
Returns the value of the url property.

Returns:
a String.

setUrl

public void setUrl(String url)
Changes the value of the url property.

Parameters:
url - a String.

getUserAgent

public String getUserAgent()
Returns the value of the userAgent property.

Returns:
a String.

setUserAgent

public void setUserAgent(String userAgent)
Changes the value of the userAgent property.

Parameters:
userAgent - a String.

getRemoteHost

public String getRemoteHost()
Returns the value of the remoteAddress property.

Returns:
a String.

setRemoteHost

public void setRemoteHost(String remoteHost)
Changes the value of the remoteHost property.

Parameters:
remoteHost - a String.

getLocale

public String getLocale()
Returns the value of the locale property.

Returns:
a String.

setLocale

public void setLocale(String locale)
Changes the value of the locale property.

Parameters:
locale - a String.


Copyright © 2008-2009 Thiago H. de Paula Figueiredo. All Rights Reserved.