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

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


org.drools.lang.descr
Class PackageDescr

java.lang.Object
  extended by org.drools.lang.descr.BaseDescr
      extended by org.drools.lang.descr.PackageDescr
All Implemented Interfaces:
Serializable

public class PackageDescr
extends BaseDescr

See Also:
Serialized Form

Constructor Summary
PackageDescr(String name)
           
PackageDescr(String name, String documentation)
           
 
Method Summary
 void addAttribute(AttributeDescr attribute)
           
 void addFactTemplate(FactTemplateDescr factTemplate)
           
 void addFunction(FunctionDescr function)
           
 void addFunctionImport(FunctionImportDescr importFunction)
           
 void addGlobal(GlobalDescr global)
           
 void addImport(ImportDescr importEntry)
           
 void addRule(RuleDescr rule)
           
 List getAttributes()
           
 String getDocumentation()
           
 List getFactTemplates()
           
 List getFunctionImports()
           
 List getFunctions()
           
 List getGlobals()
           
 List getImports()
           
 String getName()
           
 List getRules()
           
 
Methods inherited from class org.drools.lang.descr.BaseDescr
getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getStartCharacter, setEndCharacter, setEndLocation, setLocation, setStartCharacter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageDescr

public PackageDescr(String name)

PackageDescr

public PackageDescr(String name,
                    String documentation)
Method Detail

getName

public String getName()

getDocumentation

public String getDocumentation()

addImport

public void addImport(ImportDescr importEntry)

getImports

public List getImports()

addFunctionImport

public void addFunctionImport(FunctionImportDescr importFunction)

getFunctionImports

public List getFunctionImports()

addGlobal

public void addGlobal(GlobalDescr global)

getGlobals

public List getGlobals()

addAttribute

public void addAttribute(AttributeDescr attribute)

getAttributes

public List getAttributes()

addFactTemplate

public void addFactTemplate(FactTemplateDescr factTemplate)

getFactTemplates

public List getFactTemplates()

addFunction

public void addFunction(FunctionDescr function)

getFunctions

public List getFunctions()

addRule

public void addRule(RuleDescr rule)

getRules

public List getRules()


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