All Packages Class Hierarchy This Package Previous Next Index
Class COM.Lexical.Metaphrase.Relationship
java.lang.Object
|
+----COM.Lexical.Metaphrase.Association
|
+----COM.Lexical.Metaphrase.Relationship
- public class Relationship
- extends Association
- implements ConceptElement
Metaphrase relationship class.
Relationships can be classified at both a course level (rel()) and a finer level (rela()). All Relationships are also associated
with a Source (source()), although this
Source is often the Metathesaurus (SAB="MTH").
- Version:
- Authority1.1, 11 Apr 2000
Print(PrintStream)
- Prints the contents of Relationship to out.
rel()
- Relation of the second Concept to the first Concept.
rela()
- Relationship attribute.
source()
- Source of Relationship.
toString()
- For debugging.
rel
public java.lang.String rel()
Relation of the second Concept to the first Concept. One of
Related Broader (RB), Related Narrower (RN), Related Other (RO),
Related Alike (RL), Parent (PAR), Child (CHD), Sibling (SIB),
Allowed Qualifier (AQ) MeSH only, Qualified By (QB)
MeSH only.
rela
public java.lang.String rela()
Relationship attribute. One of the relationships defined in the
UMLS Semantic Network. The list of relationships in the Semantic
Network will be made available through a future version of the
API.
By defualt, the rela specifies the relationship of concept2 to
concept1 (as with rel). However, if
Metaphrase.reverseRelas=true, the rela are inverted, so they
specify the relationship of concept1 to concept2--the reverse
direction from rel.
source
public Source source()
Source of Relationship.
toString
public java.lang.String toString()
For debugging.
- Overrides:
- toString in class java.lang.Object
Print
public void Print(java.io.PrintStream out)
Prints the contents of Relationship to out.
- Overrides:
- Print in class Association
All Packages Class Hierarchy This Package Previous Next Index