@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_ORGANISMUNKNOWN_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, setXrefaddComment, getComment, getDatasources, getKeywords, getOrganisms, getParentPathways, removeComment, setCommentequals, getAnnotations, getPk, getRDFId, hashCode, isEquivalentclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddXref, getXref, removeXrefaddComment, getComment, removeCommentequivalenceCode, getAnnotations, getRDFId, isEquivalentpublic Class<? extends ControlledVocabulary> getModelInterface()
BioPAXElementgetModelInterface in interface BioPAXElementorg.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 ControlledVocabularypublic void addTerm(String term)
addTerm in interface ControlledVocabularyterm - The external controlled vocabulary term.public void removeTerm(String term)
removeTerm in interface ControlledVocabularyterm - The external controlled vocabulary term.protected boolean semanticallyEquivalent(BioPAXElement element)
semanticallyEquivalent in class BioPAXElementImplpublic String toString()
toString in class BioPAXElementImplCopyright © 2015 BioPAX. All rights reserved.