edu.jhu.tmaj.beans
Class AnimalExperimentBean

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

public class AnimalExperimentBean
extends JBean
implements java.io.Serializable

Represents a record from the AnimalExperiments table.

See Also:
Serialized Form

Field Summary
static DatabaseField ANIMAL_TYPE_1_FIELD
           
static DatabaseField ANIMAL_TYPE_2_FIELD
           
static DatabaseField DURATION_FIELD
           
static DatabaseField END_DATE_FIELD
           
static DatabaseField EXPERIMENT_NUMBER_FIELD
           
static DatabaseField EXPERIMENTER_USER_ID_FIELD
           
static DatabaseField ID_FIELD
           
static DatabaseField INPUT_FIELD
           
static DatabaseField NOTES_FIELD
           
static DatabaseField NUMBER_OF_ANIMALS_FIELD
           
static DatabaseField NUMBER_OF_GROUPS_FIELD
           
static DatabaseField PI_FIELD
           
static DatabaseField START_DATE_FIELD
           
static DatabaseField TITLE_FIELD
           
 
Fields inherited from class edu.jhu.tmaj.beans.JBean
staticMetaData
 
Constructor Summary
AnimalExperimentBean(StaticMetaData staticMetaData)
           
 
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

EXPERIMENT_NUMBER_FIELD

public static final DatabaseField EXPERIMENT_NUMBER_FIELD

TITLE_FIELD

public static final DatabaseField TITLE_FIELD

ANIMAL_TYPE_1_FIELD

public static final DatabaseField ANIMAL_TYPE_1_FIELD

ANIMAL_TYPE_2_FIELD

public static final DatabaseField ANIMAL_TYPE_2_FIELD

EXPERIMENTER_USER_ID_FIELD

public static final DatabaseField EXPERIMENTER_USER_ID_FIELD

PI_FIELD

public static final DatabaseField PI_FIELD

START_DATE_FIELD

public static final DatabaseField START_DATE_FIELD

END_DATE_FIELD

public static final DatabaseField END_DATE_FIELD

DURATION_FIELD

public static final DatabaseField DURATION_FIELD

NUMBER_OF_ANIMALS_FIELD

public static final DatabaseField NUMBER_OF_ANIMALS_FIELD

NUMBER_OF_GROUPS_FIELD

public static final DatabaseField NUMBER_OF_GROUPS_FIELD

NOTES_FIELD

public static final DatabaseField NOTES_FIELD

INPUT_FIELD

public static final DatabaseField INPUT_FIELD
Constructor Detail

AnimalExperimentBean

public AnimalExperimentBean(StaticMetaData staticMetaData)
Method Detail

getTable

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

getNewInstance

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

Specified by:
getNewInstance 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

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