org.drools.ide.common.client.modeldriven.brl
Class ExpressionMethod

java.lang.Object
  extended by org.drools.ide.common.client.modeldriven.brl.ExpressionPart
      extended by org.drools.ide.common.client.modeldriven.brl.ExpressionMethod
All Implemented Interfaces:
Serializable, ExpressionVisitable, IAction, IPattern, PortableObject
Direct Known Subclasses:
ExpressionCollectionIndex

public class ExpressionMethod
extends ExpressionPart

See Also:
Serialized Form

Constructor Summary
protected 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.ide.common.client.modeldriven.brl.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

protected 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


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