|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface StringContext
Represents grouping of SourceContexts which share
the same Source abbreviation and code.
Following is a UML Class diagram showing the neighborhood around StringContext

ContextGroup| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface gov.nih.nlm.umls.meta.AtomElement |
|---|
AtomElement.ByLanguageRestrictor, AtomElement.BySourceRestrictor |
| Nested classes/interfaces inherited from interface gov.nih.nlm.umls.meta.SourceElement |
|---|
SourceElement.BySourceComparator, SourceElement.BySourceRestrictor |
| Method Summary | |
|---|---|
void |
addSourceContext(SourceContext sc)
Adds the specified SourceContext. |
void |
clearSourceContexts()
Removes all SourceContexts. |
ContextGroup |
getContextGroup()
Returns the ContextGroup that holds this StringContext. |
String |
getKeyFields()
Returns a String key which can be used
by equals, compareTo, and hashCode methods. |
SourceContext[] |
getSourceContexts()
Returns all SourceContexts. |
List |
getSourceContextsAsList()
Returns all SourceContexts as a List. |
void |
removeSourceContext(SourceContext sc)
Removes the specified SourceContext. |
void |
setContextGroup(ContextGroup cg)
Sets the ContextGroup that holds this StringContext. |
void |
setSourceContexts(List scs)
Replace the SourceContexts with the ones in the specified List. |
void |
setSourceContexts(SourceContext[] scs)
Replace the SourceContexts with the ones in the specified array. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface gov.nih.nlm.umls.meta.AtomElement |
|---|
getAtom, setAtom |
| Methods inherited from interface gov.nih.nlm.umls.meta.SourceElement |
|---|
getSource, setSource |
| Method Detail |
|---|
SourceContext[] getSourceContexts()
SourceContexts.
SourceContextsList getSourceContextsAsList()
SourceContexts as a List.
SourceContextsvoid addSourceContext(SourceContext sc)
SourceContext.
sc - the SourceContext to be addedvoid removeSourceContext(SourceContext sc)
SourceContext.
sc - the SourceContext to be removedvoid clearSourceContexts()
SourceContexts.
void setSourceContexts(SourceContext[] scs)
SourceContexts with the ones in the specified array.
scs - a SourceContext[]void setSourceContexts(List scs)
SourceContexts with the ones in the specified List.
scs - a List of SourceContextsContextGroup getContextGroup()
ContextGroup that holds this StringContext.
ContextGroup that holds this StringContextvoid setContextGroup(ContextGroup cg)
ContextGroup that holds this StringContext.
cg - the ContextGroup that holds this StringContextString getKeyFields()
String key which can be used
by equals, compareTo, and hashCode methods.
String composed from key Atom fields
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||