Drools :: Beliefs 6.2.0.Final

org.drools.beliefs.graph.impl
Class GraphNodeImpl<T>

java.lang.Object
  extended by org.drools.beliefs.graph.impl.GraphNodeImpl<T>
All Implemented Interfaces:
GraphNode<T>

public class GraphNodeImpl<T>
extends Object
implements GraphNode<T>


Constructor Summary
GraphNodeImpl(int id)
           
 
Method Summary
 void addInEdge(Edge outEdge)
           
 void addOutEdge(Edge inEdge)
           
 T getContent()
           
 int getId()
           
 List<Edge> getInEdges()
           
 List<Edge> getOutEdges()
           
 void removeInEdge(Edge outEdge)
           
 void removeOutEdge(Edge inEdge)
           
 void setContent(T content)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GraphNodeImpl

public GraphNodeImpl(int id)
Method Detail

setContent

public void setContent(T content)
Specified by:
setContent in interface GraphNode<T>

getContent

public T getContent()
Specified by:
getContent in interface GraphNode<T>

getId

public int getId()
Specified by:
getId in interface GraphNode<T>

addInEdge

public void addInEdge(Edge outEdge)

addOutEdge

public void addOutEdge(Edge inEdge)

removeInEdge

public void removeInEdge(Edge outEdge)

removeOutEdge

public void removeOutEdge(Edge inEdge)

getInEdges

public List<Edge> getInEdges()
Specified by:
getInEdges in interface GraphNode<T>

getOutEdges

public List<Edge> getOutEdges()
Specified by:
getOutEdges in interface GraphNode<T>

toString

public String toString()
Overrides:
toString in class Object

Drools :: Beliefs 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.