Class BioMaterial
- java.lang.Object
- 
- ubic.gemma.model.common.AbstractDescribable
- 
- ubic.gemma.model.expression.biomaterial.BioMaterial
 
 
- 
- All Implemented Interfaces:
- gemma.gsec.model.Securable,- gemma.gsec.model.SecuredChild,- Serializable,- Securable,- SecuredChild,- Describable,- Identifiable
 
 @Indexed public class BioMaterial extends AbstractDescribable implements SecuredChild, Serializable In MAGE, BioMaterial is an abstract class that represents the important substances such as cells, tissues, DNA, proteins, etc... In MAGE, Biomaterial subclasses such as BioSample and BioSource can be related to other biomaterial through a directed acyclic graph (represented by treatment(s)). In our implementation, we don't care so much about the experimental procedures and we just lump all of the BioMaterial into one class.- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classBioMaterial.Factory
 - 
Constructor SummaryConstructors Constructor Description BioMaterial()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<BioAssay>getBioAssaysUsedIn()Set<Characteristic>getCharacteristics()DatabaseEntrygetExternalAccession()Set<FactorValue>getFactorValues()LonggetId()StringgetName()Obtain the name of an object is a possibly ambiguous human-readable identifier that need not be an external database reference.SecurablegetSecurityOwner()TaxongetSourceTaxon()Set<Treatment>getTreatments()voidsetBioAssaysUsedIn(Set<BioAssay> bioAssaysUsedIn)voidsetCharacteristics(Set<Characteristic> characteristics)voidsetExternalAccession(DatabaseEntry externalAccession)voidsetFactorValues(Set<FactorValue> factorValues)voidsetSourceTaxon(Taxon sourceTaxon)voidsetTreatments(Set<Treatment> treatments)- 
Methods inherited from class ubic.gemma.model.common.AbstractDescribableequals, getDescription, hashCode, setDescription, setId, setName, toString
 
- 
 
- 
- 
- 
Method Detail- 
getId@DocumentId public Long getId() - Specified by:
- getIdin interface- Identifiable
- Specified by:
- getIdin interface- gemma.gsec.model.Securable
- Overrides:
- getIdin class- AbstractDescribable
 
 - 
getName@Field public String getName() Description copied from interface:DescribableObtain the name of an object is a possibly ambiguous human-readable identifier that need not be an external database reference.- Specified by:
- getNamein interface- Describable
- Overrides:
- getNamein class- AbstractDescribable
 
 - 
getCharacteristics@IndexedEmbedded public Set<Characteristic> getCharacteristics() 
 - 
setCharacteristicspublic void setCharacteristics(Set<Characteristic> characteristics) 
 - 
getExternalAccession@IndexedEmbedded public DatabaseEntry getExternalAccession() - Returns:
- An optional external reference for this BioMaterial. In many cases this is the same as the accession for the related BioAssay. We store the information here to help make the data easier to trace. Note that more than one BioMaterial may reference a given external accession.
 
 - 
setExternalAccessionpublic void setExternalAccession(DatabaseEntry externalAccession) 
 - 
getFactorValuespublic Set<FactorValue> getFactorValues() - Returns:
- The values that this BioAssay is associated with for the experiment.
 
 - 
setFactorValuespublic void setFactorValues(Set<FactorValue> factorValues) 
 - 
getSecurityOwnerpublic Securable getSecurityOwner() - Specified by:
- getSecurityOwnerin interface- gemma.gsec.model.SecuredChild
- Specified by:
- getSecurityOwnerin interface- SecuredChild
 
 - 
getSourceTaxonpublic Taxon getSourceTaxon() 
 - 
setSourceTaxonpublic void setSourceTaxon(Taxon sourceTaxon) 
 
- 
 
-