@Entity @Indexed public class BioSourceImpl extends NamedImpl implements BioSource
FIELD_AVAILABILITY, FIELD_COMMENT, FIELD_DATASOURCE, FIELD_ECNUMBER, FIELD_KEYWORD, FIELD_NAME, FIELD_ORGANISM, FIELD_PATHWAY, FIELD_SEQUENCE, FIELD_TERM, FIELD_XREFDB, FIELD_XREFID, FILTER_BY_DATASOURCE, FILTER_BY_ORGANISM
UNKNOWN_DOUBLE, UNKNOWN_FLOAT, UNKNOWN_INT
Constructor and Description |
---|
BioSourceImpl() |
Modifier and Type | Method and Description |
---|---|
int |
equivalenceCode()
If two elements are equivalent, then their equivalence code should be the
same.
|
CellVocabulary |
getCellType()
A cell type, e.g.
|
Class<? extends BioSource> |
getModelInterface()
This method returns the actual model interface that a class implements.
|
TissueVocabulary |
getTissue()
An external controlled vocabulary of tissue types.
|
protected boolean |
semanticallyEquivalent(BioPAXElement element) |
void |
setCellType(CellVocabulary celltype)
A cell type, e.g.
|
void |
setTissue(TissueVocabulary tissue)
An external controlled vocabulary of tissue types.
|
String |
toString() |
addName, getDisplayName, getDisplayNameX, getName, getStandardName, getStandardNameX, removeName, setDisplayName, setDisplayNameX, setName, setStandardName, setStandardNameX
addXref, getXref, removeXref, setXref
addComment, getComment, getDatasources, getKeywords, getOrganisms, getParentPathways, removeComment, setComment
equals, getAnnotations, getPk, getRDFId, hashCode, isEquivalent
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addName, getDisplayName, getName, getStandardName, removeName, setDisplayName, setName, setStandardName
addXref, getXref, removeXref
addComment, getComment, removeComment
getAnnotations, getRDFId, isEquivalent
public BioSourceImpl()
public Class<? extends BioSource> getModelInterface()
BioPAXElement
getModelInterface
in interface BioPAXElement
org.biopax.paxtools.model
package
corresponding to a BioPAX class.protected boolean semanticallyEquivalent(BioPAXElement element)
semanticallyEquivalent
in class BioPAXElementImpl
public int equivalenceCode()
BioPAXElement
equivalenceCode
in interface BioPAXElement
equivalenceCode
in class XReferrableImpl
public CellVocabulary getCellType()
BioSource
getCellType
in interface BioSource
public void setCellType(CellVocabulary celltype)
BioSource
setCellType
in interface BioSource
celltype
- if this biosource is a cell line or a specific tissue. Null for n/a.public TissueVocabulary getTissue()
BioSource
public void setTissue(TissueVocabulary tissue)
BioSource
public String toString()
toString
in class BioPAXElementImpl
Copyright © 2015 BioPAX. All rights reserved.