org.apache.jetspeed.statistics.impl
Class LogRecord
java.lang.Object
org.apache.jetspeed.statistics.impl.LogRecord
- Direct Known Subclasses:
- PageLogRecord, PortletLogRecord, UserLogRecord
public abstract class LogRecord
- extends java.lang.Object
LogRecord
Abstract class that holds the fields of a log entry generated by
implementations of the PortalStatistics interface.
Some of the fields are common to all types of log entries; those fields are
implemented in LogRecord. The fields that are specific to a particular type
of log entry need to be implemented in a class that extends LogRecord.
- Version:
- $Id: LogRecord.java 188420 2005-03-23 22:25:50Z rdk $
- Author:
- Richard D. Klein
Constructor Summary |
LogRecord(java.lang.String logType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_PORTLET
public static final java.lang.String TYPE_PORTLET
- See Also:
- Constant Field Values
TYPE_PAGE
public static final java.lang.String TYPE_PAGE
- See Also:
- Constant Field Values
TYPE_USER
public static final java.lang.String TYPE_USER
- See Also:
- Constant Field Values
ipAddress
protected java.lang.String ipAddress
logType
protected java.lang.String logType
msElapsedTime
protected long msElapsedTime
status
protected int status
timeStamp
protected java.sql.Timestamp timeStamp
userName
protected java.lang.String userName
LogRecord
public LogRecord(java.lang.String logType)
getIpAddress
public java.lang.String getIpAddress()
- Returns:
- Returns the ipAddress.
setIpAddress
public void setIpAddress(java.lang.String ipAddress)
- Parameters:
ipAddress
- The ipAddress to set.
getLogType
public java.lang.String getLogType()
- Returns:
- Returns the logType.
setLogType
public void setLogType(java.lang.String logType)
- Parameters:
logType
- The logType to set.
getMsElapsedTime
public long getMsElapsedTime()
- Returns:
- Returns the msElapsedTime.
setMsElapsedTime
public void setMsElapsedTime(long msElapsedTime)
- Parameters:
msElapsedTime
- The msElapsedTime to set.
getStatus
public int getStatus()
- Returns:
- Returns the status.
setStatus
public void setStatus(int status)
- Parameters:
status
- The status to set.
getTimeStamp
public java.sql.Timestamp getTimeStamp()
- Returns:
- Returns the timeStamp.
setTimeStamp
public void setTimeStamp(java.sql.Timestamp timeStamp)
- Parameters:
timeStamp
- The timeStamp to set.
getUserName
public java.lang.String getUserName()
- Returns:
- Returns the userName.
setUserName
public void setUserName(java.lang.String userName)
- Parameters:
userName
- The userName to set.
Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.