edu.jhu.tmaj.beans
Class ProtocolBean
java.lang.Object
edu.jhu.tmaj.beans.JBean
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
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 |
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
ProtocolBean
public ProtocolBean()
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