org.openscience.nmrshiftdb.om
Class DBGuestbook

java.lang.Object
  extended by org.apache.torque.om.BaseObject
      extended by org.openscience.nmrshiftdb.om.BaseDBGuestbook
          extended by org.openscience.nmrshiftdb.om.DBGuestbook
All Implemented Interfaces:
java.io.Serializable, org.apache.torque.om.Persistent

public class DBGuestbook
extends BaseDBGuestbook
implements org.apache.torque.om.Persistent

You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.

Author:
shk3
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.torque.om.BaseObject
NEW_ID
 
Constructor Summary
DBGuestbook()
           
 
Method Summary
 java.lang.String getUserName()
          Returns name of user who wrote this.
 
Methods inherited from class org.openscience.nmrshiftdb.om.BaseDBGuestbook
copy, copyInto, getByName, getByPeerName, getByPosition, getDate, getFieldNames, getGuestbookId, getNmrshiftdbUser, getPeer, getPrimaryKey, getText, getUserId, getValid, save, save, save, setDate, setGuestbookId, setNmrshiftdbUser, setNmrshiftdbUserKey, setPrimaryKey, setPrimaryKey, setText, setUserId, setValid, toString
 
Methods inherited from class org.apache.torque.om.BaseObject
equals, equals, getLog, hashCode, isModified, isNew, log, resetModified, setModified, setNew, setPrimaryKey
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.torque.om.Persistent
getPrimaryKey, isModified, isNew, save, save, save, setModified, setNew, setPrimaryKey, setPrimaryKey
 

Constructor Detail

DBGuestbook

public DBGuestbook()
Method Detail

getUserName

public java.lang.String getUserName()
                             throws java.lang.Exception
Returns name of user who wrote this.

Returns:
The userName value.
Throws:
java.lang.Exception - Database problems.