Drools Workbench - Guided Decision Table Model 6.2.0.Beta3

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

java.lang.Object
  extended by org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52
      extended by org.drools.workbench.models.guided.dtable.shared.model.ActionCol52
          extended by org.drools.workbench.models.guided.dtable.shared.model.BRLActionColumn
All Implemented Interfaces:
BaseColumn, BRLColumn<IAction,BRLActionVariableColumn>, CompositeColumn<BRLActionVariableColumn>, DiffColumn
Direct Known Subclasses:
LimitedEntryBRLActionColumn

public class BRLActionColumn
extends ActionCol52
implements BRLColumn<IAction,BRLActionVariableColumn>

An Action 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.DTColumnConfig52
defaultValue, FIELD_DEFAULT_VALUE, FIELD_HEADER, FIELD_HIDE_COLUMN, FIELD_WIDTH
 
Constructor Summary
BRLActionColumn()
           
 
Method Summary
 List<BaseColumnFieldDiff> diff(BaseColumn otherColumn)
          Analyze differences between two columns of same type.
 List<BRLActionVariableColumn> getChildColumns()
           
 List<IAction> getDefinition()
           
 void setChildColumns(List<BRLActionVariableColumn> childColumns)
           
 void setDefinition(List<IAction> definition)
           
 void setHeader(String header)
           
 void setHideColumn(boolean hideColumn)
           
 
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

BRLActionColumn

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

getDefinition

public List<IAction> getDefinition()
Specified by:
getDefinition in interface BRLColumn<IAction,BRLActionVariableColumn>

setDefinition

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

getChildColumns

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

setChildColumns

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

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.Beta3

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