Drools Workbench - Data Model API 6.2.1-SNAPSHOT

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

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

public class ActionSetField
extends ActionFieldList

For setting a field on a bound LHS variable or a global. If setting a field on a fact bound variable, this will NOT notify the engine of any changes (unless done outside of the engine).


Constructor Summary
ActionSetField()
           
ActionSetField(String var)
           
 
Method Summary
 boolean equals(Object o)
           
 String getVariable()
           
 int hashCode()
           
 void setVariable(String variable)
           
 
Methods inherited from class org.drools.workbench.models.datamodel.rule.ActionFieldList
addFieldValue, getFieldValues, removeField, setFieldValues
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionSetField

public ActionSetField(String var)

ActionSetField

public ActionSetField()
Method Detail

getVariable

public String getVariable()

setVariable

public void setVariable(String variable)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class ActionFieldList

Drools Workbench - Data Model API 6.2.1-SNAPSHOT

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