bioroot
Class GeneBean

java.lang.Object
  extended bybioroot.GeneBean

public class GeneBean
extends java.lang.Object

Author:
nix General class to hold information about an gene, used by Oligo, Plasmid, and Strain DB's.

Constructor Summary
GeneBean()
           
GeneBean(int id, DBUtil bioRoot)
           
 
Method Summary
 java.lang.String fetchHTMLTableRow()
           
 java.lang.String getEditHistory()
           
 int getId()
           
 int getLabGroupId()
           
 java.lang.String getMessages()
           
 java.lang.String getName()
           
 java.lang.String getNotes()
           
 boolean isComplete()
           
 void setComplete(boolean b)
           
 void setEditHistory(java.lang.String string)
           
 void setId(int i)
           
 void setMessages(java.lang.String string)
           
 void setName(java.lang.String string)
           
 void setNotes(java.lang.String string)
           
 boolean submitNew(DBUtil bioRoot, UserBean user)
           
 boolean updateOld(DBUtil bioRoot, UserBean user)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneBean

public GeneBean()

GeneBean

public GeneBean(int id,
                DBUtil bioRoot)
Method Detail

fetchHTMLTableRow

public java.lang.String fetchHTMLTableRow()

submitNew

public boolean submitNew(DBUtil bioRoot,
                         UserBean user)

updateOld

public boolean updateOld(DBUtil bioRoot,
                         UserBean user)

getEditHistory

public java.lang.String getEditHistory()

getId

public int getId()

getMessages

public java.lang.String getMessages()

getName

public java.lang.String getName()

getNotes

public java.lang.String getNotes()

setEditHistory

public void setEditHistory(java.lang.String string)

setId

public void setId(int i)

setMessages

public void setMessages(java.lang.String string)

setName

public void setName(java.lang.String string)

setNotes

public void setNotes(java.lang.String string)

isComplete

public boolean isComplete()

setComplete

public void setComplete(boolean b)

getLabGroupId

public int getLabGroupId()