edu.jhu.tmaj.beans
Class ProtocolBean

java.lang.Object
  extended by edu.jhu.tmaj.beans.JBean
      extended by edu.jhu.tmaj.beans.ProtocolBean
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public final class ProtocolBean
extends JBean
implements java.io.Serializable

Represents the Protocols table. A protocol is written permission obtained by a researcher from the hospital's Internal Review Board (IRB) that allows the researcher to do research on humans or animals. The IRB_ProtocolNumber is the IRB's unique identifier for the protocol. The protocols table is not linked to any other tables in TMAJ. It is its own, separate table.

See Also:
Serialized Form

Field Summary
static DatabaseField ID_FIELD
           
static DatabaseField INPUT_LOG_FIELD
           
static DatabaseField IRB_CONTACT1_FIELD
           
static DatabaseField IRB_PROTOCOL_NUMBER_FIELD
           
static DatabaseField PI_FIELD
           
static DatabaseField PROTOCOL_NAME_FIELD
           
 
Fields inherited from class edu.jhu.tmaj.beans.JBean
staticMetaData
 
Constructor Summary
ProtocolBean()
           
 
Method Summary
 DatabaseField[] getFieldsArray()
          Returns an Array of TFields representing the columnnames of this bean.
 JBean getNewInstance()
          Returns a new instance of this bean.
 DatabaseTable getTable()
           
 java.lang.String toString()
          Returns the primary key name of the bean's table, along with the bean's ID.
 
Methods inherited from class edu.jhu.tmaj.beans.JBean
compareTo, createFromResultSet, createFromSwingMap, delete, equals, getAllStaticColumnIdentifiers, getBaseSQL, getBeanInDatabase, getBeanList, getBeanList, getBooleanField, getClassForType, getColumnIdentifiers, getColumnNamesSet, getDateField, getDefaultBeanObjectForType, getDefaultSwingObjectForType, getDoubleField, getEnumerations, getFieldValue, getID_Bean_Map, getID, getIntegerField, getNonNullString, getPrimaryKeyField, getPrimaryKeyName, getSelectResponse, getSQL, getStaticMetaData, getStringField, getSwingHash, getSwingToBeanObject, getTableName, getUserBean, getWantedColumnsString, getWantedStaticColumnIdentifiers, getWhereClause, hashCode, insert, isEnumerated, setBooleanField, setDateField, setDoubleField, setID, setIntegerField, setStringField, setUserBean, update, verify
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ID_FIELD

public static final DatabaseField ID_FIELD

PROTOCOL_NAME_FIELD

public static final DatabaseField PROTOCOL_NAME_FIELD

PI_FIELD

public static final DatabaseField PI_FIELD

IRB_PROTOCOL_NUMBER_FIELD

public static final DatabaseField IRB_PROTOCOL_NUMBER_FIELD

IRB_CONTACT1_FIELD

public static final DatabaseField IRB_CONTACT1_FIELD

INPUT_LOG_FIELD

public static final DatabaseField INPUT_LOG_FIELD
Constructor Detail

ProtocolBean

public ProtocolBean()
Method Detail

getNewInstance

public JBean getNewInstance()
Description copied from class: JBean
Returns a new instance of this bean.

Specified by:
getNewInstance in class JBean

getTable

public DatabaseTable getTable()
Specified by:
getTable in class JBean

toString

public java.lang.String toString()
Description copied from class: JBean
Returns the primary key name of the bean's table, along with the bean's ID. Example: ProjectID#5

Overrides:
toString in class JBean

getFieldsArray

public DatabaseField[] getFieldsArray()
Description copied from class: JBean
Returns an Array of TFields representing the columnnames of this bean.

Specified by:
getFieldsArray in class JBean