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

ObjectMatches - JBoss RULES 3.0.6 API 英文版文档


org.drools.reteoo
Class ObjectMatches

java.lang.Object
  extended by org.drools.util.AbstractBaseLinkedListNode
      extended by org.drools.util.BaseMultiLinkedListNode
          extended by org.drools.reteoo.ObjectMatches
All Implemented Interfaces:
java.io.Serializable, LinkedListNode, MultiLinkedListNode

public class ObjectMatches
extends BaseMultiLinkedListNode

ObjectMatches maintains a reference to its FactHandleImpl and a LinkedList of TupleMatches.

See Also:
TupleMatch, LinkedList, Serialized Form

Constructor Summary
ObjectMatches(DefaultFactHandle handle)
          Constructs an ObjectMatches which maintain a reference to its FactHandleImpl with an empty LinkedList.
 
Method Summary
 DefaultFactHandle getFactHandle()
          Return FactHandleImpl that this provides the TupleMatches for.
 TupleMatch getFirstTupleMatch()
          Return the first TupleMatch that this FactHandleImpl matches.
 TupleMatch getLastTupleMatch()
          Return the last TupleMatch that this FactHandleImpl matches.
 boolean hasMatches()
           
 int size()
           
 
Methods inherited from class org.drools.util.BaseMultiLinkedListNode
getChild, getOuterList, setChild, setOuterList
 
Methods inherited from class org.drools.util.AbstractBaseLinkedListNode
getNext, getPrevious, setNext, setPrevious
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.drools.util.LinkedListNode
getNext, getPrevious, setNext, setPrevious
 

Constructor Detail

ObjectMatches

public ObjectMatches(DefaultFactHandle handle)
Constructs an ObjectMatches which maintain a reference to its FactHandleImpl with an empty LinkedList.

Parameters:
handle -
Method Detail

getFactHandle

public DefaultFactHandle getFactHandle()
Return FactHandleImpl that this provides the TupleMatches for.

Returns:

getFirstTupleMatch

public TupleMatch getFirstTupleMatch()
Return the first TupleMatch that this FactHandleImpl matches.

Returns:
the TupleMatch

getLastTupleMatch

public TupleMatch getLastTupleMatch()
Return the last TupleMatch that this FactHandleImpl matches.

Returns:
the TupleMatch

size

public int size()

hasMatches

public boolean hasMatches()