|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.beans.JBean edu.jhu.tmaj.beans.ScanBean
public final class ScanBean
Represents a Scan of an ArraySlide. An ArraySlide may be scanned zero, once, or many times. Each scan of an ArraySlide gets a distinct ScanNumber; The first scan of an ArraySlide is 1, the second is 2, and so on. Thus a Scan may be uniquely identified by both the ArraySlideID and ScanNumber. The ArraySlide may be scanned with several different machines, including the Bacus Lab's BLISS, Chromavision ACIS, Nikon, or the Applied Imaging's ARIOL.
Field Summary | |
---|---|
static DatabaseField |
ARRAY_SLIDE_ID_FIELD
|
static DatabaseField |
BAR_CODE_FIELD
|
static DatabaseField |
ID_FIELD
|
static DatabaseField |
INPUT_LOG_FIELD
|
static DatabaseField |
NOTES_FIELD
|
static DatabaseField |
SCAN_NUMBER_FIELD
|
static DatabaseField |
SCAN_SCOPE_IMAGE_ID_FIELD
|
static DatabaseField |
SCANNING_MACHINE_ID_FIELD
|
static DatabaseField |
SHORT_DESCRIPTION_FIELD
|
Fields inherited from class edu.jhu.tmaj.beans.JBean |
---|
staticMetaData |
Constructor Summary | |
---|---|
ScanBean(StaticMetaData staticMetaData)
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
Compares this Bean to another Bean by doing a case-insensitive compare using toString() |
void |
delete()
Deletes this Bean from the database. |
java.lang.Integer |
getArraySlideID()
Returns the ArraySlideID that was scanned. |
java.lang.String |
getBarcode()
|
DatabaseField[] |
getFieldsArray()
Returns an Array of TFields representing the columnnames of this bean. |
JBean |
getNewInstance()
Returns a new instance of this bean. |
ScanningMachine |
getScaningMachine()
|
java.lang.Integer |
getScanNumber()
|
java.lang.Integer |
getScanScopeImageID()
|
java.lang.String |
getShortDescription()
|
java.lang.String |
getSQL(Search search)
Returns a SELECT SQL statement given a Search. |
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 java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final DatabaseField ID_FIELD
public static final DatabaseField ARRAY_SLIDE_ID_FIELD
public static final DatabaseField SCAN_NUMBER_FIELD
public static final DatabaseField SCANNING_MACHINE_ID_FIELD
public static final DatabaseField BAR_CODE_FIELD
public static final DatabaseField SHORT_DESCRIPTION_FIELD
public static final DatabaseField SCAN_SCOPE_IMAGE_ID_FIELD
public static final DatabaseField NOTES_FIELD
public static final DatabaseField INPUT_LOG_FIELD
Constructor Detail |
---|
public ScanBean(StaticMetaData staticMetaData)
Method Detail |
---|
public DatabaseTable getTable()
getTable
in class JBean
public java.lang.Integer getArraySlideID()
public java.lang.Integer getScanNumber()
public java.lang.String getBarcode()
public java.lang.Integer getScanScopeImageID()
public ScanningMachine getScaningMachine()
public java.lang.String getShortDescription()
public JBean getNewInstance()
JBean
getNewInstance
in class JBean
public DatabaseField[] getFieldsArray()
JBean
getFieldsArray
in class JBean
public java.lang.String getSQL(Search search)
JBean
getSQL
in class JBean
public void delete() throws java.sql.SQLException
JBean
delete
in class JBean
java.sql.SQLException
public int compareTo(java.lang.Object o)
JBean
compareTo
in interface java.lang.Comparable
compareTo
in class JBean
public java.lang.String toString()
JBean
toString
in class JBean
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |