toolbox.services.util.audit
Class AuditEntryTO

Package class diagram package AuditEntryTO
java.lang.Object
  extended by toolbox.services.util.audit.AuditEntryTO
All Implemented Interfaces:
java.io.Serializable

public class AuditEntryTO
extends java.lang.Object
implements java.io.Serializable

AuditEntryTO bean generated by the Toolbox Bean Generator.

See Also:
Serialized Form

Constructor Summary
AuditEntryTO()
          Default constructor.
 
Method Summary
static AuditEntryTO create(java.util.Map map)
          Create a new AuditEntryTO bean instance using the properties in the given Map as the values of the bean properties.
 java.lang.String getApplication()
          Return the application property.
 java.util.Date getEndTime()
          Return the endTime property.
 java.lang.String getOperation()
          Return the operation property.
 java.lang.String getOperationResult()
          Return the operationResult property.
 java.util.Map getPropertyMap()
          Return the Map containing the bean properties.
 java.lang.String getRole()
          Return the role property.
 java.util.Date getStartTime()
          Return the startTime property.
 java.lang.String getUserId()
          Return the userId property.
 void setApplication(java.lang.String application)
          Set the application property.
 void setEndTime(java.util.Date endTime)
          Set the endTime property.
 void setOperation(java.lang.String operation)
          Set the operation property.
 void setOperationResult(java.lang.String operationResult)
          Set the operationResult property.
 void setRole(java.lang.String role)
          Set the role property.
 void setStartTime(java.util.Date startTime)
          Set the startTime property.
 void setUserId(java.lang.String userId)
          Set the userId property.
 java.lang.String toString()
          Return a String representation of this bean instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuditEntryTO

public AuditEntryTO()
Default constructor. properties.

Method Detail

setUserId

public void setUserId(java.lang.String userId)
Set the userId property.

Parameters:
userId - New value of the userId property.

getUserId

public java.lang.String getUserId()
Return the userId property.

Returns:
String containinig the value of the userId property.

setRole

public void setRole(java.lang.String role)
Set the role property.

Parameters:
role - New value of the role property.

getRole

public java.lang.String getRole()
Return the role property.

Returns:
String containinig the value of the role property.

setApplication

public void setApplication(java.lang.String application)
Set the application property.

Parameters:
application - New value of the application property.

getApplication

public java.lang.String getApplication()
Return the application property.

Returns:
String containinig the value of the application property.

setOperation

public void setOperation(java.lang.String operation)
Set the operation property.

Parameters:
operation - New value of the operation property.

getOperation

public java.lang.String getOperation()
Return the operation property.

Returns:
String containinig the value of the operation property.

setOperationResult

public void setOperationResult(java.lang.String operationResult)
Set the operationResult property.

Parameters:
operationResult - New value of the operationResult property.

getOperationResult

public java.lang.String getOperationResult()
Return the operationResult property.

Returns:
String containinig the value of the operationResult property.

setStartTime

public void setStartTime(java.util.Date startTime)
Set the startTime property.

Parameters:
startTime - New value of the startTime property.

getStartTime

public java.util.Date getStartTime()
Return the startTime property.

Returns:
Date containinig the value of the startTime property.

setEndTime

public void setEndTime(java.util.Date endTime)
Set the endTime property.

Parameters:
endTime - New value of the endTime property.

getEndTime

public java.util.Date getEndTime()
Return the endTime property.

Returns:
Date containinig the value of the endTime property.

getPropertyMap

public java.util.Map getPropertyMap()
Return the Map containing the bean properties.

Returns:
Map containing bean properties.

create

public static AuditEntryTO create(java.util.Map map)
                           throws java.lang.Exception
Create a new AuditEntryTO bean instance using the properties in the given Map as the values of the bean properties.

Property mappings are done using Java Reflection and is performed as follows:

The keys in the Map are used as the names of the bean properties. If the Map contains a key with the value name it will be translated into a method call that will invoke the setName(...) method on the target bean using the value associated with the key in the Map.

Parameters:
map - Map containing bean properties.
Returns:
AuditEntryTO bean instance.
Throws:
java.lang.Exception - if the bean cannot be created.

toString

public java.lang.String toString()
Return a String representation of this bean instance.

Overrides:
toString in class java.lang.Object
Returns:
String representation of the properties of this bean.