|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.torque.om.BaseObject
org.openscience.nmrshiftdb.om.BaseDBBookmark
org.openscience.nmrshiftdb.om.DBBookmark
public class DBBookmark
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.
Field Summary |
---|
Fields inherited from class org.apache.torque.om.BaseObject |
---|
NEW_ID |
Constructor Summary | |
---|---|
DBBookmark()
Constructor for the DBBookmark object |
|
DBBookmark(int userid,
int moleculeid)
Constructor for the DBBookmark object |
Method Summary | |
---|---|
void |
save()
Stores the object in the database. |
Methods inherited from class org.openscience.nmrshiftdb.om.BaseDBBookmark |
---|
copy, copyInto, getByName, getByPeerName, getByPosition, getDBMolecule, getFieldNames, getMoleculeId, getNmrshiftdbUser, getPeer, getPrimaryKey, getUserId, save, save, setDBMolecule, setDBMoleculeKey, setMoleculeId, setNmrshiftdbUser, setNmrshiftdbUserKey, setPrimaryKey, setPrimaryKey, setPrimaryKey, setUserId, 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, setModified, setNew, setPrimaryKey, setPrimaryKey |
Constructor Detail |
---|
public DBBookmark(int userid, int moleculeid) throws java.lang.Exception
userid
- The user the bookmar is for.moleculeid
- Molecule to bookmark.
java.lang.Exception
- Description of Exceptionpublic DBBookmark()
Method Detail |
---|
public void save() throws java.lang.Exception
save
in interface org.apache.torque.om.Persistent
save
in class BaseDBBookmark
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |