edu.jhu.tmaj.beans.dynamic
Class ScoredImageBean

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

public final class ScoredImageBean
extends DynamicJBean
implements java.io.Serializable

A ScoredImage Bean represents an ArrayImage that has been scored by a user. The SessionID and ArrayImageID uniquely identify a ScoredImage. The TissueTypeID controls which dynamic fields will be presented for the record.

See Also:
Serialized Form

Field Summary
static DatabaseField ARRAY_IMAGE_ID_FIELD
           
static int ARRAY_IMAGE_ID_POSITION
           
static DatabaseField ID_FIELD
           
static DatabaseField INPUTLOG_FIELD
           
static DatabaseField NOTES_FIELD
           
static DatabaseField SESSION_ID_FIELD
           
static int SESSION_ID_POSITION
           
static DatabaseField TISSUE_TYPE_ID_FIELD
           
static int TISSUE_TYPE_ID_POSITION
           
 
Fields inherited from class edu.jhu.tmaj.beans.dynamic.DynamicJBean
dynamicMetaData
 
Fields inherited from class edu.jhu.tmaj.beans.JBean
staticMetaData
 
Constructor Summary
ScoredImageBean(StaticMetaData staticMetaData, DynamicMetaData dynamicMetaData, SessionBean s)
           
 
Method Summary
 java.util.List<DynamicTField> getDynamicColumnIdentifiers(java.util.Set<java.lang.Integer> typeIDsSet)
          Gets the DynamicColumns for the Types supplied, and in addition get the DynamicFields for the session based on the Scoring Strategy.
 java.lang.String getDynamicTableName()
          Returns the name of the Table that contains the DynamicData for this Bean, for example, SpecimenData.
 DatabaseField[] getFieldsArray()
          Returns an Array of TFields representing the columnnames of this bean.
 JBean getNewInstance()
          Returns a new instance of this bean.
 DatabaseTable getTable()
           
 DatabaseField getTypeField()
          Returns the TField column where the type of this DynamicBean is put.
 
Methods inherited from class edu.jhu.tmaj.beans.dynamic.DynamicJBean
addDynamicValue, createFromSwingMap, getBeanList, getColumnIdentifiers, getDynamicBaseSQL, getDynamicMetaData, getDynamicSQL, getEnumerations, getSwingHash, getSwingToBeanObject, getTypeID, insert, isEnumerated, setTypeID, syncDynamicData, update
 
Methods inherited from class edu.jhu.tmaj.beans.JBean
compareTo, createFromResultSet, delete, equals, getAllStaticColumnIdentifiers, getBaseSQL, getBeanInDatabase, getBeanList, getClassForType, getDateField, getDefaultBeanObjectForType, getDefaultSwingObjectForType, getDoubleField, getFieldValue, getID_Bean_Map, getID, getIntegerField, getNonNullString, getPrimaryKeyField, getPrimaryKeyName, getSelectResponse, getSQL, getStaticMetaData, getStringField, getTableName, getUserBean, getWhereClause, hashCode, setDoubleField, setID, setIntegerField, setUserBean, toString, 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

SESSION_ID_FIELD

public static final DatabaseField SESSION_ID_FIELD

ARRAY_IMAGE_ID_FIELD

public static final DatabaseField ARRAY_IMAGE_ID_FIELD

TISSUE_TYPE_ID_FIELD

public static final DatabaseField TISSUE_TYPE_ID_FIELD

NOTES_FIELD

public static final DatabaseField NOTES_FIELD

INPUTLOG_FIELD

public static final DatabaseField INPUTLOG_FIELD

SESSION_ID_POSITION

public static final int SESSION_ID_POSITION
See Also:
Constant Field Values

ARRAY_IMAGE_ID_POSITION

public static final int ARRAY_IMAGE_ID_POSITION
See Also:
Constant Field Values

TISSUE_TYPE_ID_POSITION

public static final int TISSUE_TYPE_ID_POSITION
See Also:
Constant Field Values
Constructor Detail

ScoredImageBean

public ScoredImageBean(StaticMetaData staticMetaData,
                       DynamicMetaData dynamicMetaData,
                       SessionBean s)
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

getDynamicTableName

public java.lang.String getDynamicTableName()
Description copied from class: DynamicJBean
Returns the name of the Table that contains the DynamicData for this Bean, for example, SpecimenData.

Specified by:
getDynamicTableName in class DynamicJBean

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

getDynamicColumnIdentifiers

public java.util.List<DynamicTField> getDynamicColumnIdentifiers(java.util.Set<java.lang.Integer> typeIDsSet)
Gets the DynamicColumns for the Types supplied, and in addition get the DynamicFields for the session based on the Scoring Strategy.

Overrides:
getDynamicColumnIdentifiers in class DynamicJBean

getTypeField

public DatabaseField getTypeField()
Description copied from class: DynamicJBean
Returns the TField column where the type of this DynamicBean is put.

Specified by:
getTypeField in class DynamicJBean