|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Atom
Represents information about a single named unit of
meaning within a Concept.
Following is a UML Class diagram showing the neighborhood around Atom

All data in a row of the MRCONSO file is represented here.
| Nested Class Summary | |
|---|---|
static class |
Atom.AtomRankComparator
Sorts the atoms. |
static class |
Atom.ByLanguageRestrictor
Restrictor that restricts by Language. |
| Nested classes/interfaces inherited from interface gov.nih.nlm.umls.meta.SourceElement |
|---|
SourceElement.BySourceComparator, SourceElement.BySourceRestrictor |
| Method Summary | |
|---|---|
void |
addAttribute(AtomAttribute att)
Adds the specified AtomAttribute. |
void |
addContext(Context cxt)
Adds the specified Context. |
void |
addCoocurrence(Coocurrence coc)
Adds the specified Coocurrence. |
void |
addDefinition(Definition def)
Adds the specified Definition. |
void |
addLocator(Locator loc)
Add the specified Locator. |
void |
addRelationship(Relationship rel)
Adds the specified Relationship. |
void |
clearAttributes()
Remove all AtomAttributes. |
void |
clearContexts()
Remove all Contexts. |
void |
clearCoocurrences()
Remove all Coocurrences. |
void |
clearDefinitions()
Remove all Definitions. |
void |
clearLocators()
Remove all Locators. |
void |
clearRelationships()
Remove all Relationships. |
String |
getAtomIdentifier()
Returns the atom unique identifier (AUI). |
AtomAttribute[] |
getAttributes()
Returns the AtomAttributes. |
List |
getAttributesAsList()
Returns the AtomAttributes as a List. |
String |
getAui()
Shorthand for getAtomIdentifier(). |
String |
getCode()
Return the code (CODE). |
Context[] |
getContexts()
Return the Contexts. |
List |
getContextsAsList()
Returns the Contexts as a List. |
Coocurrence[] |
getCoocurrences()
Returns the Coocurrences. |
List |
getCoocurrencesAsList()
Returns the Coocurrences as a List. |
Definition[] |
getDefinitions()
Returns the Definitions. |
List |
getDefinitionsAsList()
Returns the Definitions as a List. |
String |
getIspref()
Returns the flag indicating whether or not this Atom
is preferred (ISPREF). |
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). |
Locator[] |
getLocators()
Returns the Locators. |
List |
getLocatorsAsList()
Returns the Locators as a List. |
String |
getLui()
Returns the term identifier (LUI). |
String |
getName()
Returns the name (STR). |
Relationship[] |
getRelationships()
Returns the Relationships. |
Relationship[] |
getRelationships(Restrictor restrictor)
Returns a subset of this Atom's Relationships. |
List |
getRelationshipsAsList()
Returns the Relationships as a List. |
String |
getSaui()
Returns the source asserted identifier (SAUI) for this Atom. |
String |
getScui()
Returns the source attributed concept identifier (SCUI). |
String |
getSdui()
Returns the source asserted descriptor (SDUI). |
String |
getSourceAtomIdentifier()
Returns the source asserted identifier (SAUI) for this Atom. |
String |
getSourceConceptIdentifier()
Returns the source attributed concept identifier (SCUI). |
String |
getSourceDescriptor()
Returns the source asserted descriptor (SDUI). |
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). |
String |
getTermIdentifier()
Returns the term identifier (LUI). |
TermStatus |
getTermStatus()
Returns the TermStatus (TS). |
TermType |
getTermType()
Returns the TermType (TTY). |
TermStatus |
getTs()
Returns the TermStatus (TS). |
TermType |
getTty()
Returns the TermType (TTY). |
boolean |
hasPreferredAtomIdentifier()
Indicates whether or not this Atom is the preferred atom identifier
for its Concept and string identifier. |
boolean |
hasPreferredAui()
Indicates whether or not this Atom is the preferred atom identifier
for its Concept and string identifier. |
boolean |
hasPreferredLui()
Indicates whether or not this atom is part of the preferred Term
of the Concept. |
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. |
boolean |
hasPreferredTermIdentifier()
Indicates whether or not this atom is part of the preferred Term
of the Concept. |
void |
removeAttribute(AtomAttribute att)
Removes the specified AtomAttribute. |
void |
removeContext(Context cxt)
Removes the specified Context. |
void |
removeCoocurrence(Coocurrence coc)
Removes the specified Coocurrence. |
void |
removeDefinition(Definition def)
Remove the specified Definition. |
void |
removeLocator(Locator loc)
Removes the specified Locator. |
void |
removeRelationship(Relationship rel)
Removes the specified Relationship. |
void |
setAtomIdentifier(String aui)
Sets the atom unique identifier (AUI). |
void |
setAttributes(AtomAttribute[] atts)
Replace AtomAttributes with the ones in the specified array. |
void |
setAttributes(List atts)
Replace AtomAttributes with the ones in the specified List. |
void |
setAui(String aui)
Shorthand for setAtomIdentifier(String). |
void |
setCode(String code)
Sets the code (CODE). |
void |
setContexts(Context[] cxts)
Replace Contexts with the ones in the specified array. |
void |
setContexts(List cxts)
Replace Contexts with the ones in the specified List. |
void |
setCoocurrences(Coocurrence[] cocs)
Replace Coocurrences with the ones in the specified array. |
void |
setCoocurrences(List cocs)
Replace Coocurrences with the ones in the specified List. |
void |
setDefinitions(Definition[] defs)
Replace Definitions with the ones in the specified array. |
void |
setDefinitions(List defs)
Replace Definitions with the ones in the specified List. |
void |
setIspref(String ispref)
Sets the flag indicating whether or not this Atom
is preferred (ISPREF). |
void |
setLanguage(Language lat)
Sets the Language (LAT). |
void |
setLat(Language lat)
Sets the Language (LAT). |
void |
setLocators(List locs)
Replace Locators with the ones in the specified List. |
void |
setLocators(Locator[] locs)
Replace Locators with the ones in the specified array. |
void |
setLui(String lui)
Sets the term identifier (LUI). |
void |
setName(String str)
Sets the name (STR). |
void |
setRelationships(List rels)
Replace Relationships of the ones in the specified List. |
void |
setRelationships(Relationship[] rels)
Replace Relationships with the ones in the specified array. |
void |
setSaui(String saui)
Sets the source asserted identifier (SAUI) for this Atom. |
void |
setScui(String scui)
Sets the source attributed concept identifier (SCUI). |
void |
setSdui(String sdui)
Sets the source asserted descriptor (SDUI). |
void |
setSourceAtomIdentifier(String saui)
Sets the source asserted identifier (SAUI) for this Atom. |
void |
setSourceConceptIdentifier(String scui)
Sets the source attributed concept identifier (SCUI). |
void |
setSourceDescriptor(String sdui)
Sets the source asserted descriptor (SDUI). |
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). |
void |
setTermIdentifier(String lui)
Sets the term identifier (LUI). |
void |
setTermStatus(TermStatus ts)
Sets the TermStatus (TS). |
void |
setTermType(TermType tty)
Sets the TermType (TTY). |
void |
setTs(TermStatus ts)
Sets the TermStatus (TS). |
void |
setTty(TermType tty)
Sets the TermType (TTY). |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface gov.nih.nlm.umls.meta.ConceptElement |
|---|
getConcept, setConcept |
| Methods inherited from interface gov.nih.nlm.umls.meta.ContentViewElement |
|---|
getContentView, getCvf, setContentView, setCvf |
| Methods inherited from interface gov.nih.nlm.umls.meta.SuppressibleElement |
|---|
getSuppress, isObsolete, isSuppressible, setSuppress |
| Methods inherited from interface gov.nih.nlm.umls.meta.SourceElement |
|---|
getSource, setSource |
| Method Detail |
|---|
String getSaui()
Atom.
This is shorthand for getSourceAtomIdentifier().
String getSourceAtomIdentifier()
Atom.
void setSourceAtomIdentifier(String saui)
Atom.
saui - the SAUIvoid setSaui(String saui)
Atom.
This is shorthand for setSourceAtomIdentifier(String).
saui - the SAUITermType getTermType()
TermType (TTY).
TermTypeTermType getTty()
TermType (TTY).
This is shorthand for getTermType().
TermTypevoid setTermType(TermType tty)
TermType (TTY).
tty - the TermTypevoid setTty(TermType tty)
TermType (TTY).
This is shorthand for setTermType(TermType).
tty - the TermTypeString getSdui()
getSourceDescriptor().
String getSourceDescriptor()
void setSourceDescriptor(String sdui)
sdui - the SDUIvoid setSdui(String sdui)
setSourceDescriptor(String).
sdui - the SDUIString getScui()
getSourceConceptIdentifier().
String getSourceConceptIdentifier()
void setScui(String scui)
setSourceConceptIdentifier(String).
scui - the SCUIvoid setSourceConceptIdentifier(String scui)
scui - the SCUIString getCode()
void setCode(String code)
code - the codeString getIspref()
Atom
is preferred (ISPREF).
Atom is preferredvoid setIspref(String ispref)
Atom
is preferred (ISPREF).
ispref - the flag indicating whether or not this Atom
is preferredboolean hasPreferredAtomIdentifier()
Atom is the preferred atom identifier
for its Concept and string identifier.
true if so, false otherwiseboolean hasPreferredAui()
Atom is the preferred atom identifier
for its Concept and string identifier. This is shorthand for
hasPreferredAtomIdentifier().
true if so, false otherwiseString getAui()
getAtomIdentifier().
void setAui(String aui)
setAtomIdentifier(String).
aui - the AUIString getAtomIdentifier()
void setAtomIdentifier(String aui)
aui - the AUILanguage 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 Languageboolean hasPreferredTermIdentifier()
Term
of the Concept. In other words, does this Atom have
the same LUI as the preferred Atom of the Concept.
true if so, false otherwiseboolean hasPreferredLui()
Term
of the Concept. This is shorthand for hasPreferredTermIdentifier()
true if so, false otherwiseTermStatus 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 LUIboolean 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 otherwiseStringType 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 nameDefinition[] getDefinitions()
Definitions.
Definition []List getDefinitionsAsList()
Definitions as a List.
Definitions as a ListString getKeyFields()
String key which can be used
by equals, compareTo, and hashCode methods.
String composed from key Atom fieldsvoid addDefinition(Definition def)
Definition.
def - the Definition to be addedvoid removeDefinition(Definition def)
Definition.
def - the Definition to be removedvoid clearDefinitions()
Definitions.
void setDefinitions(Definition[] defs)
Definitions with the ones in the specified array.
defs - a Definition []void setDefinitions(List defs)
Definitions with the ones in the specified List.
defs - a List of DefinitionsLocator[] getLocators()
Locators.
Locator []List getLocatorsAsList()
Locators as a List.
Locators as a Listvoid addLocator(Locator loc)
Locator.
loc - the Locator to be addedvoid removeLocator(Locator loc)
Locator.
loc - the Locator to be removedvoid clearLocators()
Locators.
void setLocators(Locator[] locs)
Locators with the ones in the specified array.
locs - a Locator []void setLocators(List locs)
Locators with the ones in the specified List.
locs - a List of LocatorsRelationship[] getRelationships()
Relationships.
Relationship []List getRelationshipsAsList()
Relationships as a List.
Relationships as a Listvoid addRelationship(Relationship rel)
Relationship.
rel - the Relationship to be addedvoid removeRelationship(Relationship rel)
Relationship.
rel - the Relationship to be removedvoid clearRelationships()
Relationships.
void setRelationships(Relationship[] rels)
Relationships with the ones in the specified array.
rels - a Relationship []void setRelationships(List rels)
Relationships of the ones in the specified List.
rels - a List of RelationshipsCoocurrence[] getCoocurrences()
Coocurrences.
Coocurrence []List getCoocurrencesAsList()
Coocurrences as a List.
Coocurrences as a Listvoid addCoocurrence(Coocurrence coc)
Coocurrence.
coc - the Coocurrence to be addedvoid removeCoocurrence(Coocurrence coc)
Coocurrence.
coc - the Coocurrence to be removedvoid clearCoocurrences()
Coocurrences.
void setCoocurrences(Coocurrence[] cocs)
Coocurrences with the ones in the specified array.
cocs - a Coocurrence []void setCoocurrences(List cocs)
Coocurrences with the ones in the specified List.
cocs - a List of CoocurrencesContext[] getContexts()
Contexts.
Context []List getContextsAsList()
Contexts as a List.
Contexts as a Listvoid addContext(Context cxt)
Context.
cxt - the Context to be addedvoid removeContext(Context cxt)
Context.
cxt - the Context to be removedvoid clearContexts()
Contexts.
void setContexts(Context[] cxts)
Contexts with the ones in the specified array.
cxts - a Context []void setContexts(List cxts)
Contexts with the ones in the specified List.
cxts - a List of ContextsAtomAttribute[] getAttributes()
AtomAttributes.
AtomAttribute []List getAttributesAsList()
AtomAttributes as a List.
AtomAttributes as a Listvoid addAttribute(AtomAttribute att)
AtomAttribute.
att - the AtomAttribute to be addedvoid removeAttribute(AtomAttribute att)
AtomAttribute.
att - the AtomAttribute to be removedvoid clearAttributes()
AtomAttributes.
void setAttributes(AtomAttribute[] atts)
AtomAttributes with the ones in the specified array.
atts - an AtomAttribute []void setAttributes(List atts)
AtomAttributes with the ones in the specified List.
atts - a List of AtomAttributesRelationship[] getRelationships(Restrictor restrictor)
Atom's Relationships.
Restricts the return based on the given Atom.ByLanguageRestrictor.
restrictor - Atom.ByLanguageRestrictor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||