|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.beans.misc.ArrayCoreRep
public final class ArrayCoreRep
Represents the table ArrayCores. An ArrayCore is a "cylinder" that is put into an ArrayBlock.
These cylinders are made by poking the TissueDiagnosis sub-section of a donor-block with a
hollow cylinder tube. The TissueDiagnosis (Sub-Block) area can be poked multiple times, thus a
single TissueDiagnosis can be used for multiple ArrayCores. An ArrayCore can be uniquely
identified by knowing the ArrayBlock, and the X and Y coordinate.
Field Summary | |
---|---|
static int |
CONTROL_TISSUE_DIAGNOSIS_ID
The TissueDiagnosisID for Controls. |
static int |
DUMMY_TISSUE_DIAGNOSIS_ID
The tissueDiagnosisID assigned to ArrayCores that are null. |
Constructor Summary | |
---|---|
ArrayCoreRep(int arrayBlockID,
Coordinate c,
int tissueDiagnosisID,
java.lang.String control)
|
Method Summary | |
---|---|
int |
getArrayBlockID()
Returns the ArrayBlock of which this ArrayCore is part. |
java.lang.String |
getControlName()
Returns the Control name of the ArrayCoreBean. |
Coordinate |
getCoordinate()
Returns the position of this ArrayCore in the ArrayBlock, for example, x=5,y=10. |
int |
getTissueDiagnosisID()
Gets the TissueDiagnosisID of the ArrayCore. |
int |
getX()
Gets the X position of this ArrayCore in the ArrayBlock |
int |
getY()
Gets the Y position of this ArrayCore in the ArrayBlock |
boolean |
isControl()
|
void |
setControlName(java.lang.String control)
|
void |
setTissueDiagnosisID(int tissueDiagnosisID)
Changes the TissueDiagnosisID where this ArrayCore came from. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DUMMY_TISSUE_DIAGNOSIS_ID
public static final int CONTROL_TISSUE_DIAGNOSIS_ID
Constructor Detail |
---|
public ArrayCoreRep(int arrayBlockID, Coordinate c, int tissueDiagnosisID, java.lang.String control)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isControl()
public java.lang.String getControlName()
public int getTissueDiagnosisID()
public int getX()
public int getY()
public int getArrayBlockID()
public Coordinate getCoordinate()
public void setTissueDiagnosisID(int tissueDiagnosisID)
public void setControlName(java.lang.String control)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |