|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a group of co-ocurring Concept
s or Atom
s.
Following is a UML Class diagram showing the neighborhood around CoocurrenceGroup
Nested Class Summary |
Nested classes inherited from class gov.nih.nlm.umls.meta.AtomElement |
AtomElement.ByLanguageRestrictor, AtomElement.BySourceRestrictor |
Method Summary | |
void |
addCoocurrenceContext(CoocurrenceContext coc_context)
Adds the specified CoocurrenceContext . |
void |
clearCoocurrenceContexts()
Removes all CoocurrenceContext s. |
CoocurrenceContext[] |
getCoocurrenceContexts()
Returns the CoocurrenceContext s. |
List |
getCoocurrenceContextsAsList()
Returns the CoocurrenceContext s as a List . |
String |
getKeyFields()
Returns a String key which can be used
by equals, compareTo, and hashCode methods. |
void |
removeCoocurrenceContext(CoocurrenceContext coc_context)
Removes the specified CoocurrenceContext . |
void |
setCoocurrenceContexts(CoocurrenceContext[] coc_contexts)
Replaces the CoocurrenceContext s with those in the
specified array. |
void |
setCoocurrenceContexts(List coc_contexts)
Replaces the CoocurrenceContext s with those in the
specified List |
void |
setCoocurrenceContexts(String coc_contexts)
Sets the coocurrence attribute value. |
Methods inherited from interface gov.nih.nlm.umls.meta.AtomElement |
getAtom, setAtom |
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.RelatedAtomElement |
getRelatedAtom, setRelatedAtom |
Methods inherited from interface gov.nih.nlm.umls.meta.RelatedConceptElement |
getRelatedConcept, setRelatedConcept |
Method Detail |
public CoocurrenceContext[] getCoocurrenceContexts()
CoocurrenceContext
s.
CoocurrenceContext
spublic List getCoocurrenceContextsAsList()
CoocurrenceContext
s as a List
.
CoocurrenceContext
s as a List
public void setCoocurrenceContexts(String coc_contexts)
coc_contexts
- the coocuurence attribute valuepublic void setCoocurrenceContexts(CoocurrenceContext[] coc_contexts)
CoocurrenceContext
s with those in the
specified array.
coc_contexts
- an array of CoocurrenceContext
spublic void setCoocurrenceContexts(List coc_contexts)
CoocurrenceContext
s with those in the
specified List
coc_contexts
- a List
of CoocurrenceContext
spublic void addCoocurrenceContext(CoocurrenceContext coc_context)
CoocurrenceContext
.
coc_context
- the CoocurrenceContext
to be addedpublic void removeCoocurrenceContext(CoocurrenceContext coc_context)
CoocurrenceContext
.
coc_context
- the CoocurrenceContext
to be removedpublic void clearCoocurrenceContexts()
CoocurrenceContext
s.
public String getKeyFields()
String
key which can be used
by equals, compareTo, and hashCode methods.
String
composed from key CoocurrenceGroup
fields
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |