All Packages Class Hierarchy This Package Previous Next Index
public static final boolean copyUMLS
public void addAtom(Concept concept,
Partition partition,
java.lang.String termgp,
java.lang.String name) throws MetaphraseException
concept - the Concept to which the Atom is to be added.
partition - the Partition of the new Atom.
termgp - the termgp of the new Atom.
name - the name of the new Atom.
public void addAtom(Concept concept,
Source source,
java.lang.String termgp,
java.lang.String name) throws MetaphraseException
concept - the Concept to which the Atom is to be added.
source - the Source of the new Atom.
termgp - the termgp of the new Atom.
name - the name of the new Atom.
public void addSemanticType(Concept concept,
SemanticType semanticType) throws MetaphraseException
concept - the Concept to which the SemanticType is to be
added.
semanticType - the SemanticType to be added.
public void addDefinition(Concept concept,
Source source,
java.lang.String text) throws MetaphraseException
concept - the Concept to which the Definition is to be
added.
source - the Source of the new Definition.
text - the text of the new Definition.
public void addRelationship(Concept concept,
java.lang.String rel,
Concept concept2,
java.lang.String rela,
Source source) throws MetaphraseException
concept - the Concept to which the Relationship is to be
added.
rel - the rel of the new Relationship.
concept2 - the target of the new Relationship.
rela - the rela of the new Relationship.
source - the Source of the new Relationship.
public void deleteElement(Concept concept,
ConceptElement element) throws MetaphraseException
concept - the Concept from which the ConceptElement is to be
deleted.
public void moveElement(Concept origin,
ConceptElement element,
Concept destination) throws MetaphraseException
origin - the Concept from which the ConceptElement is to be
removed.
element - the ConceptElement to be moved.
destination - the Concept into which the ConceptElement is
to be moved.
public Concept createConcept(Partition partition,
java.lang.String termgp,
java.lang.String name) throws MetaphraseException
partition - the Partition of the new Atom.
termgp - the termgp of the new Atom.
name - the name of the new Atom.
public Concept createConcept(Source source,
java.lang.String termgp,
java.lang.String code,
java.lang.String name) throws MetaphraseException
partition - the Partition of the new Atom.
termgp - the termgp of the new Atom.
name - the name of the new Atom.
public Concept createConcept(Source source,
java.lang.String termgp,
java.lang.String name) throws MetaphraseException
source - the Source of the new Atom.
termgp - the termgp of the new Atom.
name - the name of the new Atom.
public Concept splitFromConcept(Atom atom) throws MetaphraseException
atom - the Atom to be split out.
public Concept splitConcept(Atom atoms[]) throws MetaphraseException
atoms - the list of Atoms to be split out.
public void deleteConcept(Concept concept) throws MetaphraseException
concept - the Concept to be deleted.
public java.lang.Exception[] mergeConcepts(Concept origin,
Concept destination) throws MetaphraseException
origin - the Concept which is to be merged.
destination - the Concept into which origin is to be
merged.
public Source createSource(java.lang.String SAB,
java.lang.String status,
java.lang.String description) throws MetaphraseException
SAB - the SAB of the new Source.
status - the status of the new Source ("UMLS" or "local")
description - the description of the new Source.
public Source createSource(java.lang.String SAB,
java.lang.String status,
java.lang.String startingCode,
java.lang.String description) throws MetaphraseException
SAB - the SAB of the new Source.
status - the status of the new Source ("UMLS" or "local")
startingCode - code of first Atom created in the returned
Source without specifying a code.
description - the description of the new Source.
public void editSource(Source source,
java.lang.String description) throws MetaphraseException
source - the Source to edit.
description - the new description of source.
public Source createSubsource(Source parent,
java.lang.String SAB,
java.lang.String description) throws MetaphraseException
public java.lang.Object[][] listPrecedence() throws MetaphraseException
public java.lang.String[] listTermgps(Source source) throws MetaphraseException
public void setPrecedence(Source source,
java.lang.String termgp,
Source existingSource,
java.lang.String existingTermgp) throws MetaphraseException
source - the Source for which to set the precedence.
termgp - the termgp for which to set the precedence.
existingSource - the Source of the precedence above which to
set the precedence.
existingTermgp - the termgp (a String) of the precedence
above which to set the precedence.
public SemanticType createSemanticType(java.lang.String name,
SemanticType parent) throws MetaphraseException
name - the name of the new SemanticType.
parent - the "parent" of the new SemanticType in the
Semantic Type hierarchy. The new Semantic Type will be assigned
an STN accordingly.
public SemanticType createSemanticType(java.lang.String TUI,
java.lang.String name,
SemanticType parent) throws MetaphraseException
TUI - the TUI of the new SemanticType.
name - the name of the new SemanticType.
parent - the "parent" of the new SemanticType in the
Semantic Type hierarchy. The new Semantic Type will be assigned
an STN accordingly.
public Relation createRelation(java.lang.String name,
Relation parent,
java.lang.String inverse) throws MetaphraseException
name - the name of the new Relation.
parent - the "parent" of the new Relation in the
Relation hierarchy. The new Relation will be assigned an STN
accordingly.
inverse - the [name of the] inverse of the new Relation.
public Relation createRelation(java.lang.String TUI,
java.lang.String name,
Relation parent,
java.lang.String inverse) throws MetaphraseException
TUI - the TUI of the new Relation.
name - the name of the new Relation.
parent - the "parent" of the new Relation in the
Relation hierarchy. The new Relation will be assigned an STN
accordingly.
inverse - the [name of the] inverse of the new Relation.
public void lock() throws MetaphraseException
public void unlock() throws MetaphraseException
public java.lang.String identifyLock() throws MetaphraseException
public void steal() throws MetaphraseException
public java.util.Enumeration getSubmittedTerms() throws MetaphraseException
public java.util.Enumeration getSubmittedTerms(boolean result) throws MetaphraseException
result - true to only unreviewed terms
false - to all submittedterms
public Concept promote(SubmittedTerm submittedTerm,
Partition partition,
java.lang.String termgp,
java.lang.String name) throws MetaphraseException
*Draft* Not yet implemented.
public Concept promote(SubmittedTerm submittedTerm,
Source source,
java.lang.String termgp,
java.lang.String name) throws MetaphraseException
*Draft* Not yet implemented.
public void reject(SubmittedTerm submittedTerm) throws MetaphraseException
public void mapSubmittedTerm(SubmittedTerm submittedTerm,
Concept concept) throws MetaphraseException
*Draft* Not yet implemented.
All Packages Class Hierarchy This Package Previous Next Index