|
|||||||||
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.dynamic.DynamicJBean edu.jhu.tmaj.beans.dynamic.SpecimenBean
public final class SpecimenBean
Represents the Specimens table, with the accompaning dynamic table, SpecimenData. A Specimen represents all the tissue that is taken out of a patient during a surgery. It is possible for a patient to have multiple specimens, since some patients have to come back for another surgery. A Specimen can be uniquely identified by knowing the SurgPathNumber and Hospital where the surgery was performed. The SurgPathNumber is the hospital's primary-key for keeping track of specimens. When possible, the SurgPathNumber, any dates, and names of doctors are kept from end-users to protect patient privacy. Note: Users do not generally assign a patient to a Specimen. To be specific, users can not even view the Patient's table. The only time the patient's table is used when the Import application is used to import Specimens. A Hospital and a SurgPathNumber uniquely identify a Specimen.
Field Summary | |
---|---|
static DatabaseField |
ACCESSION_DATE_FIELD
|
static DatabaseField |
AGE_FIELD
|
static DatabaseField |
ANIMAL_EXPERIMENT_ID_FIELD
|
static DatabaseField |
DATE_SPECIMEN_TAKEN_FIELD
|
static DatabaseField |
FIXATION_ID_FIELD
|
static DatabaseField |
HOSPITAL_ID_FIELD
|
static DatabaseField |
ID_FIELD
|
static DatabaseField |
INPUTLOG_FIELD
|
static DatabaseField |
MARGINS_POSITIVE_FIELD
|
static DatabaseField |
NOTES_FIELD
|
static DatabaseField |
OUTSIDE_RESEARCH_NUMBER_FIELD
|
static DatabaseField |
OUTSIDE_SURG_PATH_NUMBER_FIELD
|
static DatabaseField |
PATHOLOGISTS_FIELD
|
static DatabaseField |
PATIENT_ID_FIELD
|
static DatabaseField |
PHYSICIANS_FIELD
|
static DatabaseField |
PROCEDURE_TYPE_FIELD
|
static DatabaseField |
PROCESSING_FIELD
|
static DatabaseField |
RACE_FIELD
|
static DatabaseField |
SPECIMEN_LIST_FIELD
|
static DatabaseField |
SPECIMEN_TYPE_ID_FIELD
|
static DatabaseField |
SURG_PATH_NUMBER_FIELD
|
static java.lang.String |
SURG_PATH_NUMBER_STRING
|
static DatabaseField |
TUMOR_BANK_NUMBER_FIELD
|
Fields inherited from class edu.jhu.tmaj.beans.dynamic.DynamicJBean |
---|
dynamicMetaData |
Fields inherited from class edu.jhu.tmaj.beans.JBean |
---|
staticMetaData |
Constructor Summary | |
---|---|
SpecimenBean(StaticMetaData staticMetaData,
DynamicMetaData dynamicMetaData)
|
Method Summary | |
---|---|
(package private) java.lang.String |
getDynamicSQL(Search search)
Returns a SQL statement that will pull records from the DynamicData table (e.g. |
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. |
int |
getHospitalID()
Returns the Hospital where the surgery was performed to obtain this specimen. |
JBean |
getNewInstance()
Returns a new instance of this bean. |
java.lang.String |
getSQL(Search search)
Returns a SELECT SQL statement given a Search. |
java.lang.String |
getSurgPathNumber()
Returns the unique identifier the hospital assigned to this specimen. |
DatabaseTable |
getTable()
|
DatabaseField |
getTypeField()
Returns the TField column where the type of this DynamicBean is put. |
void |
insert()
Performs an INSERT operation on the database with the data in this bean. |
Methods inherited from class edu.jhu.tmaj.beans.dynamic.DynamicJBean |
---|
addDynamicValue, createFromSwingMap, getBeanList, getColumnIdentifiers, getDynamicBaseSQL, getDynamicColumnIdentifiers, getDynamicMetaData, getEnumerations, getSwingHash, getSwingToBeanObject, getTypeID, isEnumerated, setTypeID, syncDynamicData, update |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SURG_PATH_NUMBER_STRING
public static final DatabaseField ID_FIELD
public static final DatabaseField SURG_PATH_NUMBER_FIELD
public static final DatabaseField HOSPITAL_ID_FIELD
public static final DatabaseField SPECIMEN_TYPE_ID_FIELD
public static final DatabaseField PATIENT_ID_FIELD
public static final DatabaseField AGE_FIELD
public static final DatabaseField RACE_FIELD
public static final DatabaseField ANIMAL_EXPERIMENT_ID_FIELD
public static final DatabaseField OUTSIDE_SURG_PATH_NUMBER_FIELD
public static final DatabaseField OUTSIDE_RESEARCH_NUMBER_FIELD
public static final DatabaseField SPECIMEN_LIST_FIELD
public static final DatabaseField ACCESSION_DATE_FIELD
public static final DatabaseField DATE_SPECIMEN_TAKEN_FIELD
public static final DatabaseField PATHOLOGISTS_FIELD
public static final DatabaseField PHYSICIANS_FIELD
public static final DatabaseField NOTES_FIELD
public static final DatabaseField TUMOR_BANK_NUMBER_FIELD
public static final DatabaseField FIXATION_ID_FIELD
public static final DatabaseField MARGINS_POSITIVE_FIELD
public static final DatabaseField PROCEDURE_TYPE_FIELD
public static final DatabaseField PROCESSING_FIELD
public static final DatabaseField INPUTLOG_FIELD
Constructor Detail |
---|
public SpecimenBean(StaticMetaData staticMetaData, DynamicMetaData dynamicMetaData)
Method Detail |
---|
public int getHospitalID()
public java.lang.String getSurgPathNumber()
public DatabaseField getTypeField()
DynamicJBean
getTypeField
in class DynamicJBean
public DatabaseTable getTable()
getTable
in class JBean
public JBean getNewInstance()
JBean
getNewInstance
in class JBean
public DatabaseField[] getFieldsArray()
JBean
getFieldsArray
in class JBean
public java.lang.String getDynamicTableName()
DynamicJBean
getDynamicTableName
in class DynamicJBean
java.lang.String getDynamicSQL(Search search)
DynamicJBean
getDynamicSQL
in class DynamicJBean
public java.lang.String getSQL(Search search)
JBean
getSQL
in class JBean
public void insert() throws java.sql.SQLException
DynamicJBean
insert
in class DynamicJBean
java.sql.SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |