cgl.narada.topology.viewer
Class LinkDetailsTemp

java.lang.Object
  extended by cgl.narada.topology.viewer.LinkDetailsTemp

public class LinkDetailsTemp
extends Object

This class manages all the links between a pair of nodes.


Field Summary
 String endNode1
           
 String endNode2
           
 List linksForOneNode
           
 
Constructor Summary
LinkDetailsTemp(String n1, String n2)
          Only constructor.
 
Method Summary
 Link getLink(int linkId, String type)
          Gets a particular link between the node pair.
 void insertLinkForNode(int linkId, String linkType)
          Inserts a link between the node pair.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

endNode1

public String endNode1

endNode2

public String endNode2

linksForOneNode

public List linksForOneNode
Constructor Detail

LinkDetailsTemp

public LinkDetailsTemp(String n1,
                       String n2)
Only constructor. Initializes the node pair.

Method Detail

insertLinkForNode

public void insertLinkForNode(int linkId,
                              String linkType)
Inserts a link between the node pair.

Parameters:
linkId - id of a link.
linkType - type String of a link.

getLink

public Link getLink(int linkId,
                    String type)
Gets a particular link between the node pair.

Parameters:
linkId - id of a link.
type - String type of a link.
Returns:
Link


For comments and suggestions please send e-mail to The NaradaBrokering Project