Package net.sf.basedb.core.data
Class PhysicalBioAssayData
- 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.PhysicalBioAssayData
-
- All Implemented Interfaces:
AnnotatableData
,IdentifiableData
,LoggableData
,NameableData
,OwnableData
,RemovableData
,ShareableData
,SubtypableData
public class PhysicalBioAssayData extends AnnotatedData implements SubtypableData
This class holds information about a physical bioassay (eg. a hybridization or similar).- Since:
- 3.0
- Author:
- Nicklas
- See Also:
PhysicalBioAssay
, Developer documentation: Bioassays and raw data- Last modified
- $Date: 2012-09-14 12:29:16 +0200 (fr, 14 sep 2012) $
- Hibernate: class
- table="`PhysicalBioAssays`" lazy="true"
-
-
Field Summary
Fields Modifier and Type Field Description private ArraySlideData
arraySlide
private BioMaterialEventData
creationEvent
private Set<DerivedBioAssayData>
derivedBioAssays
private Set<DerivedBioAssayData>
rootDerivedBioAssays
private int
size
private ItemSubtypeData
subtype
-
Fields inherited from interface net.sf.basedb.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
-
-
Constructor Summary
Constructors Constructor Description PhysicalBioAssayData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArraySlideData
getArraySlide()
Get the array slide.BioMaterialEventData
getCreationEvent()
Get the event that created this bioassay.(package private) Set<DerivedBioAssayData>
getDerivedBioAssays()
This is the inverse end.ItemSubtypeData
getItemSubtype()
Get the subtype of the item.(package private) Set<DerivedBioAssayData>
getRootDerivedBioAssays()
This is the inverse end with an extra restrictionint
getSize()
The number size of the bioassay.void
setArraySlide(ArraySlideData arraySlide)
(package private) void
setCreationEvent(BioMaterialEventData creationEvent)
(package private) void
setDerivedBioAssays(Set<DerivedBioAssayData> derivedBioAssays)
void
setItemSubtype(ItemSubtypeData subtype)
Set the subtype of the item.(package private) void
setRootDerivedBioAssays(Set<DerivedBioAssayData> rootDerivedBioAssays)
void
setSize(int size)
-
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 Detail
-
subtype
private ItemSubtypeData subtype
-
arraySlide
private ArraySlideData arraySlide
-
creationEvent
private BioMaterialEventData creationEvent
-
size
private int size
-
rootDerivedBioAssays
private Set<DerivedBioAssayData> rootDerivedBioAssays
-
derivedBioAssays
private Set<DerivedBioAssayData> derivedBioAssays
-
-
Method Detail
-
getItemSubtype
public ItemSubtypeData getItemSubtype()
Description copied from interface:SubtypableData
Get the subtype of the item.- Specified by:
getItemSubtype
in interfaceSubtypableData
-
setItemSubtype
public void setItemSubtype(ItemSubtypeData subtype)
Description copied from interface:SubtypableData
Set the subtype of the item.- Specified by:
setItemSubtype
in interfaceSubtypableData
-
getArraySlide
public ArraySlideData getArraySlide()
Get the array slide.- Hibernate: many-to-one
- column="`arrayslide_id`" not-null="false" unique="true" outer-join="false"
-
setArraySlide
public void setArraySlide(ArraySlideData arraySlide)
-
getCreationEvent
public BioMaterialEventData getCreationEvent()
Get the event that created this bioassay. Mapping is defined in hibernate-properties-PhysicalBioassayData.xml since XDoclet cannot generate it.
-
setCreationEvent
void setCreationEvent(BioMaterialEventData creationEvent)
-
getSize
public int getSize()
The number size of the bioassay. Eg. the number of biomaterial positions that it has. A single position may or may not hold more than one biomaterial.- Hibernate: property
- column="`size`" type="int" not-null="true"
-
setSize
public void setSize(int size)
-
getRootDerivedBioAssays
Set<DerivedBioAssayData> getRootDerivedBioAssays()
This is the inverse end with an extra restriction- See Also:
DerivedBioAssayData.getPhysicalBioAssays()
- Hibernate: set
- table="`ParentPhysicalBioAssays`" lazy="true" inverse="true"
- Hibernate: collection-key
- column="`physicalbioassay_id`"
- Hibernate: collection-many-to-many
- column="`derivedbioassay_id`" class="net.sf.basedb.core.data.DerivedBioAssayData" where="`is_root`"
-
setRootDerivedBioAssays
void setRootDerivedBioAssays(Set<DerivedBioAssayData> rootDerivedBioAssays)
-
getDerivedBioAssays
Set<DerivedBioAssayData> getDerivedBioAssays()
This is the inverse end.- See Also:
DerivedBioAssayData.getPhysicalBioAssays()
- Hibernate: set
- table="`ParentPhysicalBioAssays`" lazy="true" inverse="true"
- Hibernate: collection-key
- column="`physicalbioassay_id`"
- Hibernate: collection-many-to-many
- column="`derivedbioassay_id`" class="net.sf.basedb.core.data.DerivedBioAssayData"
-
setDerivedBioAssays
void setDerivedBioAssays(Set<DerivedBioAssayData> derivedBioAssays)
-
-