|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents string information for a Term
.
Following is a UML Class diagram showing the neighborhood around StringInfo
Term
Method Summary | |
void |
addAtom(Atom str_source)
Adds the specified Atom . |
void |
clearAtoms()
Removes all Atom s. |
Atom[] |
getAtoms()
Returns all Atom s. |
List |
getAtomsAsList()
Returns all Atom s as a List . |
String |
getKeyFields()
Returns a String key which can be used
by equals, compareTo, and hashCode methods. |
String |
getName()
Sets the name (STR). |
String |
getStr()
Returns the name (STR). |
String |
getStringIdentifier()
Return the string identifier (SUI). |
StringType |
getStringType()
Returns the StringType (STT). |
StringType |
getStt()
Returns the StringType (STT). |
String |
getSui()
Return the string identifier (SUI). |
boolean |
hasPreferredStringIdentifier()
Indicates whether or not this atom has the preferred string identifier of the Term it is part of. |
boolean |
hasPreferredSui()
Indicates whether or not this atom has the preferred string identifier of the Term it is part of. |
void |
removeAtom(Atom str_source)
Removes the specified Atom . |
void |
setAtoms(Atom[] str_source)
Replaces the Atom s with those in the specified array. |
void |
setAtoms(List str_source)
Replaces the Atom s with those in the specified List |
void |
setName(String str)
Sets the name (STR). |
void |
setStr(String str)
Sets the name (STR). |
void |
setStringIdentifier(String sui)
Sets the string identifier (SUI). |
void |
setStringType(StringType stt)
Sets the StringType (STT). |
void |
setStt(StringType stt)
Sets the StringType (STT). |
void |
setSui(String sui)
Sets the string identifier (SUI). |
Methods inherited from interface java.lang.Comparable |
compareTo |
Methods inherited from interface gov.nih.nlm.umls.meta.TermElement |
getTerm, setTerm |
Method Detail |
public StringType getStringType()
StringType
(STT).
StringType
public StringType getStt()
StringType
(STT).
This is shorthand for getStringType()
.
StringType
public void setStringType(StringType stt)
StringType
(STT).
stt
- the STTpublic void setStt(StringType stt)
StringType
(STT).
This is shorthand for setStringType(StringType)
.
stt
- the STTpublic String getSui()
getStringIdentifier()
.
public void setSui(String sui)
setStringIdentifier(String)
.
sui
- the SUIpublic String getStringIdentifier()
public void setStringIdentifier(String sui)
sui
- the SUIpublic String getName()
public String getStr()
getName()
.
public void setName(String str)
str
- the namepublic void setStr(String str)
setName(String)
.
str
- the namepublic Atom[] getAtoms()
Atom
s.
Atom
spublic List getAtomsAsList()
Atom
s as a List
.
Atom
s as a List
public void addAtom(Atom str_source)
Atom
.
str_source
- the Atom
to addpublic void removeAtom(Atom str_source)
Atom
.
str_source
- the Atom
to removepublic void clearAtoms()
Atom
s.
public void setAtoms(Atom[] str_source)
Atom
s with those in the specified array.
str_source
- an array of Atom
spublic void setAtoms(List str_source)
Atom
s with those in the specified List
str_source
- a List
of Atom
spublic boolean hasPreferredStringIdentifier()
Term
it is part of. In other words, does this Atom
have
the same SUI as the preferred Atom
of the Term
.
true
if so, false
otherwisepublic boolean hasPreferredSui()
Term
it is part of. This is shorthand for
hasPreferredStringIdentifier()
.
true
if so, false
otherwisepublic String getKeyFields()
String
key which can be used
by equals, compareTo, and hashCode methods.
String
composed from key StringInfo
fields
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |