net.smartlab.web
Class BusinessObject

java.lang.Object
  extended by net.smartlab.web.BusinessObject
All Implemented Interfaces:
java.io.Serializable, DataTransferObject

public abstract class BusinessObject
extends java.lang.Object
implements DataTransferObject

TODO documentation

Author:
rlogiacco
See Also:
Serialized Form

Field Summary
protected  org.apache.commons.logging.Log logger
          Allows for business operations logging.
 
Constructor Summary
BusinessObject()
           
 
Method Summary
 long getVersion()
          Returns the object version.
 void setVersion(long version)
          Sets the object version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final transient org.apache.commons.logging.Log logger
Allows for business operations logging.

Constructor Detail

BusinessObject

public BusinessObject()
Method Detail

getVersion

public long getVersion()
Returns the object version. This property ensures optimistical locking support to every subclass.

Returns:
returns the version.

setVersion

public void setVersion(long version)
Sets the object version. This property ensures optimistical locking support to every subclass.

Parameters:
version - the version to set.


Copyright © 2004-2009 The SmartWeb Team. All Rights Reserved.