Class DSLSentence
- java.lang.Object
-
- org.drools.workbench.models.datamodel.rule.DSLSentence
-
-
Field Summary
Fields Modifier and Type Field Description static StringBOOLEAN_TAGstatic StringCUSTOM_FORM_TAGstatic StringDATE_TAGstatic StringENUM_TAG
-
Constructor Summary
Constructors Constructor Description DSLSentence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DSLSentencecopy()This is used by the GUI when adding a sentence to LHS or RHS.booleanequals(Object o)StringgetDefinition()StringgetDrl()Map<String,String>getEnumFieldValueMap()List<DSLVariableValue>getValues()inthashCode()Stringinterpolate()This will strip off any "{" stuff, substituting values accordinglyvoidsetDefinition(String definition)voidsetDrl(String drl)StringtoString()This will strip off any residual "{" stuff...
-
-
-
Field Detail
-
ENUM_TAG
public static final String ENUM_TAG
- See Also:
- Constant Field Values
-
DATE_TAG
public static final String DATE_TAG
- See Also:
- Constant Field Values
-
BOOLEAN_TAG
public static final String BOOLEAN_TAG
- See Also:
- Constant Field Values
-
CUSTOM_FORM_TAG
public static final String CUSTOM_FORM_TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
toString
public String toString()
This will strip off any residual "{" stuff...
-
interpolate
public String interpolate()
This will strip off any "{" stuff, substituting values accordingly
-
copy
public DSLSentence copy()
This is used by the GUI when adding a sentence to LHS or RHS.- Returns:
-
getDrl
public String getDrl()
-
setDrl
public void setDrl(String drl)
-
getDefinition
public String getDefinition()
-
setDefinition
public void setDefinition(String definition)
-
getValues
public List<DSLVariableValue> getValues()
-
-