Drools Workbench - Guided Decision Table Model 6.2.0.CR1

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

java.lang.Object
  extended by org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52
All Implemented Interfaces:
BaseColumn, DiffColumn
Direct Known Subclasses:
ActionCol52, AnalysisCol52, AttributeCol52, ConditionCol52, DescriptionCol52, MetadataCol52, RowNumberCol52

public class DTColumnConfig52
extends Object
implements BaseColumn, DiffColumn


Field Summary
 String defaultValue
           
static String FIELD_DEFAULT_VALUE
          Available fields for this type of column.
static String FIELD_HEADER
           
static String FIELD_HIDE_COLUMN
           
static String FIELD_WIDTH
           
 
Constructor Summary
DTColumnConfig52()
           
 
Method Summary
 List<BaseColumnFieldDiff> diff(BaseColumn otherColumn)
          Analyze differences between two columns of same type.
protected  Object extractDefaultValue(DTCellValue52 dcv)
           
 DTCellValue52 getDefaultValue()
           
 String getHeader()
           
 int getWidth()
           
static boolean isEqualOrNull(Object s1, Object s2)
           
 boolean isHideColumn()
           
 void setDefaultValue(DTCellValue52 defaultValue)
           
 void setHeader(String header)
           
 void setHideColumn(boolean hideColumn)
           
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_DEFAULT_VALUE

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

See Also:
Constant Field Values

FIELD_HIDE_COLUMN

public static final String FIELD_HIDE_COLUMN
See Also:
Constant Field Values

FIELD_WIDTH

public static final String FIELD_WIDTH
See Also:
Constant Field Values

FIELD_HEADER

public static final String FIELD_HEADER
See Also:
Constant Field Values

defaultValue

public String defaultValue
Constructor Detail

DTColumnConfig52

public DTColumnConfig52()
Method Detail

getDefaultValue

public DTCellValue52 getDefaultValue()
Specified by:
getDefaultValue in interface BaseColumn

getWidth

public int getWidth()
Specified by:
getWidth in interface BaseColumn

isHideColumn

public boolean isHideColumn()
Specified by:
isHideColumn in interface BaseColumn

setDefaultValue

public void setDefaultValue(DTCellValue52 defaultValue)
Specified by:
setDefaultValue in interface BaseColumn

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
Parameters:
otherColumn - The column to compare with this one.
Returns:
A list of fields and its values that have changed.

extractDefaultValue

protected Object extractDefaultValue(DTCellValue52 dcv)

isEqualOrNull

public static boolean isEqualOrNull(Object s1,
                                    Object s2)

setHideColumn

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

setWidth

public void setWidth(int width)
Specified by:
setWidth in interface BaseColumn

setHeader

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

getHeader

public String getHeader()
Specified by:
getHeader in interface BaseColumn

Drools Workbench - Guided Decision Table Model 6.2.0.CR1

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