gov.nih.nci.caarray.domain.data
Class HybridizationData
java.lang.Object
gov.nih.nci.caarray.domain.AbstractCaArrayObject
gov.nih.nci.caarray.domain.data.HybridizationData
- All Implemented Interfaces:
- com.fiveamsolutions.nci.commons.data.persistent.PersistentObject, java.io.Serializable
public class HybridizationData
- extends AbstractCaArrayObject
Value holder for all the data values associated with a specific hybridization.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
HybridizationData
public HybridizationData()
getColumns
public java.util.List<AbstractDataColumn> getColumns()
- Returns:
- the columns
getHybridization
public Hybridization getHybridization()
- Returns:
- the hybridization
setHybridization
public void setHybridization(Hybridization hybridization)
- Parameters:
hybridization
- the hybridization to set
getLabeledExtract
public LabeledExtract getLabeledExtract()
- Returns:
- the labeledExtract
setLabeledExtract
public void setLabeledExtract(LabeledExtract labeledExtract)
- Parameters:
labeledExtract
- the labeledExtract to set
getDataSet
public DataSet getDataSet()
- Returns:
- the dataSet
setDataSet
public void setDataSet(DataSet dataSet)
- Parameters:
dataSet
- the dataSet to set
prepareColumns
public void prepareColumns(java.util.List<QuantitationType> types,
int numberOfRows)
- Initialize the columns of this HybridizationData with empty value sets of given size.
- Parameters:
types
- the types of the columns to initializenumberOfRows
- the number of rows each columnn's array of values should have
areColumnsLoaded
public boolean areColumnsLoaded(java.util.Collection<QuantitationType> types)
- Determine whether all columns for the given quantitation types in this HybridizationData have been loaded with
data values.
- Parameters:
types
- the quantitation types of interest
- Returns:
- true if each column in this HybridizationData whose type is in the given set of types has been loaded,
e.g. column.isLoaded is true; false otherwise.
getColumn
public AbstractDataColumn getColumn(QuantitationType type)
- Returns the column matching the provided type, if one exists.
- Parameters:
type
- get column for this type
- Returns:
- the matching column or null.
getColumn
public AbstractDataColumn getColumn(QuantitationTypeDescriptor typeDescriptor)
- Returns the column matching the provided type, if one exists.
- Parameters:
typeDescriptor
- get column for this type
- Returns:
- the matching column or null.