edu.jhu.tmaj.beans
Class SlideBean

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

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

Represents the Slides table. These are normal slides, NOT arraySlides. In other words, these slides are cut from a normal (donor) block, not an array (recepient) block.

See Also:
Serialized Form

Field Summary
static DatabaseField BLOCK_ID_FIELD
           
static DatabaseField CUT_DATE_FIELD
           
static DatabaseField CUT_NUMBER_FIELD
           
static DatabaseField EXPERIMENT_NUMBER_FIELD
           
static DatabaseField EXPERIMENTER_FIELD
           
static DatabaseField HISTO_TECHNICIAN_FIELD
           
static DatabaseField ID_FIELD
           
static DatabaseField INPUTLOG_FIELD
           
static DatabaseField LOCATION_FIELD
           
static DatabaseField NOTES_FIELD
           
static DatabaseField SLIDE_TYPE_FIELD
           
static DatabaseField STAIN_FIELD
           
static DatabaseField STORAGE_TEMPERATURE_FIELD
           
static DatabaseField STORAGE_TYPE_FIELD
           
 
Fields inherited from class edu.jhu.tmaj.beans.JBean
staticMetaData
 
Constructor Summary
SlideBean(StaticMetaData staticMetaData)
           
 
Method Summary
 java.lang.Integer getBlockID()
          Returns the id of the Block from which this slide was cut.
 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

BLOCK_ID_FIELD

public static final DatabaseField BLOCK_ID_FIELD

CUT_DATE_FIELD

public static final DatabaseField CUT_DATE_FIELD

CUT_NUMBER_FIELD

public static final DatabaseField CUT_NUMBER_FIELD

STAIN_FIELD

public static final DatabaseField STAIN_FIELD

SLIDE_TYPE_FIELD

public static final DatabaseField SLIDE_TYPE_FIELD

LOCATION_FIELD

public static final DatabaseField LOCATION_FIELD

EXPERIMENT_NUMBER_FIELD

public static final DatabaseField EXPERIMENT_NUMBER_FIELD

EXPERIMENTER_FIELD

public static final DatabaseField EXPERIMENTER_FIELD

HISTO_TECHNICIAN_FIELD

public static final DatabaseField HISTO_TECHNICIAN_FIELD

STORAGE_TYPE_FIELD

public static final DatabaseField STORAGE_TYPE_FIELD

STORAGE_TEMPERATURE_FIELD

public static final DatabaseField STORAGE_TEMPERATURE_FIELD

NOTES_FIELD

public static final DatabaseField NOTES_FIELD

INPUTLOG_FIELD

public static final DatabaseField INPUTLOG_FIELD
Constructor Detail

SlideBean

public SlideBean(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

getBlockID

public java.lang.Integer getBlockID()
Returns the id of the Block from which this slide was cut.


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