br.com.arsmachina.accesslogger.hibernate
Class Access

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

public class Access
extends br.com.arsmachina.accesslogger.Access

Persistent Access subclass.

Author:
Thiago H. de Paula Figueiredo

Constructor Summary
Access()
          Default constructor.
Access(br.com.arsmachina.accesslogger.Access access)
          Constructor that receives an Access instance.
 
Method Summary
 String getActivationContext()
           
 String getContextPath()
           
 Long getId()
          Returns the value of the id property.
 String getIp()
           
 String getLocale()
           
 String getPage()
           
 String getQueryString()
           
 String getReferer()
           
 String getRemoteHost()
           
 String getSessionId()
           
 Date getTimestamp()
           
 String getUrl()
           
 br.com.arsmachina.authentication.entity.User getUser()
           
 String getUserAgent()
           
 void setId(Long id)
          Changes the value of the id property.
 
Methods inherited from class br.com.arsmachina.accesslogger.Access
setActivationContext, setContextPath, setIp, setLocale, setPage, setQueryString, setReferer, setRemoteHost, setSessionId, setTimestamp, setUrl, setUser, setUserAgent
 
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.


Access

public Access(br.com.arsmachina.accesslogger.Access access)
Constructor that receives an Access instance. All property values are copied to the created object.

Parameters:
access - an Access. It cannot be null.
Method Detail

getContextPath

@NotNull
@Length(max=255)
public String getContextPath()
Overrides:
getContextPath in class br.com.arsmachina.accesslogger.Access
See Also:
Access.getContextPath()

getPage

@Length(max=255)
public String getPage()
Overrides:
getPage in class br.com.arsmachina.accesslogger.Access
See Also:
Access.getPage()

getReferer

@Length(max=255)
public String getReferer()
Overrides:
getReferer in class br.com.arsmachina.accesslogger.Access
See Also:
Access.getReferer()

getTimestamp

@NotNull
public Date getTimestamp()
Overrides:
getTimestamp in class br.com.arsmachina.accesslogger.Access
See Also:
Access.getTimestamp()

getUserAgent

@NotNull
@Length(max=255)
public String getUserAgent()
Overrides:
getUserAgent in class br.com.arsmachina.accesslogger.Access
See Also:
Access.getUserAgent()

getId

public Long getId()
Returns the value of the id property.

Returns:
a Long.

setId

public void setId(Long id)
Changes the value of the id property.

Parameters:
id - a Long.

getActivationContext

@Length(max=255)
public String getActivationContext()
Overrides:
getActivationContext in class br.com.arsmachina.accesslogger.Access
See Also:
Access.getActivationContext()

getIp

@NotNull
@Length(max=20)
public String getIp()
Overrides:
getIp in class br.com.arsmachina.accesslogger.Access
See Also:
Access.getIp()

getQueryString

@Length(max=255)
public String getQueryString()
Overrides:
getQueryString in class br.com.arsmachina.accesslogger.Access
See Also:
Access.getQueryString()

getSessionId

@Length(max=40)
public String getSessionId()
Overrides:
getSessionId in class br.com.arsmachina.accesslogger.Access
See Also:
Access.getSessionId()

getUrl

@NotNull
@Length(max=255)
public String getUrl()
Overrides:
getUrl in class br.com.arsmachina.accesslogger.Access
See Also:
Access.getUrl()

getUser

public br.com.arsmachina.authentication.entity.User getUser()
Overrides:
getUser in class br.com.arsmachina.accesslogger.Access
See Also:
Access.getUser()

getLocale

public String getLocale()
Overrides:
getLocale in class br.com.arsmachina.accesslogger.Access
See Also:
Access.getLocale()

getRemoteHost

public String getRemoteHost()
Overrides:
getRemoteHost in class br.com.arsmachina.accesslogger.Access
See Also:
Access.getRemoteHost()


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