Class ActionFieldValue
- java.lang.Object
-
- org.drools.workbench.models.datamodel.rule.ActionFieldValue
-
- All Implemented Interfaces:
FieldNature
- Direct Known Subclasses:
ActionFieldFunction,ActionWorkItemFieldValue
public class ActionFieldValue extends Object implements FieldNature
Holds field and value for "action" parts of the rule.
-
-
Constructor Summary
Constructors Constructor Description ActionFieldValue()ActionFieldValue(String field, String value, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetField()intgetNature()StringgetType()StringgetValue()inthashCode()booleanisFormula()This will return true if the value is really a "formula" - in the sense of like an excel spreadsheet.voidsetField(String field)voidsetNature(int nature)voidsetType(String type)voidsetValue(String value)
-
-
-
Method Detail
-
isFormula
public boolean isFormula()
Description copied from interface:FieldNatureThis will return true if the value is really a "formula" - in the sense of like an excel spreadsheet. If it IS a formula, then the value should never be turned into a string, always left as-is.- Specified by:
isFormulain interfaceFieldNature
-
getField
public String getField()
- Specified by:
getFieldin interfaceFieldNature
-
setField
public void setField(String field)
- Specified by:
setFieldin interfaceFieldNature
-
getValue
public String getValue()
- Specified by:
getValuein interfaceFieldNature
-
setValue
public void setValue(String value)
- Specified by:
setValuein interfaceFieldNature
-
getNature
public int getNature()
- Specified by:
getNaturein interfaceFieldNature
-
setNature
public void setNature(int nature)
- Specified by:
setNaturein interfaceFieldNature
-
getType
public String getType()
- Specified by:
getTypein interfaceFieldNature
-
setType
public void setType(String type)
- Specified by:
setTypein interfaceFieldNature
-
-