|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents information about ancestors, children, or siblings in a hierarchy.
Following is a UML Class diagram showing the neighborhood around ContextMember
Some data in MRCXT
is represented here.
Context
,
SourceContext
Method Summary | |
AdditionalRelationshipLabel |
getAdditionalRelationshipLabel()
Returns the AdditionalRelationshipLabel (RELA) from the context member to its parent. |
String |
getCxl()
Returns the label for this ContextMember (CXL). |
String |
getHcd()
Returns the hierarchical code (HCD). |
String |
getHierarchicalCode()
Returns the hierarchical code (HCD). |
String |
getKeyFields()
Returns a String key which can be used
by equals, compareTo, and hashCode methods. |
String |
getLabel()
Returns the label for this ContextMember (CXL). |
int |
getRank()
Returns the rank (RNK) if the member is an ancestor. |
AdditionalRelationshipLabel |
getRela()
Returns the AdditionalRelationshipLabel (RELA) from the context member to its parent. |
String |
getXc()
Returns the "has child flag" value (XC). |
boolean |
hasChild()
Indicates whether or not this context member has children. |
void |
setAdditionalRelationshipLabel(AdditionalRelationshipLabel rela)
Sets the AdditionalRelationshipLabel (RELA) from the context member to its parent. |
void |
setCxl(String cxl)
Sets the label for this ContextMember (CXL). |
void |
setHasChild(boolean xc)
Sets the flag indicating whether or not this ContextMember has a child. |
void |
setHcd(String hcd)
Sets the hierarchical code (HCD). |
void |
setHierarchicalCode(String hcd)
Sets the hierarchical code (HCD). |
void |
setLabel(String cxl)
Sets the label for this ContextMember . |
void |
setRank(int rnk)
Sets the rank (RNK) if the member is an ancestor |
void |
setRela(AdditionalRelationshipLabel rela)
Sets the AdditionalRelationshipLabel (RELA) from the context member to its parent. |
void |
setXc(String xc)
Sets the "has child flag" value (XC). |
Methods inherited from interface java.lang.Comparable |
compareTo |
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 int getRank()
int
rankpublic void setRank(int rnk)
rnk
- the int
rankpublic String getHierarchicalCode()
public String getHcd()
getHierarchicalCode()
.
public void setHierarchicalCode(String hcd)
hcd
- the hierarchical codepublic void setHcd(String hcd)
setHierarchicalCode(String)
.
hcd
- the hierarchical codepublic AdditionalRelationshipLabel getAdditionalRelationshipLabel()
AdditionalRelationshipLabel
(RELA) from the context member to its parent.
AdditionalRelationshipLabel
public AdditionalRelationshipLabel getRela()
AdditionalRelationshipLabel
(RELA) from the context member to its parent.
This is shorthand for getAdditionalRelationshipLabel()
.
AdditionalRelationshipLabel
public void setAdditionalRelationshipLabel(AdditionalRelationshipLabel rela)
AdditionalRelationshipLabel
(RELA) from the context member to its parent.
rela
- the AdditionalRelationshipLabel
public void setRela(AdditionalRelationshipLabel rela)
AdditionalRelationshipLabel
(RELA) from the context member to its parent.
This is shorthand for setAdditionalRelationshipLabel(AdditionalRelationshipLabel)
.
rela
- the AdditionalRelationshipLabel
public String getXc()
public void setXc(String xc)
xc
- the "has child flag" valuepublic boolean hasChild()
true
if ContextMember
has a child,
false
if ContextMember
does not have a childpublic void setHasChild(boolean xc)
ContextMember
has a child.
xc
- true
if ContextMember
has a child,
false
if ContextMember
does not have a childpublic String getLabel()
ContextMember
(CXL).
ContextMember
public String getCxl()
ContextMember
(CXL).
This is shorthand for getLabel()
.
ContextMember
public void setLabel(String cxl)
ContextMember
.
cxl
- labelpublic void setCxl(String cxl)
ContextMember
(CXL).
This is shorthand for setLabel(String)
.
cxl
- the label for this ContextMember
public String getKeyFields()
String
key which can be used
by equals, compareTo, and hashCode methods.
String
composed from key ContextMember
fields
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |