站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 3.0.6 API 英文版文档

Tuple - JBoss RULES 3.0.6 API 英文版文档


org.drools.spi
Interface Tuple

All Known Implementing Classes:
ReteTuple, Token

public interface Tuple

Partial matches are propagated through the Rete network as Tuples. Each Tuple Is able to return the FactHandleImpl members of the partial match for the requested column. The column refers to the index position of the FactHandleImpl in the underlying implementation.

See Also:
FactHandle;

Method Summary
 boolean dependsOn(FactHandle handle)
           
 InternalFactHandle get(Declaration declaration)
          Returns the FactHandle for the given Declaration, which in turn specifcy the Column that they depend on.
 InternalFactHandle get(int column)
          Returns the FactHandle for the given column index.
 InternalFactHandle[] getFactHandles()
           
 long getRecency()
           
 void setActivation(Activation activation)
           
 

Method Detail

get

InternalFactHandle get(int column)
Returns the FactHandle for the given column index. If the column is empty It returns null.

Parameters:
column - The index of the column from which the FactHandleImpl is to be returned
Returns:
The FactHandle

get

InternalFactHandle get(Declaration declaration)
Returns the FactHandle for the given Declaration, which in turn specifcy the Column that they depend on.

Parameters:
declaration - The Declaration which specifies the Column
Returns:
The FactHandle

getFactHandles

InternalFactHandle[] getFactHandles()

getRecency

long getRecency()

dependsOn

boolean dependsOn(FactHandle handle)

setActivation

void setActivation(Activation activation)