org.wso2.carbon.registry.core.utils
Class LogRecord

java.lang.Object
  extended by org.wso2.carbon.registry.core.utils.LogRecord

public class LogRecord
extends Object

Represents a log record


Constructor Summary
LogRecord()
           
 
Method Summary
 int getAction()
          Method to obtain the action.
 String getActionData()
          Method to obtain the action data.
 String getResourcePath()
          Method to obtain the resource path.
 int getTenantId()
          Method to obtain the tenant identifier.
 Timestamp getTimestamp()
          Method to obtain the timestamp.
 String getUserName()
          Method to obtain the username.
 void setAction(int action)
          Method to obtain the action.
 void setActionData(String actionData)
          Method to obtain the action data.
 void setResourcePath(String resourcePath)
          Method to obtain the resource path.
 void setTenantId(int tenantId)
          Method to set the tenant identifier.
 void setTimestamp(Timestamp timestamp)
          Method to obtain the timestamp.
 void setUserName(String userName)
          Method to obtain the username.
 String toString()
          returns a string representation of this record.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogRecord

public LogRecord()
Method Detail

getResourcePath

public String getResourcePath()
Method to obtain the resource path.

Returns:
the resource path.

setResourcePath

public void setResourcePath(String resourcePath)
Method to obtain the resource path.

Parameters:
resourcePath - the resource path.

getUserName

public String getUserName()
Method to obtain the username.

Returns:
the username.

setUserName

public void setUserName(String userName)
Method to obtain the username.

Parameters:
userName - the username.

getTimestamp

public Timestamp getTimestamp()
Method to obtain the timestamp.

Returns:
the timestamp.

setTimestamp

public void setTimestamp(Timestamp timestamp)
Method to obtain the timestamp.

Parameters:
timestamp - the timestamp.

getAction

public int getAction()
Method to obtain the action.

Returns:
the action.

setAction

public void setAction(int action)
Method to obtain the action.

Parameters:
action - the action.

getActionData

public String getActionData()
Method to obtain the action data.

Returns:
the action data.

setActionData

public void setActionData(String actionData)
Method to obtain the action data.

Parameters:
actionData - the action data.

getTenantId

public int getTenantId()
Method to obtain the tenant identifier.

Returns:
the tenant identifier.

setTenantId

public void setTenantId(int tenantId)
Method to set the tenant identifier.

Parameters:
tenantId - the tenant identifier.

toString

public String toString()
returns a string representation of this record.

Overrides:
toString in class Object
Returns:
string representation of this record


Copyright © 2010. All Rights Reserved.