org.biopax.paxtools.impl.level3
Class ControlledVocabularyImpl
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.ControlledVocabularyImpl
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, BioPAXElement, ControlledVocabulary, Level3Element, UtilityClass, XReferrable
- Direct Known Subclasses:
- CellularLocationVocabularyImpl, CellVocabularyImpl, EntityReferenceTypeVocabularyImpl, EvidenceCodeVocabularyImpl, ExperimentalFormVocabularyImpl, InteractionVocabularyImpl, PhenotypeVocabularyImpl, RelationshipTypeVocabularyImpl, SequenceModificationVocabularyImpl, SequenceRegionVocabularyImpl, TissueVocabularyImpl
@Entity
@Indexed
public class ControlledVocabularyImpl
- extends XReferrableImpl
- implements ControlledVocabulary
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ControlledVocabularyImpl
public ControlledVocabularyImpl()
- Constructor.
getModelInterface
public java.lang.Class<? extends ControlledVocabulary> getModelInterface()
- Description copied from interface:
BioPAXElement
- This method returns the actual model interface that a class implements.
- Specified by:
getModelInterface in interface BioPAXElement
- Returns:
- an interface from
org.biopax.paxtools.model package
corresponding to a BioPAX class.
getTerm
@Field(name="term",
index=TOKENIZED)
@FieldBridge(impl=SetStringBridge.class)
public java.util.Set<java.lang.String> getTerm()
- Specified by:
getTerm in interface ControlledVocabulary
- Returns:
- The external controlled vocabulary term.
setTerm
public void setTerm(java.util.Set<java.lang.String> term)
addTerm
public void addTerm(java.lang.String term)
- Specified by:
addTerm in interface ControlledVocabulary
- Parameters:
term - The external controlled vocabulary term.
removeTerm
public void removeTerm(java.lang.String term)
- Specified by:
removeTerm in interface ControlledVocabulary
- Parameters:
term - The external controlled vocabulary term.
semanticallyEquivalent
protected boolean semanticallyEquivalent(BioPAXElement element)
- Overrides:
semanticallyEquivalent in class XReferrableImpl
toString
public java.lang.String toString()
- Overrides:
toString in class BioPAXElementImpl
Copyright © 2011 BioPAX. All Rights Reserved.