Package net.sf.basedb.core.data
Class ArrayDesignData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.OwnedData
net.sf.basedb.core.data.SharedData
net.sf.basedb.core.data.CommonData
net.sf.basedb.core.data.AnnotatedData
net.sf.basedb.core.data.ArrayDesignData
- All Implemented Interfaces:
AnnotatableData
,FileStoreEnabledData
,IdentifiableData
,LoggableData
,NameableData
,OwnableData
,RegisteredData
,RemovableData
,ShareableData
This class holds information about an arrayDesign
- Version:
- 2.0
- Author:
- enell
- See Also:
- Last modified
- $Date: 2012-09-14 09:28:35 +0200 (fr, 14 sep 2012) $
- Hibernate: class
- table="`ArrayDesigns`" lazy="true"
-
Field Summary
Modifier and TypeFieldDescriptionprivate Set<ArrayBatchData>
private Set<ArrayDesignBlockData>
private int
private Date
private int
private int
private FileSetData
private boolean
private JobData
private int
private Set<ArrayDesignPlateData>
private PlatformData
private PlatformVariantData
Fields inherited from interface net.sf.basedb.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) Set<ArrayBatchData>
This is the inverse end.(package private) Set<ArrayDesignBlockData>
This is the inverse end.Get the date this item was added to the database.int
The method to use for identiying features. 1 = COORDINATES, 2 = POSITION, 3 = FEATURE_IDGet the file set attached to this item.boolean
If the array design has features or not.getJob()
Get the job that was used to import features to this array desingint
The number of arrays on a single slide.int
The number of features on this array design that are stored in the database.int
The number of features on this array design that are stored inside files.The plates this design is made from.Get the platform this raw bioassay usesGet the platform variant this raw bioassay uses, or null.(package private) void
setArrayBatches
(Set<ArrayBatchData> arrayBatches) (package private) void
setArrayDesignBlocks
(Set<ArrayDesignBlockData> arrayDesignBlocks) void
setEntryDate
(Date entryDate) void
setFeatureIdentificationMethod
(int featureIdentificationMethod) void
setFileSet
(FileSetData fileSet) Attach a file set to the item.void
setHasFeatures
(boolean hasFeatures) void
void
setNumArrays
(int numArrays) void
setNumDbFeatures
(int dbFeatures) void
setNumFileFeatures
(int fileFeatures) (package private) void
setPlates
(Set<ArrayDesignPlateData> plates) void
setPlatform
(PlatformData platform) void
setVariant
(PlatformVariantData variant) Methods inherited from class net.sf.basedb.core.data.AnnotatedData
getAnnotations, getAnnotationSet, setAnnotations, setAnnotationSet
Methods inherited from class net.sf.basedb.core.data.CommonData
getDescription, getName, getRemovedBy, setDescription, setName, setRemovedBy
Methods inherited from class net.sf.basedb.core.data.SharedData
getItemKey, getProjectKey, setItemKey, setProjectKey
Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getId, getVersion, hashCode, setId, setVersion, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData
getId, getVersion
Methods inherited from interface net.sf.basedb.core.data.OwnableData
getOwner, setOwner
-
Field Details
-
fileSet
-
entryDate
-
platform
-
variant
-
job
-
numArrays
private int numArrays -
hasFeatures
private boolean hasFeatures -
dbFeatures
private int dbFeatures -
fileFeatures
private int fileFeatures -
featureIdentificationMethod
private int featureIdentificationMethod -
arrayDesignBlocks
-
plates
-
arrayBatches
-
-
Constructor Details
-
ArrayDesignData
public ArrayDesignData()
-
-
Method Details
-
getFileSet
Description copied from interface:FileStoreEnabledData
Get the file set attached to this item.- Specified by:
getFileSet
in interfaceFileStoreEnabledData
- Returns:
- A
FileSetData
object or null if no files are attached
-
setFileSet
Description copied from interface:FileStoreEnabledData
Attach a file set to the item. Null is allowed to unlink it.- Specified by:
setFileSet
in interfaceFileStoreEnabledData
-
getEntryDate
Description copied from interface:RegisteredData
Get the date this item was added to the database. The value is generated at creation time and can't be modified later.- Specified by:
getEntryDate
in interfaceRegisteredData
-
setEntryDate
-
getPlatform
Get the platform this raw bioassay uses- Since:
- 2.5
- Hibernate: column
- name="`platform_id`" not-null="true"
- Hibernate: many-to-one
- outer-join="false"
-
setPlatform
-
getVariant
Get the platform variant this raw bioassay uses, or null.- Since:
- 2.5
- Hibernate: column
- name="`variant_id`"
- Hibernate: many-to-one
- outer-join="false"
-
setVariant
-
getJob
Get the job that was used to import features to this array desing- Since:
- 2.7
- Hibernate: many-to-one
- column="`job_id`" not-null="false" outer-join="false"
-
setJob
- Since:
- 2.7
-
getNumArrays
public int getNumArrays()The number of arrays on a single slide.- Since:
- 2.6
- Hibernate: property
- column="`num_arrays`" type="int" not-null="true"
-
setNumArrays
public void setNumArrays(int numArrays) -
getHasFeatures
public boolean getHasFeatures()If the array design has features or not.- Hibernate: property
- column="`has_features`" type="boolean" not-null="true"
-
setHasFeatures
public void setHasFeatures(boolean hasFeatures) -
getNumDbFeatures
public int getNumDbFeatures()The number of features on this array design that are stored in the database.- Since:
- 2.5
- Hibernate: property
- column="`db_features`" type="int" not-null="true"
-
setNumDbFeatures
public void setNumDbFeatures(int dbFeatures) -
getNumFileFeatures
public int getNumFileFeatures()The number of features on this array design that are stored inside files.- Since:
- 2.5
- Hibernate: property
- column="`file_features`" type="int" not-null="true"
-
setNumFileFeatures
public void setNumFileFeatures(int fileFeatures) -
getFeatureIdentificationMethod
public int getFeatureIdentificationMethod()The method to use for identiying features. 1 = COORDINATES, 2 = POSITION, 3 = FEATURE_ID- Since:
- 2.6
- Hibernate: property
- column="`identification_method`" type="int" not-null="true"
-
setFeatureIdentificationMethod
public void setFeatureIdentificationMethod(int featureIdentificationMethod) -
getArrayDesignBlocks
Set<ArrayDesignBlockData> getArrayDesignBlocks()This is the inverse end.- See Also:
- Hibernate: set
- lazy="true" inverse="true" cascade="delete"
- Hibernate: collection-key
- column="`arraydesign_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.ArrayDesignBlockData"
-
setArrayDesignBlocks
-
getPlates
The plates this design is made from.- Hibernate: set
- lazy="true" inverse="true" cascade="all-delete-orphan"
- Hibernate: collection-key
- column="`arraydesign_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.ArrayDesignPlateData"
-
setPlates
-
getArrayBatches
Set<ArrayBatchData> getArrayBatches()This is the inverse end.- See Also:
- Hibernate: set
- lazy="true" inverse="true"
- Hibernate: collection-key
- column="`arraydesign_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.ArrayBatchData"
-
setArrayBatches
-