Drools Workbench - Guided Decision Table Model 6.2.0.Beta3

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

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
          extended by org.drools.workbench.models.guided.dtable.shared.model.BRLConditionVariableColumn
All Implemented Interfaces:
HasOperator, HasParameterizedOperator, HasBinding, BaseColumn, BRLVariableColumn, DiffColumn

public class BRLConditionVariableColumn
extends ConditionCol52
implements BRLVariableColumn

A column representing a single BRL fragment variable


Field Summary
static String FIELD_FACT_TYPE
           
static String FIELD_VAR_NAME
          Available fields for this type of column.
 
Fields inherited from class org.drools.workbench.models.guided.dtable.shared.model.ConditionCol52
FIELD_BINDING, FIELD_CONSTRAINT_VALUE_TYPE, FIELD_FACT_FIELD, FIELD_FIELD_TYPE, FIELD_OPERATOR, 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
BRLConditionVariableColumn()
           
BRLConditionVariableColumn(String varName, String fieldType)
           
BRLConditionVariableColumn(String varName, String fieldType, String factType, String factField)
           
 
Method Summary
 List<BaseColumnFieldDiff> diff(BaseColumn otherColumn)
          Analyze differences between two columns of same type.
 String getFactType()
           
 String getVarName()
           
 
Methods inherited from class org.drools.workbench.models.guided.dtable.shared.model.ConditionCol52
clearParameters, deleteParameter, getBinding, getConstraintValueType, getFactField, getFieldType, getOperator, getParameter, getParameters, getValueList, isBound, setBinding, setConstraintValueType, setFactField, setFieldType, setOperator, setParameter, setParameters, setValueList
 
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
 
Methods inherited from interface org.drools.workbench.models.guided.dtable.shared.model.BRLVariableColumn
getFactField, getFieldType
 

Field Detail

FIELD_VAR_NAME

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

See Also:
Constant Field Values

FIELD_FACT_TYPE

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

BRLConditionVariableColumn

public BRLConditionVariableColumn()

BRLConditionVariableColumn

public BRLConditionVariableColumn(String varName,
                                  String fieldType)

BRLConditionVariableColumn

public BRLConditionVariableColumn(String varName,
                                  String fieldType,
                                  String factType,
                                  String factField)
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 ConditionCol52
Parameters:
otherColumn - The column to compare with this one.
Returns:
A list of fields and its values that have changed.

getVarName

public String getVarName()
Specified by:
getVarName in interface BRLVariableColumn

getFactType

public String getFactType()
Specified by:
getFactType in interface BRLVariableColumn

Drools Workbench - Guided Decision Table Model 6.2.0.Beta3

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