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

GroupElement - JBoss RULES 3.0.6 API 英文版文档


org.drools.rule
Class GroupElement

java.lang.Object
  extended by org.drools.rule.ConditionalElement
      extended by org.drools.rule.GroupElement
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
And, Exists, Not, Or

public abstract class GroupElement
extends ConditionalElement

See Also:
Serialized Form

Constructor Summary
GroupElement()
           
 
Method Summary
 void addChild(java.lang.Object child)
          This removes single branch 'and' and 'or' It also does basic nested removal, where an 'and' is nested inside an 'and' and when an 'or' is nested inside an 'or' LogicTransformer does further, more complicated, transformations
 java.lang.Object clone()
          Clones all Conditional Elements but references the non ConditionalElement children
 boolean equals(java.lang.Object object)
          Traverses two trees and checks that they are structurally equal at all levels
 java.util.List getChildren()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupElement

public GroupElement()
Method Detail

addChild

public void addChild(java.lang.Object child)
This removes single branch 'and' and 'or' It also does basic nested removal, where an 'and' is nested inside an 'and' and when an 'or' is nested inside an 'or' LogicTransformer does further, more complicated, transformations

Parameters:
child -

getChildren

public java.util.List getChildren()

equals

public boolean equals(java.lang.Object object)
Traverses two trees and checks that they are structurally equal at all levels

Overrides:
equals in class java.lang.Object
Parameters:
e1 -
e2 -
Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

clone

public java.lang.Object clone()
Clones all Conditional Elements but references the non ConditionalElement children

Specified by:
clone in class ConditionalElement
Parameters:
e1 -
e2 -
Returns: