Drools Workbench - Data Model API 6.1.0.CR2

org.drools.workbench.models.datamodel.rule
Class ExpressionMethod

java.lang.Object
  extended by org.drools.workbench.models.datamodel.rule.ExpressionPart
      extended by org.drools.workbench.models.datamodel.rule.ExpressionMethod
All Implemented Interfaces:
ExpressionVisitable, IAction, IPattern
Direct Known Subclasses:
ExpressionCollectionIndex

public class ExpressionMethod
extends ExpressionPart


Field Summary
 
Fields inherited from class org.drools.workbench.models.datamodel.rule.ExpressionPart
name
 
Constructor Summary
ExpressionMethod()
           
ExpressionMethod(String methodName, String returnClassType, String returnGenericType)
           
ExpressionMethod(String name, String classType, String genericType, String parametricType)
           
 
Method Summary
 void accept(ExpressionVisitor visitor)
           
 Map<String,ExpressionFormLine> getParams()
           
protected  String paramsToString()
           
 void putParam(String name, ExpressionFormLine expression)
           
 void setParams(Map<String,ExpressionFormLine> params)
           
 
Methods inherited from class org.drools.workbench.models.datamodel.rule.ExpressionPart
getClassType, getGenericType, getName, getNext, getParametricType, getPrevious, setNext, setPrevious, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpressionMethod

public ExpressionMethod()

ExpressionMethod

public ExpressionMethod(String methodName,
                        String returnClassType,
                        String returnGenericType)

ExpressionMethod

public ExpressionMethod(String name,
                        String classType,
                        String genericType,
                        String parametricType)
Method Detail

getParams

public Map<String,ExpressionFormLine> getParams()

setParams

public void setParams(Map<String,ExpressionFormLine> params)

putParam

public void putParam(String name,
                     ExpressionFormLine expression)

paramsToString

protected String paramsToString()

accept

public void accept(ExpressionVisitor visitor)
Specified by:
accept in interface ExpressionVisitable
Overrides:
accept in class ExpressionPart

Drools Workbench - Data Model API 6.1.0.CR2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.