|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.jhu.tmaj.beans.ArrayCoreReferenceBean
public final class ArrayCoreReferenceBean
This bean queries the Specimen, Block, and TissueDiagnosis tables so that ArrayBuilder can quickly lookup background information on any TissueDiagnosisID, which every ArrayCore contains. This bean is generally initialized with an ArrayBlockID, thus getting all the TissueDiagnosisID's in the specified ArrayBlock. As users add more individual TissueDiagnosisIDs to the ArrayBlock, those are looked up as well. This bean can also be initialized with a single TissueDiagnosisID. Then bean is then sent back to the client, and is used to update the ArrayCoreReferenceBean there.
Constructor Summary | |
---|---|
ArrayCoreReferenceBean()
|
Method Summary | |
---|---|
void |
addBean(JBean bean)
Add either a SpecimenBean,BlockBean, or TissueDiagnosisBean. |
java.util.Collection<JBean> |
getAllTissueDiagnosisBeans()
|
BlockBean |
getBlockBean(int blockID)
|
SpecimenBean |
getSpecimenBean(int specimenID)
|
TissueDiagnosisBean |
getTissueDiagnosisBean(int tissueDiagnosisID)
|
void |
initializeWithArrayBlock(int arrayBlockID)
Initializes the data in this class with an ArrayBlockID. |
void |
initializeWithTissueDiagnosisID(int tissueDiagnosisID)
Initializes this bean with a TissueDiagnosisID. |
boolean |
isTissueDiagnosisLookedUp(int tissueDiagnosisID)
Returns true if this bean has information about the specified TissueDiagnosisID |
void |
update(ArrayCoreReferenceBean bean)
Adds the information in this ArrayCoreReferenceBean with that of the specified ArrayCoreReferenceBean. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArrayCoreReferenceBean()
Method Detail |
---|
public void addBean(JBean bean)
public void update(ArrayCoreReferenceBean bean)
public void initializeWithArrayBlock(int arrayBlockID) throws java.sql.SQLException
java.sql.SQLException
public void initializeWithTissueDiagnosisID(int tissueDiagnosisID) throws java.sql.SQLException
java.sql.SQLException
public SpecimenBean getSpecimenBean(int specimenID)
public BlockBean getBlockBean(int blockID)
public TissueDiagnosisBean getTissueDiagnosisBean(int tissueDiagnosisID)
public java.util.Collection<JBean> getAllTissueDiagnosisBeans()
public boolean isTissueDiagnosisLookedUp(int tissueDiagnosisID)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |