|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface StringInfo
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 Atoms. |
Atom[] |
getAtoms()
Returns all Atoms. |
List |
getAtomsAsList()
Returns all Atoms 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 Atoms with those in the specified array. |
void |
setAtoms(List str_source)
Replaces the Atoms 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 |
|---|
StringType getStringType()
StringType (STT).
StringTypeStringType getStt()
StringType (STT).
This is shorthand for getStringType().
StringTypevoid setStringType(StringType stt)
StringType (STT).
stt - the STTvoid setStt(StringType stt)
StringType (STT).
This is shorthand for setStringType(StringType).
stt - the STTString getSui()
getStringIdentifier().
void setSui(String sui)
setStringIdentifier(String).
sui - the SUIString getStringIdentifier()
void setStringIdentifier(String sui)
sui - the SUIString getName()
String getStr()
getName().
void setName(String str)
str - the namevoid setStr(String str)
setName(String).
str - the nameAtom[] getAtoms()
Atoms.
AtomsList getAtomsAsList()
Atoms as a List.
Atoms as a Listvoid addAtom(Atom str_source)
Atom.
str_source - the Atom to addvoid removeAtom(Atom str_source)
Atom.
str_source - the Atom to removevoid clearAtoms()
Atoms.
void setAtoms(Atom[] str_source)
Atoms with those in the specified array.
str_source - an array of Atomsvoid setAtoms(List str_source)
Atoms with those in the specified List
str_source - a List of Atomsboolean 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 otherwiseboolean hasPreferredSui()
Term it is part of. This is shorthand for
hasPreferredStringIdentifier().
true if so, false otherwiseString 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 | ||||||||