Drools Workbench - Data Model API 6.2.0.CR4

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

java.lang.Object
  extended by org.drools.workbench.models.datamodel.rule.ActionFieldList
      extended by org.drools.workbench.models.datamodel.rule.ActionSetField
          extended by org.drools.workbench.models.datamodel.rule.ActionCallMethod
All Implemented Interfaces:
IAction

public class ActionCallMethod
extends ActionSetField

For modifying a field on a bound LHS variable or a global. Modify here means that users can call methods that modify the object. If setting a field on a fact bound variable, this will NOT notify the engine of any changes (unless done outside of the engine).


Field Summary
static int TYPE_DEFINED
          The function has been choosen
static int TYPE_UNDEFINED
           
 
Constructor Summary
ActionCallMethod()
           
ActionCallMethod(String itemText)
           
 
Method Summary
 void addFieldValue(ActionFieldValue val)
           
 boolean equals(Object o)
           
 ActionFieldFunction getFieldValue(int i)
           
 String getMethodName()
           
 int getState()
           
 int hashCode()
           
 void setMethodName(String methodName)
           
 void setState(int state)
           
 
Methods inherited from class org.drools.workbench.models.datamodel.rule.ActionSetField
getVariable, setVariable
 
Methods inherited from class org.drools.workbench.models.datamodel.rule.ActionFieldList
getFieldValues, removeField, setFieldValues
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_UNDEFINED

public static final int TYPE_UNDEFINED
See Also:
Constant Field Values

TYPE_DEFINED

public static final int TYPE_DEFINED
The function has been choosen

See Also:
Constant Field Values
Constructor Detail

ActionCallMethod

public ActionCallMethod(String itemText)

ActionCallMethod

public ActionCallMethod()
Method Detail

getState

public int getState()

getMethodName

public String getMethodName()

setState

public void setState(int state)

setMethodName

public void setMethodName(String methodName)

getFieldValue

public ActionFieldFunction getFieldValue(int i)

addFieldValue

public void addFieldValue(ActionFieldValue val)
Overrides:
addFieldValue in class ActionFieldList

equals

public boolean equals(Object o)
Overrides:
equals in class ActionSetField

hashCode

public int hashCode()
Overrides:
hashCode in class ActionSetField

Drools Workbench - Data Model API 6.2.0.CR4

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