Package org.biopax.paxtools.impl.level3
Class BioSourceImpl
java.lang.Object
org.biopax.paxtools.impl.BioPAXElementImpl
org.biopax.paxtools.impl.level3.L3ElementImpl
org.biopax.paxtools.impl.level3.XReferrableImpl
org.biopax.paxtools.impl.level3.NamedImpl
org.biopax.paxtools.impl.level3.BioSourceImpl
- All Implemented Interfaces:
Serializable,Cloneable,BioPAXElement,BioSource,Level3Element,Named,UtilityClass,XReferrable
- See Also:
-
Field Summary
Fields inherited from interface org.biopax.paxtools.model.BioPAXElement
UNKNOWN_DOUBLE, UNKNOWN_FLOAT, UNKNOWN_INT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintIf two elements are equivalent, then their equivalence code should be the same.A cell type, e.g.This method returns the actual model interface that a class implements.An external controlled vocabulary of tissue types.protected booleansemanticallyEquivalent(BioPAXElement element) voidsetCellType(CellVocabulary celltype) A cell type, e.g.voidsetTissue(TissueVocabulary tissue) An external controlled vocabulary of tissue types.toString()Methods inherited from class org.biopax.paxtools.impl.level3.NamedImpl
addName, getDisplayName, getName, getStandardName, removeName, setDisplayName, setName, setStandardNameMethods inherited from class org.biopax.paxtools.impl.level3.XReferrableImpl
addXref, getXref, removeXref, setXrefMethods inherited from class org.biopax.paxtools.impl.level3.L3ElementImpl
addComment, getComment, removeComment, setCommentMethods inherited from class org.biopax.paxtools.impl.BioPAXElementImpl
equals, getAnnotations, getUri, hashCode, isEquivalentMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.biopax.paxtools.model.BioPAXElement
getAnnotations, getUri, isEquivalentMethods inherited from interface org.biopax.paxtools.model.level3.Level3Element
addComment, getComment, removeCommentMethods inherited from interface org.biopax.paxtools.model.level3.Named
addName, getDisplayName, getName, getStandardName, removeName, setDisplayName, setName, setStandardNameMethods inherited from interface org.biopax.paxtools.model.level3.XReferrable
addXref, getXref, removeXref
-
Constructor Details
-
BioSourceImpl
public BioSourceImpl()
-
-
Method Details
-
getModelInterface
Description copied from interface:BioPAXElementThis method returns the actual model interface that a class implements.- Specified by:
getModelInterfacein interfaceBioPAXElement- Returns:
- an interface from
org.biopax.paxtools.modelpackage corresponding to a BioPAX class.
-
semanticallyEquivalent
- Overrides:
semanticallyEquivalentin classBioPAXElementImpl
-
equivalenceCode
public int equivalenceCode()Description copied from interface:BioPAXElementIf two elements are equivalent, then their equivalence code should be the same.- Specified by:
equivalenceCodein interfaceBioPAXElement- Overrides:
equivalenceCodein classXReferrableImpl- Returns:
- an integer that is same across all equivalent entities.
-
getCellType
Description copied from interface:BioSourceA cell type, e.g. 'HeLa'. This should reference a term in a controlled vocabulary of cell types. Best practice is to refer to OBOCell Ontology.- Specified by:
getCellTypein interfaceBioSource- Returns:
- cell type if this biosource is a cell line or a specific tissue. Null otherwise.
-
setCellType
Description copied from interface:BioSourceA cell type, e.g. 'HeLa'. This should reference a term in a controlled vocabulary of cell types. Best practice is to refer to OBOCell Ontology.- Specified by:
setCellTypein interfaceBioSource- Parameters:
celltype- if this biosource is a cell line or a specific tissue. Null for n/a.
-
getTissue
Description copied from interface:BioSourceAn external controlled vocabulary of tissue types. A reference to the BRENDA -
setTissue
Description copied from interface:BioSourceAn external controlled vocabulary of tissue types. A reference to the BRENDA -
toString
- Overrides:
toStringin classBioPAXElementImpl
-