Drools Workbench - Guided Decision Table Model 6.2.0.CR1

org.drools.workbench.models.guided.dtable.shared.model
Class ConditionCol52

java.lang.Object
  extended by org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52
      extended by org.drools.workbench.models.guided.dtable.shared.model.ConditionCol52
All Implemented Interfaces:
HasOperator, HasParameterizedOperator, HasBinding, BaseColumn, DiffColumn
Direct Known Subclasses:
BRLConditionColumn, BRLConditionVariableColumn, LimitedEntryConditionCol52

public class ConditionCol52
extends DTColumnConfig52
implements HasParameterizedOperator, HasBinding

This is the config for a condition column. Typically many of them have their constraints added.


Field Summary
static String FIELD_BINDING
           
static String FIELD_CONSTRAINT_VALUE_TYPE
           
static String FIELD_FACT_FIELD
          Available fields for this type of column.
static String FIELD_FIELD_TYPE
           
static String FIELD_OPERATOR
           
static String FIELD_VALUE_LIST
           
 
Fields inherited from class org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52
defaultValue, FIELD_DEFAULT_VALUE, FIELD_HEADER, FIELD_HIDE_COLUMN, FIELD_WIDTH
 
Constructor Summary
ConditionCol52()
           
 
Method Summary
 void clearParameters()
           
 void deleteParameter(String key)
           
 List<BaseColumnFieldDiff> diff(BaseColumn otherColumn)
          Analyze differences between two columns of same type.
 String getBinding()
           
 int getConstraintValueType()
           
 String getFactField()
           
 String getFieldType()
           
 String getOperator()
           
 String getParameter(String key)
           
 Map<String,String> getParameters()
           
 String getValueList()
           
 boolean isBound()
           
 void setBinding(String binding)
           
 void setConstraintValueType(int constraintValueType)
           
 void setFactField(String factField)
           
 void setFieldType(String fieldType)
           
 void setOperator(String operator)
           
 void setParameter(String key, String parameter)
           
 void setParameters(Map<String,String> parameters)
           
 void setValueList(String valueList)
           
 
Methods inherited from class org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52
extractDefaultValue, getDefaultValue, getHeader, getWidth, isEqualOrNull, isHideColumn, setDefaultValue, setHeader, setHideColumn, setWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_FACT_FIELD

public static final String FIELD_FACT_FIELD
Available fields for this type of column.

See Also:
Constant Field Values

FIELD_FIELD_TYPE

public static final String FIELD_FIELD_TYPE
See Also:
Constant Field Values

FIELD_OPERATOR

public static final String FIELD_OPERATOR
See Also:
Constant Field Values

FIELD_VALUE_LIST

public static final String FIELD_VALUE_LIST
See Also:
Constant Field Values

FIELD_BINDING

public static final String FIELD_BINDING
See Also:
Constant Field Values

FIELD_CONSTRAINT_VALUE_TYPE

public static final String FIELD_CONSTRAINT_VALUE_TYPE
See Also:
Constant Field Values
Constructor Detail

ConditionCol52

public ConditionCol52()
Method Detail

diff

public List<BaseColumnFieldDiff> diff(BaseColumn otherColumn)
Description copied from interface: DiffColumn
Analyze differences between two columns of same type.

Specified by:
diff in interface DiffColumn
Overrides:
diff in class DTColumnConfig52
Parameters:
otherColumn - The column to compare with this one.
Returns:
A list of fields and its values that have changed.

setConstraintValueType

public void setConstraintValueType(int constraintValueType)

getConstraintValueType

public int getConstraintValueType()

setFactField

public void setFactField(String factField)

getFactField

public String getFactField()

setFieldType

public void setFieldType(String fieldType)

getFieldType

public String getFieldType()

setOperator

public void setOperator(String operator)
Specified by:
setOperator in interface HasOperator

getOperator

public String getOperator()
Specified by:
getOperator in interface HasOperator

setValueList

public void setValueList(String valueList)

getValueList

public String getValueList()

clearParameters

public void clearParameters()
Specified by:
clearParameters in interface HasParameterizedOperator

getParameter

public String getParameter(String key)
Specified by:
getParameter in interface HasParameterizedOperator

setParameter

public void setParameter(String key,
                         String parameter)
Specified by:
setParameter in interface HasParameterizedOperator

deleteParameter

public void deleteParameter(String key)
Specified by:
deleteParameter in interface HasParameterizedOperator

getParameters

public Map<String,String> getParameters()
Specified by:
getParameters in interface HasParameterizedOperator

setParameters

public void setParameters(Map<String,String> parameters)
Specified by:
setParameters in interface HasParameterizedOperator

getBinding

public String getBinding()
Specified by:
getBinding in interface HasBinding

setBinding

public void setBinding(String binding)
Specified by:
setBinding in interface HasBinding

isBound

public boolean isBound()
Specified by:
isBound in interface HasBinding

Drools Workbench - Guided Decision Table Model 6.2.0.CR1

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