org.geneontology.lego.model2
Class LegoGraph

java.lang.Object
  extended by org.geneontology.lego.model2.LegoGraph

public class LegoGraph
extends Object


Constructor Summary
LegoGraph(List<LegoUnit> units, List<LegoNode> nodes)
           
 
Method Summary
 List<LegoLink> getLinks()
          Extract the whole list of links form the nodes
 List<LegoNode> getNodes()
           
 List<LegoUnit> getUnits()
          The units are for display purposes only.
For the full model use nodes and links.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegoGraph

public LegoGraph(List<LegoUnit> units,
                 List<LegoNode> nodes)
Parameters:
units -
nodes -
Method Detail

getUnits

public List<LegoUnit> getUnits()
The units are for display purposes only.
For the full model use nodes and links.

Returns:
the units

getNodes

public List<LegoNode> getNodes()
Returns:
the nodes

getLinks

public List<LegoLink> getLinks()
Extract the whole list of links form the nodes

Returns:
list of nodes


Copyright © 2012-2013. All Rights Reserved.