Package org.biopax.paxtools.impl.level3
Class EvidenceImpl
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.EvidenceImpl
- All Implemented Interfaces:
Serializable,Cloneable,BioPAXElement,Evidence,Level3Element,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 TypeMethodDescriptionvoidaddConfidence(Score confidence) Confidence in the containing instance.voidaddEvidenceCode(EvidenceCodeVocabulary evidenceCode) A pointer to a term in an external controlled vocabulary, such as the GO, PSI-MI or BioCyc evidence codes, that describes the nature of the support, such as 'traceable author statement' or 'yeast two-hybrid'.voidaddExperimentalForm(ExperimentalForm experimentalForm) Adds an experimental form.Confidence in the containing instance.A pointer to a term in an external controlled vocabulary, such as the GO, PSI-MI or BioCyc evidence codes, that describes the nature of the support, such as 'traceable author statement' or 'yeast two-hybrid'.Contents of this set should not be modified.This method returns the actual model interface that a class implements.voidremoveConfidence(Score confidence) Confidence in the containing instance.voidremoveEvidenceCode(EvidenceCodeVocabulary evidenceCode) A pointer to a term in an external controlled vocabulary, such as the GO, PSI-MI or BioCyc evidence codes, that describes the nature of the support, such as 'traceable author statement' or 'yeast two-hybrid'.voidremoveExperimentalForm(ExperimentalForm experimentalForm) Removes an experimental form.protected booleansemanticallyEquivalent(BioPAXElement element) Answers whether two Evidence objects are semantically equivalent.Methods inherited from class org.biopax.paxtools.impl.level3.XReferrableImpl
addXref, equivalenceCode, 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, isEquivalent, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.biopax.paxtools.model.BioPAXElement
equivalenceCode, getAnnotations, getUri, isEquivalentMethods inherited from interface org.biopax.paxtools.model.level3.Level3Element
addComment, getComment, removeCommentMethods inherited from interface org.biopax.paxtools.model.level3.XReferrable
addXref, getXref, removeXref
-
Constructor Details
-
EvidenceImpl
public EvidenceImpl()Constructor.
-
-
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.
-
getConfidence
Confidence in the containing instance. Usually a statistical measure.- Specified by:
getConfidencein interfaceEvidence- Returns:
- a set of scores representing confidence
-
addConfidence
Confidence in the containing instance. Usually a statistical measure.- Specified by:
addConfidencein interfaceEvidence- Parameters:
confidence- a new confidence measure to add
-
removeConfidence
Confidence in the containing instance. Usually a statistical measure.- Specified by:
removeConfidencein interfaceEvidence- Parameters:
confidence- a confidence measure to be removed.
-
getEvidenceCode
A pointer to a term in an external controlled vocabulary, such as the GO, PSI-MI or BioCyc evidence codes, that describes the nature of the support, such as 'traceable author statement' or 'yeast two-hybrid'.- Specified by:
getEvidenceCodein interfaceEvidence- Returns:
- a set of evidence codes for this evidence type.
-
addEvidenceCode
A pointer to a term in an external controlled vocabulary, such as the GO, PSI-MI or BioCyc evidence codes, that describes the nature of the support, such as 'traceable author statement' or 'yeast two-hybrid'.- Specified by:
addEvidenceCodein interfaceEvidence- Parameters:
evidenceCode- a new evidence code for this evidence.
-
removeEvidenceCode
A pointer to a term in an external controlled vocabulary, such as the GO, PSI-MI or BioCyc evidence codes, that describes the nature of the support, such as 'traceable author statement' or 'yeast two-hybrid'.- Specified by:
removeEvidenceCodein interfaceEvidence- Parameters:
evidenceCode- to be removed
-
getExperimentalForm
Description copied from interface:EvidenceContents of this set should not be modified. Use add/remove methods instead.- Specified by:
getExperimentalFormin interfaceEvidence- Returns:
- The experimental forms associated with an evidence instance.
-
addExperimentalForm
Description copied from interface:EvidenceAdds an experimental form.- Specified by:
addExperimentalFormin interfaceEvidence- Parameters:
experimentalForm- associated with an evidence instance.
-
removeExperimentalForm
Description copied from interface:EvidenceRemoves an experimental form.- Specified by:
removeExperimentalFormin interfaceEvidence- Parameters:
experimentalForm- associated with an evidence instance.
-
semanticallyEquivalent
Answers whether two Evidence objects are semantically equivalent. (Currently, it considers only member UnificationXrefs and EvidenceCodeVocabularies for comparison...) TODO: review; compare ExperimentalForm and Confidence values; or - simply always return false!- Overrides:
semanticallyEquivalentin classBioPAXElementImpl
-