gov.nih.nci.caarray.domain.data
Class HybridizationData

java.lang.Object
  extended by gov.nih.nci.caarray.domain.AbstractCaArrayObject
      extended by 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

Field Summary
 
Fields inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayObject
DEFAULT_BATCH_SIZE, DEFAULT_STRING_COLUMN_SIZE, LARGE_TEXT_FIELD_LENGTH
 
Constructor Summary
HybridizationData()
           
 
Method Summary
 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.
 AbstractDataColumn getColumn(QuantitationType type)
          Returns the column matching the provided type, if one exists.
 AbstractDataColumn getColumn(QuantitationTypeDescriptor typeDescriptor)
          Returns the column matching the provided type, if one exists.
 java.util.List<AbstractDataColumn> getColumns()
           
 DataSet getDataSet()
           
 Hybridization getHybridization()
           
 LabeledExtract getLabeledExtract()
           
 void prepareColumns(java.util.List<QuantitationType> types, int numberOfRows)
          Initialize the columns of this HybridizationData with empty value sets of given size.
 void setDataSet(DataSet dataSet)
           
 void setHybridization(Hybridization hybridization)
           
 void setLabeledExtract(LabeledExtract labeledExtract)
           
 
Methods inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayObject
equals, getCaBigId, getId, getPostLoadSecurityPolicies, getRemoteApiSecurityPolicies, hashCode, setCaBigId, setId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HybridizationData

public HybridizationData()
Method Detail

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 initialize
numberOfRows - 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.