Drools Workbench - Guided Decision Table Model 6.2.0.CR1

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

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.BRLConditionColumn
All Implemented Interfaces:
HasOperator, HasParameterizedOperator, HasBinding, BaseColumn, BRLColumn<IPattern,BRLConditionVariableColumn>, CompositeColumn<BRLConditionVariableColumn>, DiffColumn
Direct Known Subclasses:
LimitedEntryBRLConditionColumn

public class BRLConditionColumn
extends ConditionCol52
implements BRLColumn<IPattern,BRLConditionVariableColumn>

A Condition column defined with a BRL fragment


Field Summary
static String FIELD_CHILD_COLUMNS
           
static String FIELD_DEFINITION
          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
BRLConditionColumn()
           
 
Method Summary
 List<BaseColumnFieldDiff> diff(BaseColumn otherColumn)
          Analyze differences between two columns of same type.
 List<BRLConditionVariableColumn> getChildColumns()
           
 List<IPattern> getDefinition()
           
 void setChildColumns(List<BRLConditionVariableColumn> childColumns)
           
 void setDefinition(List<IPattern> definition)
           
 void setHeader(String header)
           
 void setHideColumn(boolean hideColumn)
           
 
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, 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.BaseColumn
getDefaultValue, getHeader, getWidth, isHideColumn, setDefaultValue, setWidth
 

Field Detail

FIELD_DEFINITION

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

See Also:
Constant Field Values

FIELD_CHILD_COLUMNS

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

BRLConditionColumn

public BRLConditionColumn()
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.

getDefinition

public List<IPattern> getDefinition()
Specified by:
getDefinition in interface BRLColumn<IPattern,BRLConditionVariableColumn>

setDefinition

public void setDefinition(List<IPattern> definition)
Specified by:
setDefinition in interface BRLColumn<IPattern,BRLConditionVariableColumn>

getChildColumns

public List<BRLConditionVariableColumn> getChildColumns()
Specified by:
getChildColumns in interface CompositeColumn<BRLConditionVariableColumn>

setChildColumns

public void setChildColumns(List<BRLConditionVariableColumn> childColumns)
Specified by:
setChildColumns in interface CompositeColumn<BRLConditionVariableColumn>

setHeader

public void setHeader(String header)
Specified by:
setHeader in interface BaseColumn
Overrides:
setHeader in class DTColumnConfig52

setHideColumn

public void setHideColumn(boolean hideColumn)
Specified by:
setHideColumn in interface BaseColumn
Overrides:
setHideColumn in class DTColumnConfig52

Drools Workbench - Guided Decision Table Model 6.2.0.CR1

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