edu.jhu.tmaj.beans
Class IASessionBean

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

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

See Also:
Serialized Form

Field Summary
static DatabaseField CALIBRATION_COEFFICIENT_1_FIELD
           
static DatabaseField CALIBRATION_COEFFICIENT_2_FIELD
           
static DatabaseField CALIBRATION_COEFFICIENT_3_FIELD
           
static DatabaseField CALIBRATION_COEFFICIENT_4_FIELD
           
static DatabaseField CALIBRATION_COEFFICIENT_5_FIELD
           
static DatabaseField CALIBRATION_FUNCTION_FIELD
           
static DatabaseField CREATION_DATE_FIELD
           
static DatabaseField ID_FIELD
           
static DatabaseField INPUTLOG_FIELD
           
static DatabaseField NOTES_FIELD
           
static DatabaseField PROJECT_ID_FIELD
           
static DatabaseField SCAN_ID_FIELD
           
static DatabaseField SESSION_DESCRIPTION_FIELD
           
static DatabaseField USER_ID_FIELD
           
 
Fields inherited from class edu.jhu.tmaj.beans.JBean
staticMetaData
 
Constructor Summary
IASessionBean()
           
IASessionBean(int projectID, int scanID, java.lang.String sessionDescription, int ownerUserID)
           
 
Method Summary
 java.lang.Double getCalibrationCoefficient1()
           
 java.lang.Double getCalibrationCoefficient2()
           
 java.lang.Double getCalibrationCoefficient3()
           
 java.lang.Double getCalibrationCoefficient4()
           
 java.lang.Double getCalibrationCoefficient5()
           
 java.lang.String getCalibrationFunction()
           
 java.util.Date getCreationDate()
           
 DatabaseField[] getFieldsArray()
          Returns an Array of TFields representing the columnnames of this bean.
 JBean getNewInstance()
          Returns a new instance of this bean.
 java.lang.String getNotes()
           
 java.lang.Integer getProjectID()
           
 java.lang.Integer getScanID()
          Returns the ScanID of the Scan this session was created on.
 java.lang.String getSessionDescription()
           
 DatabaseTable getTable()
           
 java.lang.Integer getUserID()
           
 void setCalibrationCoefficient1(java.lang.Double coefficient)
           
 void setCalibrationCoefficient2(java.lang.Double coefficient)
           
 void setCalibrationCoefficient3(java.lang.Double coefficient)
           
 void setCalibrationCoefficient4(java.lang.Double coefficient)
           
 void setCalibrationCoefficient5(java.lang.Double coefficient)
           
 void setCalibrationFunction(java.lang.String calibrationFunction)
           
 void setCreationDate(java.util.Date date)
           
 void setNotes(java.lang.String notes)
           
 void setProjectID(java.lang.Integer projectID)
           
 void setScanID(java.lang.Integer scanID)
           
 void setSessionDescription(java.lang.String sessionDescription)
           
 void setUserID(java.lang.Integer userID)
           
 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

SESSION_DESCRIPTION_FIELD

public static final DatabaseField SESSION_DESCRIPTION_FIELD

SCAN_ID_FIELD

public static final DatabaseField SCAN_ID_FIELD

USER_ID_FIELD

public static final DatabaseField USER_ID_FIELD

PROJECT_ID_FIELD

public static final DatabaseField PROJECT_ID_FIELD

CREATION_DATE_FIELD

public static final DatabaseField CREATION_DATE_FIELD

CALIBRATION_FUNCTION_FIELD

public static final DatabaseField CALIBRATION_FUNCTION_FIELD

CALIBRATION_COEFFICIENT_1_FIELD

public static final DatabaseField CALIBRATION_COEFFICIENT_1_FIELD

CALIBRATION_COEFFICIENT_2_FIELD

public static final DatabaseField CALIBRATION_COEFFICIENT_2_FIELD

CALIBRATION_COEFFICIENT_3_FIELD

public static final DatabaseField CALIBRATION_COEFFICIENT_3_FIELD

CALIBRATION_COEFFICIENT_4_FIELD

public static final DatabaseField CALIBRATION_COEFFICIENT_4_FIELD

CALIBRATION_COEFFICIENT_5_FIELD

public static final DatabaseField CALIBRATION_COEFFICIENT_5_FIELD

NOTES_FIELD

public static final DatabaseField NOTES_FIELD

INPUTLOG_FIELD

public static final DatabaseField INPUTLOG_FIELD
Constructor Detail

IASessionBean

public IASessionBean()

IASessionBean

public IASessionBean(int projectID,
                     int scanID,
                     java.lang.String sessionDescription,
                     int ownerUserID)
Method Detail

setProjectID

public void setProjectID(java.lang.Integer projectID)

setScanID

public void setScanID(java.lang.Integer scanID)

setUserID

public void setUserID(java.lang.Integer userID)

setSessionDescription

public void setSessionDescription(java.lang.String sessionDescription)

setCreationDate

public void setCreationDate(java.util.Date date)

setNotes

public void setNotes(java.lang.String notes)

setCalibrationFunction

public void setCalibrationFunction(java.lang.String calibrationFunction)

setCalibrationCoefficient1

public void setCalibrationCoefficient1(java.lang.Double coefficient)

setCalibrationCoefficient2

public void setCalibrationCoefficient2(java.lang.Double coefficient)

setCalibrationCoefficient3

public void setCalibrationCoefficient3(java.lang.Double coefficient)

setCalibrationCoefficient4

public void setCalibrationCoefficient4(java.lang.Double coefficient)

setCalibrationCoefficient5

public void setCalibrationCoefficient5(java.lang.Double coefficient)

getNotes

public java.lang.String getNotes()

getUserID

public java.lang.Integer getUserID()

getProjectID

public java.lang.Integer getProjectID()

getScanID

public java.lang.Integer getScanID()
Returns the ScanID of the Scan this session was created on.


getSessionDescription

public java.lang.String getSessionDescription()

getCreationDate

public java.util.Date getCreationDate()

getCalibrationFunction

public java.lang.String getCalibrationFunction()

getCalibrationCoefficient1

public java.lang.Double getCalibrationCoefficient1()

getCalibrationCoefficient2

public java.lang.Double getCalibrationCoefficient2()

getCalibrationCoefficient3

public java.lang.Double getCalibrationCoefficient3()

getCalibrationCoefficient4

public java.lang.Double getCalibrationCoefficient4()

getCalibrationCoefficient5

public java.lang.Double getCalibrationCoefficient5()

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

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