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

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


org.drools.rule
Class From

java.lang.Object
  extended by org.drools.rule.ConditionalElement
      extended by org.drools.rule.From
All Implemented Interfaces:
Serializable, Cloneable, RuleConditionElement, RuleComponent

public class From
extends ConditionalElement
implements Serializable

See Also:
Serialized Form

Constructor Summary
From(Pattern pattern, DataProvider dataProvider)
           
 
Method Summary
 Object clone()
          Returns a clone from itself
 DataProvider getDataProvider()
           
 Map getInnerDeclarations()
          Returns a Map of declarations that are visible inside this conditional element
 Map getOuterDeclarations()
          Returns a Map of declarations that are visible outside this conditional element.
 Pattern getPattern()
           
 Declaration resolveDeclaration(String identifier)
          Resolves the given identifier in the current scope and returns the Declaration object for the declaration.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

From

public From(Pattern pattern,
            DataProvider dataProvider)
Method Detail

getPattern

public Pattern getPattern()

getDataProvider

public DataProvider getDataProvider()

clone

public Object clone()
Description copied from interface: RuleConditionElement
Returns a clone from itself

Specified by:
clone in interface RuleConditionElement
Specified by:
clone in class ConditionalElement
Returns:

getInnerDeclarations

public Map getInnerDeclarations()
Description copied from interface: RuleConditionElement
Returns a Map of declarations that are visible inside this conditional element

Specified by:
getInnerDeclarations in interface RuleConditionElement
Returns:

getOuterDeclarations

public Map getOuterDeclarations()
Description copied from interface: RuleConditionElement
Returns a Map of declarations that are visible outside this conditional element.

Specified by:
getOuterDeclarations in interface RuleConditionElement
Returns:

resolveDeclaration

public Declaration resolveDeclaration(String identifier)
Description copied from interface: RuleConditionElement
Resolves the given identifier in the current scope and returns the Declaration object for the declaration. Returns null if identifier can not be resolved.

Specified by:
resolveDeclaration in interface RuleConditionElement
Returns:


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