org.drools.semantics.annotation.model
Class TupleParameterValue

java.lang.Object
  extended by org.drools.semantics.annotation.model.TupleParameterValue
All Implemented Interfaces:
Serializable, ParameterValue

 class TupleParameterValue
extends Object
implements ParameterValue


Constructor Summary
TupleParameterValue(Declaration declaration)
           
 
Method Summary
 Declaration getDeclaration()
           
 Object getValue(Tuple tuple)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TupleParameterValue

public TupleParameterValue(Declaration declaration)
Method Detail

getValue

public Object getValue(Tuple tuple)
Specified by:
getValue in interface ParameterValue
Returns:
The fact associated with the parameter declaration. The returned value may be null.

getDeclaration

public Declaration getDeclaration()


Copyright © 2001-2005 The Codehaus. All Rights Reserved.