|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Term
Represents Concept term information. This is a higher level
view of a Concept's names than Atom.
Following is a UML Class diagram showing the neighborhood around Term

| Method Summary | |
|---|---|
void |
addTermAttribute(TermAttribute ta)
Adds the specified TermAttribute. |
void |
addTermVariant(StringInfo tv)
Adds the specified term variant. |
void |
clearTermAttributes()
Removes all TermAttributes. |
void |
clearTermVariants()
Removes all term variants. |
String |
getKeyFields()
Returns a String key which can be used
by equals, compareTo, and hashCode methods. |
Language |
getLanguage()
Returns the Language (LAT). |
Language |
getLat()
Returns the Language (LAT). |
String |
getLui()
Returns the term identifier (LUI). |
String |
getName()
Sets the name (STR). |
String |
getStr()
Returns the name (STR). |
TermAttribute[] |
getTermAttributes()
Returns all TermAttributes. |
List |
getTermAttributesAsList()
Returns all TermAttributes as a List. |
String |
getTermIdentifier()
Returns the term identifier (LUI). |
TermStatus |
getTermStatus()
Returns the TermStatus (TS). |
StringInfo[] |
getTermVariants()
Returns all StringInfo term variants. |
List |
getTermVariantsAsList()
Returns all StringInfo term variants as a List. |
TermStatus |
getTs()
Returns the TermStatus (TS). |
boolean |
hasPreferredLui()
Indicates whether or not this Term is the preferred Term
of the Concept. |
boolean |
hasPreferredTermIdentifier()
Indicates whether or not this Term is the preferred Term
of the Concept. |
void |
removeTermAttribute(TermAttribute ta)
Removes the specified TermAttribute. |
void |
removeTermVariant(StringInfo tv)
Removes the specified term variant. |
void |
setLanguage(Language lat)
Sets the Language (LAT). |
void |
setLat(Language lat)
Sets the Language (LAT). |
void |
setLui(String lui)
Sets the term identifier (LUI). |
void |
setName(String str)
Sets the name (STR). |
void |
setStr(String str)
Sets the name (STR). |
void |
setTermAttributes(List tas)
Replaces TermAttributes with the specified List |
void |
setTermAttributes(TermAttribute[] tas)
Replaces the TermAttributes with the specified TermAttribute objects. |
void |
setTermIdentifier(String lui)
Sets the term identifier (LUI). |
void |
setTermStatus(TermStatus ts)
Sets the TermStatus (TS). |
void |
setTermVariants(List tvs)
Replaces term variants with the specified List |
void |
setTermVariants(StringInfo[] tvs)
Replaces term variants with the specified StringInfo objects. |
void |
setTs(TermStatus ts)
Sets the TermStatus (TS). |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface gov.nih.nlm.umls.meta.ConceptElement |
|---|
getConcept, setConcept |
| Method Detail |
|---|
Language getLanguage()
Language (LAT).
LanguageLanguage getLat()
Language (LAT).
This is shorthand for getLanguage().
Languagevoid setLanguage(Language lat)
Language (LAT).
lat - the Languagevoid setLat(Language lat)
Language (LAT).
This is shorthand for setLanguage(Language).
lat - the LanguageTermStatus getTermStatus()
TermStatus (TS).
TermStatusTermStatus getTs()
TermStatus (TS).
This is shorthand for getTermStatus().
TermStatusvoid setTermStatus(TermStatus ts)
TermStatus (TS).
ts - the TermStatusvoid setTs(TermStatus ts)
TermStatus (TS).
This is shorthand for setTermStatus(TermStatus).
ts - the TermStatusString getLui()
getTermIdentifier().
void setLui(String lui)
setTermIdentifier(String).
lui - the LUIString getTermIdentifier()
void setTermIdentifier(String lui)
lui - the LUIString getName()
String getStr()
getName().
void setName(String str)
str - the namevoid setStr(String str)
setName(String).
str - the nameStringInfo[] getTermVariants()
StringInfo term variants.
StringInfo objectsList getTermVariantsAsList()
StringInfo term variants as a List.
StringInfo term variants as a Listvoid addTermVariant(StringInfo tv)
tv - a StringInfo term variant to addvoid clearTermVariants()
void removeTermVariant(StringInfo tv)
tv - a StringInfo term variant to removevoid setTermVariants(StringInfo[] tvs)
StringInfo objects.
tvs - an array of StringInfo objectsvoid setTermVariants(List tvs)
List
tvs - a List of StringInfo objectsTermAttribute[] getTermAttributes()
TermAttributes.
TermAttribute objectsList getTermAttributesAsList()
TermAttributes as a List.
TermAttributes as a Listvoid addTermAttribute(TermAttribute ta)
TermAttribute.
ta - a TermAttribute to addvoid clearTermAttributes()
TermAttributes.
void removeTermAttribute(TermAttribute ta)
TermAttribute.
ta - the TermAttribute to removevoid setTermAttributes(TermAttribute[] tas)
TermAttributes with the specified TermAttribute objects.
tas - an array of TermAttribute objectsvoid setTermAttributes(List tas)
TermAttributes with the specified List
tas - a List of TermAttribute objectsboolean hasPreferredTermIdentifier()
Term is the preferred Term
of the Concept. In other words, does this Term have
the same LUI as the preferred Term of the Concept.
true if so, false otherwiseboolean hasPreferredLui()
Term is the preferred Term
of the Concept. This is shorthand for hasPreferredTermIdentifier()
true if so, false otherwiseString getKeyFields()
String key which can be used
by equals, compareTo, and hashCode methods.
String composed from key Term fields
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||