|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents part of a CoocurrenceGroup
, containing more
detailed information about how two co ocurring meanings (or identifiers)
are related in a particular source of biomedical literature.
Following is a UML Class diagram showing the neighborhood around CoocurrenceContext
CoocurrenceGroup
Nested Class Summary |
Nested classes inherited from class gov.nih.nlm.umls.meta.SourceElement |
SourceElement.BySourceComparator, SourceElement.BySourceRestrictor |
Method Summary | |
void |
addQualifier(QualifierFrequency qual)
Adds the specified QualifierFrequency . |
void |
clearQualifiers()
Removes all QualifierFrequency s. |
int |
getCof()
Returns the CoocurrenceContext frequency (COF). |
int |
getCoocurrenceContextFrequency()
Returns the CoocurrenceContext frequency (COF). |
CoocurrenceGroup |
getCoocurrenceGroup()
Returns the CoocurrenceGroup that holds this CoocurrenceContext . |
CoocurrenceType |
getCoocurrenceType()
Returns the CoocurrenceType (COT). |
CoocurrenceType |
getCot()
Returns the CoocurrenceType (COT). |
String |
getKeyFields()
Returns a String key which can be used
by equals, compareTo, and hashCode methods. |
List |
getQualifierAsList()
Returns the QualifierFrequency values as a List . |
QualifierFrequency[] |
getQualifiers()
Returns the QualifierFrequency list. |
void |
removeQualifier(QualifierFrequency qual)
Removes the specified QualifierFrequency . |
void |
setCof(int cof)
Sets the CoocurrenceContext frequency (COF). |
void |
setCoocurrenceContextFrequency(int cof)
Sets the CoocurrenceContext frequency (COF). |
void |
setCoocurrenceGroup(CoocurrenceGroup group)
Sets the CoocurrenceGroup that holds this CoocurrenceContext . |
void |
setCoocurrenceType(CoocurrenceType cot)
Sets the CoocurrenceType (COT). |
void |
setCot(CoocurrenceType cot)
Sets the CoocurrenceType (COT). |
void |
setQualifiers(List coa)
Replaces the QualifierFrequency values with those in the
specified List |
void |
setQualifiers(QualifierFrequency[] coa)
Replaces the QualifierFrequency values with those in the
specified array. |
Methods inherited from interface java.lang.Comparable |
compareTo |
Methods inherited from interface gov.nih.nlm.umls.meta.ContentViewElement |
getContentView, getCvf, setContentView, setCvf |
Methods inherited from interface gov.nih.nlm.umls.meta.SourceElement |
getSource, setSource |
Method Detail |
public CoocurrenceType getCoocurrenceType()
CoocurrenceType
(COT).
CoocurrenceType
public CoocurrenceType getCot()
CoocurrenceType
(COT).
This is shorthand for getCoocurrenceType()
.
CoocurrenceType
public void setCoocurrenceType(CoocurrenceType cot)
CoocurrenceType
(COT).
cot
- the CoocurrenceType
public void setCot(CoocurrenceType cot)
CoocurrenceType
(COT).
This is shorthand for setCoocurrenceType(CoocurrenceType)
.
cot
- the CoocurrenceType
public int getCoocurrenceContextFrequency()
public int getCof()
getCoocurrenceContextFrequency()
.
public void setCoocurrenceContextFrequency(int cof)
cof
- the CoocurrenceContext frequencypublic void setCof(int cof)
setCoocurrenceContextFrequency(int)
.
cof
- the CoocurrenceContext frequencypublic QualifierFrequency[] getQualifiers()
QualifierFrequency
list.
QualifierFrequency
spublic List getQualifierAsList()
QualifierFrequency
values as a List
.
QualifierFrequency
values as a List
public void setQualifiers(QualifierFrequency[] coa)
QualifierFrequency
values with those in the
specified array.
coa
- an array of QualifierFrequency
valuespublic void setQualifiers(List coa)
QualifierFrequency
values with those in the
specified List
coa
- a List
of QualifierFrequency
valuespublic void addQualifier(QualifierFrequency qual)
QualifierFrequency
.
qual
- the QualifierFrequency
to be addedpublic void removeQualifier(QualifierFrequency qual)
QualifierFrequency
.
qual
- the QualifierFrequency
to be removedpublic void clearQualifiers()
QualifierFrequency
s.
public CoocurrenceGroup getCoocurrenceGroup()
CoocurrenceGroup
that holds this CoocurrenceContext
.
CoocurrenceGroup
that holds this CoocurrenceContext
public void setCoocurrenceGroup(CoocurrenceGroup group)
CoocurrenceGroup
that holds this CoocurrenceContext
.
group
- the CoocurrenceGroup
that holds this CoocurrenceContext
public 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 |