|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a grouping of StringContexts 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 StringContexts. |
String |
getKeyFields()
Returns a String key which can be used
by equals, compareTo, and hashCode methods. |
StringContext[] |
getStringContexts()
Returns all StringContexts. |
List |
getStringContextsAsList()
Returns all StringContexts as a List |
StringInfo |
getStringInfo()
Return the StringInfo. |
void |
removeStringContext(StringContext sc)
Removes the specified StringContext. |
void |
setStringContexts(List scs)
replaces the StringContexts with the ones in the specified List. |
void |
setStringContexts(StringContext[] scs)
Replaces the StringContexts 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.
StringInfopublic void setStringInfo(StringInfo string_info)
StringInfo.
string_info - the StringInfopublic StringContext[] getStringContexts()
StringContexts.
StringContextspublic List getStringContextsAsList()
StringContexts as a List
List of StringContextspublic void addStringContext(StringContext sc)
StringContext.
sc - the StringContext to be addedpublic void removeStringContext(StringContext sc)
StringContext.
sc - the StringContext to be removedpublic void clearStringContexts()
StringContexts.
public void setStringContexts(StringContext[] scs)
StringContexts with the ones in the specified array.
scs - a StringContext[]public void setStringContexts(List scs)
StringContexts with the ones in the specified List.
scs - a List of StringContextspublic 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 | |||||||||