|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 |
public Language getLanguage()
Language (LAT).
Languagepublic Language getLat()
Language (LAT).
This is shorthand for getLanguage().
Languagepublic void setLanguage(Language lat)
Language (LAT).
lat - the Languagepublic void setLat(Language lat)
Language (LAT).
This is shorthand for setLanguage(Language).
lat - the Languagepublic TermStatus getTermStatus()
TermStatus (TS).
TermStatuspublic TermStatus getTs()
TermStatus (TS).
This is shorthand for getTermStatus().
TermStatuspublic void setTermStatus(TermStatus ts)
TermStatus (TS).
ts - the TermStatuspublic void setTs(TermStatus ts)
TermStatus (TS).
This is shorthand for setTermStatus(TermStatus).
ts - the TermStatuspublic String getLui()
getTermIdentifier().
public void setLui(String lui)
setTermIdentifier(String).
lui - the LUIpublic String getTermIdentifier()
public void setTermIdentifier(String lui)
lui - the LUIpublic String getName()
public String getStr()
getName().
public void setName(String str)
str - the namepublic void setStr(String str)
setName(String).
str - the namepublic StringInfo[] getTermVariants()
StringInfo term variants.
StringInfo objectspublic List getTermVariantsAsList()
StringInfo term variants as a List.
StringInfo term variants as a Listpublic void addTermVariant(StringInfo tv)
tv - a StringInfo term variant to addpublic void clearTermVariants()
public void removeTermVariant(StringInfo tv)
tv - a StringInfo term variant to removepublic void setTermVariants(StringInfo[] tvs)
StringInfo objects.
tvs - an array of StringInfo objectspublic void setTermVariants(List tvs)
List
tvs - a List of StringInfo objectspublic TermAttribute[] getTermAttributes()
TermAttributes.
TermAttribute objectspublic List getTermAttributesAsList()
TermAttributes as a List.
TermAttributes as a Listpublic void addTermAttribute(TermAttribute ta)
TermAttribute.
ta - a TermAttribute to addpublic void clearTermAttributes()
TermAttributes.
public void removeTermAttribute(TermAttribute ta)
TermAttribute.
ta - the TermAttribute to removepublic void setTermAttributes(TermAttribute[] tas)
TermAttributes with the specified TermAttribute objects.
tas - an array of TermAttribute objectspublic void setTermAttributes(List tas)
TermAttributes with the specified List
tas - a List of TermAttribute objectspublic boolean 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 otherwisepublic boolean hasPreferredLui()
Term is the preferred Term
of the Concept. This is shorthand for hasPreferredTermIdentifier()
true if so, false otherwisepublic String 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 | |||||||||