Drools Workbench - Guided Decision Table Model 6.2.0.CR1

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

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.BRLActionVariableColumn
All Implemented Interfaces:
BaseColumn, BRLVariableColumn, DiffColumn

public class BRLActionVariableColumn
extends ActionCol52
implements BRLVariableColumn

A column representing a single BRL fragment variable


Field Summary
static String FIELD_FACT_FIELD
           
static String FIELD_FACT_TYPE
           
static String FIELD_FIELD_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.DTColumnConfig52
defaultValue, FIELD_DEFAULT_VALUE, FIELD_HEADER, FIELD_HIDE_COLUMN, FIELD_WIDTH
 
Constructor Summary
BRLActionVariableColumn()
           
BRLActionVariableColumn(String varName, String fieldType)
           
BRLActionVariableColumn(String varName, String fieldType, String factType, String factField)
           
 
Method Summary
 List<BaseColumnFieldDiff> diff(BaseColumn otherColumn)
          Analyze differences between two columns of same type.
 String getFactField()
           
 String getFactType()
           
 String getFieldType()
           
 String getVarName()
           
 
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_VAR_NAME

public static final String FIELD_VAR_NAME
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_FACT_TYPE

public static final String FIELD_FACT_TYPE
See Also:
Constant Field Values

FIELD_FACT_FIELD

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

BRLActionVariableColumn

public BRLActionVariableColumn()

BRLActionVariableColumn

public BRLActionVariableColumn(String varName,
                               String fieldType)

BRLActionVariableColumn

public BRLActionVariableColumn(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 DTColumnConfig52
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

getFieldType

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

getFactType

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

getFactField

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

Drools Workbench - Guided Decision Table Model 6.2.0.CR1

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