|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.caarray.domain.AbstractCaArrayObject
gov.nih.nci.caarray.domain.data.AbstractDataColumn
public abstract class AbstractDataColumn
Subclasses of AbstractDataColumn
contain the actual array data corresponding to a single
QuantitationType
.
Note: AbstractDataColumn is not a normal hibernate object. The values API (getValuesAsArray, initializeArray, and setValuesFromArray) does not manipulate hibernate-managed information. Instead, values are managed by the DataStorageFacade. To properly initialize this class, ParsedDataPersister must be utilized. NPEs will result from incorrect usage.
Field Summary | |
---|---|
protected static java.lang.String |
ERROR_NOT_INITIALIZED
Error message for incorrect usage of uninitialized values array. |
protected static java.lang.String |
SEPARATOR
separator to use for encoding an array of values as string, except for StringColumn. |
Fields inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayObject |
---|
DEFAULT_BATCH_SIZE, DEFAULT_STRING_COLUMN_SIZE, LARGE_TEXT_FIELD_LENGTH |
Constructor Summary | |
---|---|
AbstractDataColumn()
|
Method Summary | |
---|---|
java.net.URI |
getDataHandle()
|
HybridizationData |
getHybridizationData()
|
QuantitationType |
getQuantitationType()
|
abstract java.io.Serializable |
getValuesAsArray()
Serialized values, from the DataStorageFacade. |
abstract java.lang.String |
getValuesAsString()
|
abstract void |
initializeArray(int numberOfValues)
Initializes this column to hold the number of values given. |
abstract boolean |
isLoaded()
Indicates whether this column is already loaded, meaning its populated with an array of values. |
void |
setDataHandle(java.net.URI dataHandle)
|
void |
setHybridizationData(HybridizationData hybridizationData)
|
void |
setQuantitationType(QuantitationType quantitationType)
|
abstract void |
setValuesAsString(java.lang.String s)
Set values from a String representation. |
abstract void |
setValuesFromArray(java.io.Serializable array)
Set the values of this column from a value array. |
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 |
Field Detail |
---|
protected static final java.lang.String SEPARATOR
protected static final java.lang.String ERROR_NOT_INITIALIZED
Constructor Detail |
---|
public AbstractDataColumn()
Method Detail |
---|
public QuantitationType getQuantitationType()
public void setQuantitationType(QuantitationType quantitationType)
quantitationType
- the quantitationType to setpublic abstract boolean isLoaded()
public HybridizationData getHybridizationData()
public void setHybridizationData(HybridizationData hybridizationData)
hybridizationData
- the hybridizationData to setpublic java.net.URI getDataHandle()
public void setDataHandle(java.net.URI dataHandle)
dataHandle
- the dataHandle to setpublic abstract java.io.Serializable getValuesAsArray()
public abstract void setValuesFromArray(java.io.Serializable array)
array
- the values for this column. Should be an array of the appropriate primitive or String type.public abstract java.lang.String getValuesAsString()
public abstract void setValuesAsString(java.lang.String s)
s
- the string containing the space-separated valuespublic abstract void initializeArray(int numberOfValues)
numberOfValues
- number of values
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |