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

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


org.drools.lang.descr
Class FunctionDescr

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

public class FunctionDescr
extends BaseDescr

See Also:
Serialized Form

Constructor Summary
FunctionDescr(String name, String returnType)
           
 
Method Summary
 void addParameter(String type, String name)
           
 String getClassName()
           
 String getName()
           
 int getOffset()
           
 List getParameterNames()
           
 List getParameterTypes()
           
 String getReturnType()
           
 String getText()
           
 void setClassName(String className)
           
 void setOffset(int offset)
           
 void setText(String text)
           
 
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

FunctionDescr

public FunctionDescr(String name,
                     String returnType)
Method Detail

getName

public String getName()

getClassName

public String getClassName()

setClassName

public void setClassName(String className)

getParameterNames

public List getParameterNames()

getParameterTypes

public List getParameterTypes()

addParameter

public void addParameter(String type,
                         String name)

getReturnType

public String getReturnType()

setText

public void setText(String text)

getText

public String getText()

getOffset

public int getOffset()

setOffset

public void setOffset(int offset)


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