edu.jhu.tmaj.client.arraybuilder.data
Class ArrayCoreData

java.lang.Object
  extended by edu.jhu.tmaj.client.arraybuilder.data.ArrayCoreData

public final class ArrayCoreData
extends java.lang.Object

Represents data assigned to each ArrayCore, namely a TissueDiagnosisID or ControlName.


Method Summary
static boolean equals(ArrayCoreData arrayCoreData, ArrayCoreRep arrayCoreBean)
           
static ArrayCoreData getControlInstance(java.lang.String controlName)
          Returns ArrayCoreData that has been designated a control.
 java.lang.String getControlName()
           
static ArrayCoreData getDummyInstance()
          Returns ArrayCoreData for a coordinate with empty data.
static ArrayCoreData getInstance(ArrayCoreRep arrayCoreRep)
          Converts an ArrayCoreRep to ArrayCoreData.
static ArrayCoreData getNormalInstance(int tissueDiagnosisID)
          Returns a typical ArrayCoreData, where a tissueDiagnosisID is assigned.
 int getTissueDiagnosisID()
           
 boolean isControl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTissueDiagnosisID

public int getTissueDiagnosisID()

getControlName

public java.lang.String getControlName()

isControl

public boolean isControl()

getInstance

public static ArrayCoreData getInstance(ArrayCoreRep arrayCoreRep)
Converts an ArrayCoreRep to ArrayCoreData.


getNormalInstance

public static ArrayCoreData getNormalInstance(int tissueDiagnosisID)
Returns a typical ArrayCoreData, where a tissueDiagnosisID is assigned.


getControlInstance

public static ArrayCoreData getControlInstance(java.lang.String controlName)
Returns ArrayCoreData that has been designated a control. A default, constant TissueDiagnosisID is assigned. Controls are assigned a control name, which is generally the name of the organ the control was taken from, for example, bladder.


getDummyInstance

public static ArrayCoreData getDummyInstance()
Returns ArrayCoreData for a coordinate with empty data.


equals

public static boolean equals(ArrayCoreData arrayCoreData,
                             ArrayCoreRep arrayCoreBean)