org.drools.spi
Interface Tuple

All Known Implementing Classes:
ReteTuple

public interface Tuple

A mapping of Declarations to current fact values.

Version:
$Id: Tuple.java,v 1.6 2002/08/18 21:16:09 bob Exp $
Author:
bob mcwhirter
See Also:
Declaration

Method Summary
 java.lang.Object get(Declaration declaration)
          Retrieve the value bound to a particular Declaration.
 java.util.Set getDeclarations()
          Retrieve the Collection of all Declarations active in this tuple.
 

Method Detail

get

public java.lang.Object get(Declaration declaration)
Retrieve the value bound to a particular Declaration.
Parameters:
declaration - The Declaration key.
Returns:
The currently bound Object value.

getDeclarations

public java.util.Set getDeclarations()
Retrieve the Collection of all Declarations active in this tuple.
Returns:
The Collection of all Declarations in this tuple.


Copyright © 2001-2003 The Werken Company. All Rights Reserved.