|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ContextMember
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 |
|---|
int getRank()
int rankvoid setRank(int rnk)
rnk - the int rankString getHierarchicalCode()
String getHcd()
getHierarchicalCode().
void setHierarchicalCode(String hcd)
hcd - the hierarchical codevoid setHcd(String hcd)
setHierarchicalCode(String).
hcd - the hierarchical codeAdditionalRelationshipLabel getAdditionalRelationshipLabel()
AdditionalRelationshipLabel (RELA) from the context member to its parent.
AdditionalRelationshipLabelAdditionalRelationshipLabel getRela()
AdditionalRelationshipLabel (RELA) from the context member to its parent.
This is shorthand for getAdditionalRelationshipLabel().
AdditionalRelationshipLabelvoid setAdditionalRelationshipLabel(AdditionalRelationshipLabel rela)
AdditionalRelationshipLabel (RELA) from the context member to its parent.
rela - the AdditionalRelationshipLabelvoid setRela(AdditionalRelationshipLabel rela)
AdditionalRelationshipLabel (RELA) from the context member to its parent.
This is shorthand for setAdditionalRelationshipLabel(AdditionalRelationshipLabel).
rela - the AdditionalRelationshipLabelString getXc()
void setXc(String xc)
xc - the "has child flag" valueboolean hasChild()
true if ContextMember has a child,
false if ContextMember does not have a childvoid setHasChild(boolean xc)
ContextMember has a child.
xc - true if ContextMember has a child,
false if ContextMember does not have a childString getLabel()
ContextMember (CXL).
ContextMemberString getCxl()
ContextMember (CXL).
This is shorthand for getLabel().
ContextMembervoid setLabel(String cxl)
ContextMember.
cxl - labelvoid setCxl(String cxl)
ContextMember (CXL).
This is shorthand for setLabel(String).
cxl - the label for this ContextMemberString 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 | ||||||||