net.sf.oness.common.model.auditing
Interface Auditable

All Known Subinterfaces:
AuditableBusinessObject
All Known Implementing Classes:
AbstractAuditableObject, AbstractBusinessObject

public interface Auditable

Interface to be implemented by business objects that allow data auditing

Version:
$Revision: 1.3 $
Author:
Carlos Sanchez

Method Summary
 java.lang.Object clone()
          Cloned objects can't share collection references.
 java.lang.Long getCode()
          The code that identifies all versions of the same object
 java.lang.String getCreatedBy()
          Get the user that created this object
 java.lang.String getDeletedBy()
          Get the user that deleted this object
 java.lang.Long getId()
          The identifier of each version of each object
 DateRange getTransactionTime()
          Range of time when the data is entered into the system
 void setCode(java.lang.Long code)
           
 void setCreatedBy(java.lang.String userName)
          Set the user that created this object
 void setDeletedBy(java.lang.String userName)
          Set the user that deleted this object
 void setId(java.lang.Long id)
           
 void setTransactionTime(DateRange transactionTime)
           
 

Method Detail

getId

public java.lang.Long getId()
The identifier of each version of each object

Returns:

setId

public void setId(java.lang.Long id)
Parameters:
id -

setCode

public void setCode(java.lang.Long code)
Parameters:
code - The code to set.

getCode

public java.lang.Long getCode()
The code that identifies all versions of the same object

Returns:
Returns the code.

setTransactionTime

public void setTransactionTime(DateRange transactionTime)
Parameters:
transactionTime -

getTransactionTime

public DateRange getTransactionTime()
Range of time when the data is entered into the system

Returns:

setCreatedBy

public void setCreatedBy(java.lang.String userName)
Set the user that created this object

Parameters:
userName -

getCreatedBy

public java.lang.String getCreatedBy()
Get the user that created this object

Returns:
Returns the userName.

setDeletedBy

public void setDeletedBy(java.lang.String userName)
Set the user that deleted this object

Parameters:
userName -

getDeletedBy

public java.lang.String getDeletedBy()
Get the user that deleted this object

Returns:
Returns the userName.

clone

public java.lang.Object clone()
Cloned objects can't share collection references.

See Also:
Object.clone()


Copyright © 2003-2005 ONess Project. All Rights Reserved.