org.drools.reteoo.impl
Class ParameterNodeImpl
java.lang.Object
|
+--org.drools.reteoo.impl.TupleSourceImpl
|
+--org.drools.reteoo.impl.ParameterNodeImpl
- All Implemented Interfaces:
- ParameterNode, TupleSource
- public class ParameterNodeImpl
- extends TupleSourceImpl
- implements ParameterNode
Receives Objects
from an ObjectTypeNode
,
and creates a ReteTuple
, passing the result to the following node.
The ParameterNode
is the first node that works in
terms of Tuples
. An instance of ParameterNode
exists for each root fact object parameter of each rule.
- Author:
- bob mcwhirter
- See Also:
ObjectTypeNodeImpl
,
TupleSink
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ParameterNodeImpl
public ParameterNodeImpl(ObjectTypeNodeImpl inputNode,
Declaration declaration)
- Construct.
- Parameters:
inputNode
- The ObjectTypeNode
input to this.declaration
- The root fact object Declaration
.
getDeclaration
public Declaration getDeclaration()
- Retrieve the root fact object
Declaration
.
- Specified by:
getDeclaration
in interface ParameterNode
- Returns:
- The
Declaration
.
getTupleDeclarations
public java.util.Set getTupleDeclarations()
- Retrieve the
Set
of Declaration
s
in the propagated Tuples
.
- Specified by:
getTupleDeclarations
in interface TupleSource
- Returns:
- The
Set
of Declarations
in progated Tuples
.
toString
public java.lang.String toString()
- Produce a debug string.
- Overrides:
toString
in class java.lang.Object
- Returns:
- The debug string.
Copyright © 2001-2003 The Werken Company. All Rights Reserved.