org.LexGrid.LexBIG.Impl.helpers.graph
Class GAssociation

java.lang.Object
  extended by org.LexGrid.LexBIG.Impl.helpers.graph.GAssociation

public class GAssociation
extends java.lang.Object

Association object to help in constructing the graph.

Version:
subversion $Revision: $ checked in on $Date: $
Author:
Dan Armbrust, Jesse Erdmann

Constructor Summary
GAssociation(GAssociationInfo associationInfo)
           
 
Method Summary
 void addChild(GNode child, NameAndValueList qualifiers)
           
 void addQualifiers(GNode node, NameAndValueList qualifiersToAdd)
           
 GAssociationInfo getAssociationInfo()
           
 GNode getChild(GNode code)
           
 int getChildCount()
           
 java.util.Collection<GNode> getChildren()
           
 java.util.Collection<GNode> getChildren(SortOptionList sortBy)
           
 NameAndValueList getQualifier(GNode node)
           
 boolean hasChild(GNode code)
           
 boolean isUnaddedChildrenPresent()
           
 void removeChild(GNode child)
           
 void setUnaddedChildrenPresent(boolean unaddedChildrenPresent)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GAssociation

public GAssociation(GAssociationInfo associationInfo)
Method Detail

getAssociationInfo

public GAssociationInfo getAssociationInfo()

addChild

public void addChild(GNode child,
                     NameAndValueList qualifiers)

removeChild

public void removeChild(GNode child)

getChildCount

public int getChildCount()

addQualifiers

public void addQualifiers(GNode node,
                          NameAndValueList qualifiersToAdd)

getQualifier

public NameAndValueList getQualifier(GNode node)

hasChild

public boolean hasChild(GNode code)

getChild

public GNode getChild(GNode code)

getChildren

public java.util.Collection<GNode> getChildren(SortOptionList sortBy)

getChildren

public java.util.Collection<GNode> getChildren()

isUnaddedChildrenPresent

public boolean isUnaddedChildrenPresent()

setUnaddedChildrenPresent

public void setUnaddedChildrenPresent(boolean unaddedChildrenPresent)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.