org.sakaiproject.component.section
Class AbstractPersistentObject

java.lang.Object
  extended byorg.sakaiproject.component.section.AbstractPersistentObject
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LearningContextImpl, ParticipationRecordImpl, UserImpl

public abstract class AbstractPersistentObject
extends Object
implements Serializable

Base class for most of the hibernate-persisted classes in this implementation.

Author:
Josh Holtzman
See Also:
Serialized Form

Field Summary
protected  long id
           
protected  String title
           
protected  String uuid
           
protected  int version
           
 
Constructor Summary
AbstractPersistentObject()
           
 
Method Summary
 long getId()
           
 String getTitle()
           
 String getUuid()
           
 int getVersion()
           
 void setId(long id)
           
 void setTitle(String title)
           
 void setUuid(String uuid)
           
 void setVersion(int version)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected long id

version

protected int version

uuid

protected String uuid

title

protected String title
Constructor Detail

AbstractPersistentObject

public AbstractPersistentObject()
Method Detail

getId

public long getId()

setId

public void setId(long id)

getVersion

public int getVersion()

setVersion

public void setVersion(int version)

getUuid

public String getUuid()

setUuid

public void setUuid(String uuid)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

toString

public String toString()