Knowledge API Legacy5 Adapter 6.1.0.Final

org.drools.impl.adapters
Class NodeAdapter

java.lang.Object
  extended by org.drools.impl.adapters.NodeAdapter
All Implemented Interfaces:
Node

public class NodeAdapter
extends Object
implements Node


Field Summary
 org.kie.api.definition.process.Node delegate
           
 
Constructor Summary
NodeAdapter(org.kie.api.definition.process.Node delegate)
           
 
Method Summary
 boolean equals(Object obj)
           
 org.kie.api.definition.process.Node getDelegate()
           
 long getId()
          The id of the node.
 Map<String,List<Connection>> getIncomingConnections()
          The incoming connections for this Node.
 List<Connection> getIncomingConnections(String type)
          The incoming connections for this Node for the given entry-point.
 Map<String,Object> getMetaData()
          Meta data associated with this Node.
 Object getMetaData(String name)
          Meta data associated with this Node.
 String getName()
          The name of the node
 NodeContainer getNodeContainer()
          The NodeContainer this Node lives in.
 Map<String,List<Connection>> getOutgoingConnections()
          The outgoing connections for this Node.
 List<Connection> getOutgoingConnections(String type)
          The outgoing connections for this Node for the given exit-point.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

public org.kie.api.definition.process.Node delegate
Constructor Detail

NodeAdapter

public NodeAdapter(org.kie.api.definition.process.Node delegate)
Method Detail

getDelegate

public org.kie.api.definition.process.Node getDelegate()

getId

public long getId()
Description copied from interface: Node
The id of the node. This is unique within its NodeContainer.

Specified by:
getId in interface Node
Returns:
the id of the node

getName

public String getName()
Description copied from interface: Node
The name of the node

Specified by:
getName in interface Node
Returns:
the name of the node

getIncomingConnections

public Map<String,List<Connection>> getIncomingConnections()
Description copied from interface: Node
The incoming connections for this Node. A Node could have multiple entry-points. This map contains the list of incoming connections for each entry-point.

Specified by:
getIncomingConnections in interface Node
Returns:
the incoming connections

getOutgoingConnections

public Map<String,List<Connection>> getOutgoingConnections()
Description copied from interface: Node
The outgoing connections for this Node. A Node could have multiple exit-points. This map contains the list of outgoing connections for each exit-point.

Specified by:
getOutgoingConnections in interface Node
Returns:
the outgoing connections

getIncomingConnections

public List<Connection> getIncomingConnections(String type)
Description copied from interface: Node
The incoming connections for this Node for the given entry-point.

Specified by:
getIncomingConnections in interface Node
Returns:
the incoming connections for the given entry point

getOutgoingConnections

public List<Connection> getOutgoingConnections(String type)
Description copied from interface: Node
The outgoing connections for this Node for the given exit-point.

Specified by:
getOutgoingConnections in interface Node
Returns:
the outgoing connections for the given exit point

getNodeContainer

public NodeContainer getNodeContainer()
Description copied from interface: Node
The NodeContainer this Node lives in.

Specified by:
getNodeContainer in interface Node
Returns:
the NodeContainer

getMetaData

public Map<String,Object> getMetaData()
Description copied from interface: Node
Meta data associated with this Node.

Specified by:
getMetaData in interface Node

getMetaData

public Object getMetaData(String name)
Description copied from interface: Node
Meta data associated with this Node.

Specified by:
getMetaData in interface Node

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

Knowledge API Legacy5 Adapter 6.1.0.Final

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