org.marketchangers.prayer
Class PersistentObject

java.lang.Object
  extended byorg.marketchangers.prayer.PersistentObject
Direct Known Subclasses:
PrayerCategory, PrayerComment, PrayerRequest, UserContract

public class PersistentObject
extends java.lang.Object

All objects that need to be persisted should extend this class. Hibernate highly recommends that all persisted objects should contain an id field and that it should be a nullable (i.e. non-primative) type.

Author:
Jason Williams

Field Summary
protected  java.lang.Integer id
           
 
Constructor Summary
PersistentObject()
           
 
Method Summary
 java.lang.Integer getId()
           
 void setId(java.lang.Integer int1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected java.lang.Integer id
Constructor Detail

PersistentObject

public PersistentObject()
Method Detail

getId

public java.lang.Integer getId()
Returns:

setId

public void setId(java.lang.Integer int1)
Parameters:
int1 -


Copyright © 2004 Web Commerce Group, LLC. All Rights Reserved.