@Entity @Indexed public class ControlledVocabularyImpl extends XReferrableImpl implements ControlledVocabulary
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 |
---|
ControlledVocabularyImpl()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addTerm(String term) |
Class<? extends ControlledVocabulary> |
getModelInterface()
This method returns the actual model interface that a class implements.
|
Set<String> |
getTerm() |
void |
removeTerm(String term) |
protected boolean |
semanticallyEquivalent(BioPAXElement element) |
void |
setTerm(Set<String> term) |
String |
toString() |
addXref, equivalenceCode, 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
addXref, getXref, removeXref
addComment, getComment, removeComment
equivalenceCode, getAnnotations, getRDFId, isEquivalent
public ControlledVocabularyImpl()
public Class<? extends ControlledVocabulary> getModelInterface()
BioPAXElement
getModelInterface
in interface BioPAXElement
org.biopax.paxtools.model
package
corresponding to a BioPAX class.@Field(name="term", analyze=YES) @FieldBridge(impl=SetStringBridge.class) public Set<String> getTerm()
getTerm
in interface ControlledVocabulary
public void addTerm(String term)
addTerm
in interface ControlledVocabulary
term
- The external controlled vocabulary term.public void removeTerm(String term)
removeTerm
in interface ControlledVocabulary
term
- The external controlled vocabulary term.protected boolean semanticallyEquivalent(BioPAXElement element)
semanticallyEquivalent
in class BioPAXElementImpl
public String toString()
toString
in class BioPAXElementImpl
Copyright © 2015 BioPAX. All rights reserved.