|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a grouping of StringContext
s all of which
share the same string identifier.
Following is a UML Class diagram showing the neighborhood around ContextGroup
Method Summary | |
void |
addStringContext(StringContext sc)
Adds the specified StringContext . |
void |
clearStringContexts()
Removes all StringContext s. |
String |
getKeyFields()
Returns a String key which can be used
by equals, compareTo, and hashCode methods. |
StringContext[] |
getStringContexts()
Returns all StringContext s. |
List |
getStringContextsAsList()
Returns all StringContext s as a List |
StringInfo |
getStringInfo()
Return the StringInfo . |
void |
removeStringContext(StringContext sc)
Removes the specified StringContext . |
void |
setStringContexts(List scs)
replaces the StringContext s with the ones in the specified List . |
void |
setStringContexts(StringContext[] scs)
Replaces the StringContext s with the ones in the specified array. |
void |
setStringInfo(StringInfo string_info)
Sets the StringInfo . |
Methods inherited from interface java.lang.Comparable |
compareTo |
Methods inherited from interface gov.nih.nlm.umls.meta.ConceptElement |
getConcept, setConcept |
Method Detail |
public StringInfo getStringInfo()
StringInfo
.
StringInfo
public void setStringInfo(StringInfo string_info)
StringInfo
.
string_info
- the StringInfo
public StringContext[] getStringContexts()
StringContext
s.
StringContext
spublic List getStringContextsAsList()
StringContext
s as a List
List
of StringContext
spublic void addStringContext(StringContext sc)
StringContext
.
sc
- the StringContext
to be addedpublic void removeStringContext(StringContext sc)
StringContext
.
sc
- the StringContext
to be removedpublic void clearStringContexts()
StringContext
s.
public void setStringContexts(StringContext[] scs)
StringContext
s with the ones in the specified array.
scs
- a StringContext
[]
public void setStringContexts(List scs)
StringContext
s with the ones in the specified List
.
scs
- a List
of StringContext
spublic String 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 |