3.1.2: 2012-07-31

net.sf.basedb.core.data
Class PhysicalBioAssayData

java.lang.Object
  extended by net.sf.basedb.core.data.BasicData
      extended by net.sf.basedb.core.data.OwnedData
          extended by net.sf.basedb.core.data.SharedData
              extended by net.sf.basedb.core.data.CommonData
                  extended by net.sf.basedb.core.data.AnnotatedData
                      extended by 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: 2011-10-21 13:15:41 +0200 (Fri, 21 Oct 2011) $
Hibernate: class
table="`PhysicalBioAssays`" lazy="true"

Field Summary
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
PhysicalBioAssayData()
           
 
Method Summary
 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 restriction
 int 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
getAnnotationSet, setAnnotationSet
 
Methods inherited from class net.sf.basedb.core.data.CommonData
getDescription, getName, isRemoved, setDescription, setName, setRemoved
 
Methods inherited from class net.sf.basedb.core.data.SharedData
getItemKey, getProjectKey, setItemKey, setProjectKey
 
Methods inherited from class net.sf.basedb.core.data.OwnedData
getOwner, setOwner
 
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
Constructor Detail

PhysicalBioAssayData

public PhysicalBioAssayData()
Method Detail

getItemSubtype

public ItemSubtypeData getItemSubtype()
Description copied from interface: SubtypableData
Get the subtype of the item.

Specified by:
getItemSubtype in interface SubtypableData

setItemSubtype

public void setItemSubtype(ItemSubtypeData subtype)
Description copied from interface: SubtypableData
Set the subtype of the item.

Specified by:
setItemSubtype in interface SubtypableData

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.getPhysicalBioAssay()
Hibernate: set
lazy="true" inverse="true" where="`parent_id` is null"
Hibernate: collection-key
column="`bioassay_id`"
Hibernate: collection-one-to-many
class="net.sf.basedb.core.data.DerivedBioAssayData"

setRootDerivedBioAssays

void setRootDerivedBioAssays(Set<DerivedBioAssayData> rootDerivedBioAssays)

getDerivedBioAssays

Set<DerivedBioAssayData> getDerivedBioAssays()
This is the inverse end.

See Also:
DerivedBioAssayData.getPhysicalBioAssay()
Hibernate: set
lazy="true" inverse="true"
Hibernate: collection-key
column="`bioassay_id`"
Hibernate: collection-one-to-many
class="net.sf.basedb.core.data.DerivedBioAssayData"

setDerivedBioAssays

void setDerivedBioAssays(Set<DerivedBioAssayData> derivedBioAssays)

3.1.2: 2012-07-31