Class ExpressionMethod
- java.lang.Object
-
- org.drools.workbench.models.datamodel.rule.ExpressionPart
-
- 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
Constructors Constructor Description ExpressionMethod()ExpressionMethod(String methodName, String returnClassType, String returnGenericType)ExpressionMethod(String name, String classType, String genericType, String parametricType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ExpressionVisitor visitor)booleanequals(Object o)List<ExpressionFormLine>getOrderedParams()StringgetParameterDataType(ExpressionFormLine efl)Map<ExpressionMethodParameterDefinition,ExpressionFormLine>getParams()inthashCode()voidputParam(String name, ExpressionFormLine expression)voidsetParams(Map<ExpressionMethodParameterDefinition,ExpressionFormLine> params)-
Methods inherited from class org.drools.workbench.models.datamodel.rule.ExpressionPart
getClassType, getGenericType, getName, getNext, getParametricType, getPrevious, setNext, setPrevious, toString
-
-
-
-
Method Detail
-
getParams
public Map<ExpressionMethodParameterDefinition,ExpressionFormLine> getParams()
-
setParams
public void setParams(Map<ExpressionMethodParameterDefinition,ExpressionFormLine> params)
-
putParam
public void putParam(String name, ExpressionFormLine expression)
-
getOrderedParams
public List<ExpressionFormLine> getOrderedParams()
-
getParameterDataType
public String getParameterDataType(ExpressionFormLine efl)
-
accept
public void accept(ExpressionVisitor visitor)
- Specified by:
acceptin interfaceExpressionVisitable- Overrides:
acceptin classExpressionPart
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classExpressionPart
-
hashCode
public int hashCode()
- Overrides:
hashCodein classExpressionPart
-
-