org.openanzo.jastor.util.graph
Class NodeMem

java.lang.Object
  extended by org.openanzo.jastor.util.graph.GraphPartBase
      extended by org.openanzo.jastor.util.graph.NodeMem
All Implemented Interfaces:
IGraphPart, INode

public class NodeMem
extends GraphPartBase
implements INode

Author:
Elias Torres ( eliast@us.ibm.com )

Constructor Summary
NodeMem(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 IGraph getGraph()
           
 IEdge getIncomingEdge(INode n)
           
 java.util.List<IEdge> getIncomingEdges()
           
 IEdge getOutgoingEdge(INode n)
           
 java.util.List<IEdge> getOutgoingEdges()
           
 boolean hasIncomingEdge(INode n)
           
 boolean hasOutgoingEdge(INode n)
           
 boolean isInGraph()
           
 boolean isInGraph(IGraph graph)
           
 void removeIncomingEdge(IEdge e)
           
 void removeOutgoingEdge(IEdge e)
           
 java.lang.String toString()
           
 
Methods inherited from class org.openanzo.jastor.util.graph.GraphPartBase
getData, getName, setData
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openanzo.jastor.util.graph.IGraphPart
getData, getName, setData
 

Constructor Detail

NodeMem

public NodeMem(java.lang.String name)
Method Detail

getIncomingEdge

public IEdge getIncomingEdge(INode n)
Specified by:
getIncomingEdge in interface INode

hasIncomingEdge

public boolean hasIncomingEdge(INode n)
Specified by:
hasIncomingEdge in interface INode

getOutgoingEdge

public IEdge getOutgoingEdge(INode n)
Specified by:
getOutgoingEdge in interface INode

hasOutgoingEdge

public boolean hasOutgoingEdge(INode n)
Specified by:
hasOutgoingEdge in interface INode

isInGraph

public boolean isInGraph()
Specified by:
isInGraph in interface INode

isInGraph

public boolean isInGraph(IGraph graph)
Specified by:
isInGraph in interface INode

getGraph

public IGraph getGraph()
Specified by:
getGraph in interface INode

getIncomingEdges

public java.util.List<IEdge> getIncomingEdges()
Specified by:
getIncomingEdges in interface INode

getOutgoingEdges

public java.util.List<IEdge> getOutgoingEdges()
Specified by:
getOutgoingEdges in interface INode

toString

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

removeIncomingEdge

public void removeIncomingEdge(IEdge e)
Specified by:
removeIncomingEdge in interface INode

removeOutgoingEdge

public void removeOutgoingEdge(IEdge e)
Specified by:
removeOutgoingEdge in interface INode

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.