net.sf.shineframework.common.dal.dm
Class DalObject

java.lang.Object
  extended by net.sf.shineframework.common.dal.dm.DalObject
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Configuration

public abstract class DalObject
extends java.lang.Object
implements java.io.Serializable

Author:
amirk
See Also:
Serialized Form

Constructor Summary
DalObject()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
protected  org.apache.log4j.Logger getLogger()
          retrieves a logger.
 java.lang.Integer getPk()
           
 int hashCode()
           
 void setPk(java.lang.Integer pk)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DalObject

public DalObject()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getPk

public java.lang.Integer getPk()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getLogger

protected org.apache.log4j.Logger getLogger()
retrieves a logger. The reason for this method is that a logger is not Serializable and a DalObject should be.

Returns:
a logger

setPk

public void setPk(java.lang.Integer pk)
Parameters:
pk - The pk to set.


Copyright © 2007 sourceforge.net. All Rights Reserved.