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

InstanceEqualsConstraint (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.common
Class InstanceEqualsConstraint

java.lang.Object
  extended by org.drools.common.InstanceEqualsConstraint
All Implemented Interfaces:
Serializable, BetaNodeFieldConstraint, Constraint, RuleComponent

public class InstanceEqualsConstraint
extends Object
implements BetaNodeFieldConstraint

InstanceEqualsConstraint Created: 21/06/2006

Version:
$Id$
Author:
Edson Tirelli
See Also:
Serialized Form

Nested Class Summary
static class InstanceEqualsConstraint.InstanceEqualsConstraintContextEntry
           
 
Constructor Summary
InstanceEqualsConstraint(Pattern otherPattern)
           
 
Method Summary
 boolean equals(Object object)
           
 ContextEntry getContextEntry()
           
 Pattern getOtherPattern()
           
 Declaration[] getRequiredDeclarations()
           
 int hashCode()
           
 boolean isAllowedCachedLeft(ContextEntry context, Object object)
           
 boolean isAllowedCachedRight(ReteTuple tuple, ContextEntry context)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstanceEqualsConstraint

public InstanceEqualsConstraint(Pattern otherPattern)
Method Detail

getRequiredDeclarations

public Declaration[] getRequiredDeclarations()
Specified by:
getRequiredDeclarations in interface Constraint

getOtherPattern

public Pattern getOtherPattern()

getContextEntry

public ContextEntry getContextEntry()
Specified by:
getContextEntry in interface BetaNodeFieldConstraint

isAllowedCachedLeft

public boolean isAllowedCachedLeft(ContextEntry context,
                                   Object object)
Specified by:
isAllowedCachedLeft in interface BetaNodeFieldConstraint

isAllowedCachedRight

public boolean isAllowedCachedRight(ReteTuple tuple,
                                    ContextEntry context)
Specified by:
isAllowedCachedRight in interface BetaNodeFieldConstraint

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object object)
Overrides:
equals in class Object


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.