ca.uwaterloo.cs.ql.fb
Class Show

java.lang.Object
  extended by ca.uwaterloo.cs.ql.fb.Show

public class Show
extends java.lang.Object


Constructor Summary
Show()
           
 
Method Summary
 void addAtts(EdgeSet eSet)
           
 void addRels(EdgeSet eSet)
           
static java.lang.String getAtt(int nodeID, EdgeSet eSet)
          Gets a node's attribute value.
 java.lang.String[] getAtts(int nodeID)
          Gets a node's attributes.
 java.lang.String getName(int nodeID)
          Gets a node's name.
 java.util.ArrayList<java.lang.String> getRels(int nodeID)
           
static java.util.ArrayList<java.lang.String> getRels(int nodeID, EdgeSet eSet, EdgeSet attName)
           
 void setup()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Show

public Show()
Method Detail

addRels

public void addRels(EdgeSet eSet)

addAtts

public void addAtts(EdgeSet eSet)

setup

public void setup()

getName

public java.lang.String getName(int nodeID)
Gets a node's name.


getAtts

public java.lang.String[] getAtts(int nodeID)
Gets a node's attributes.

Parameters:
nodeID - the node's unique ID.
Returns:
an array of three strings, where
     string[0] - the node's name
     string[1] - the node's instance
     string[2] - the node's other attributes.
 

getRels

public java.util.ArrayList<java.lang.String> getRels(int nodeID)

getAtt

public static java.lang.String getAtt(int nodeID,
                                      EdgeSet eSet)
Gets a node's attribute value.


getRels

public static java.util.ArrayList<java.lang.String> getRels(int nodeID,
                                                            EdgeSet eSet,
                                                            EdgeSet attName)