Drools Workbench - Guided Decision Table Model 6.2.0.Beta3

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

java.lang.Object
  extended by org.drools.workbench.models.guided.dtable.shared.model.Pattern52
All Implemented Interfaces:
HasCEPWindow, BaseColumn, CompositeColumn<ConditionCol52>, DiffColumn
Direct Known Subclasses:
ActionInsertFactFieldsPattern, FactPatternPattern52Adaptor

public class Pattern52
extends Object
implements CompositeColumn<ConditionCol52>, HasCEPWindow, DiffColumn

A Fact Pattern to which column definitions can be added


Field Summary
static String FIELD_BOUND_NAME
           
static String FIELD_ENTRY_POINT_NAME
           
static String FIELD_FACT_TYPE
          Available fields for this type of column.
static String FIELD_IS_NEGATED
           
static String FIELD_WINDOW
           
 
Constructor Summary
Pattern52()
           
 
Method Summary
 Pattern52 clonePattern()
          Clones this pattern instance.
 List<BaseColumnFieldDiff> diff(BaseColumn otherColumn)
          Analyze differences between two columns of same type.
 String getBoundName()
           
 List<ConditionCol52> getChildColumns()
           
 DTCellValue52 getDefaultValue()
           
 String getEntryPointName()
           
 String getFactType()
           
 String getHeader()
           
 int getWidth()
           
 CEPWindow getWindow()
           
 boolean isBound()
           
 boolean isHideColumn()
           
 boolean isNegated()
           
 void setBoundName(String boundName)
           
 void setChildColumns(List<ConditionCol52> conditions)
           
 void setDefaultValue(DTCellValue52 defaultValue)
           
 void setEntryPointName(String entryPointName)
           
 void setFactType(String factType)
           
 void setHeader(String header)
           
 void setHideColumn(boolean hideColumn)
           
 void setNegated(boolean negated)
           
 void setWidth(int width)
           
 void setWindow(CEPWindow window)
           
 void update(Pattern52 other)
          Update this pattern instance properties with the given ones from other pattern instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_FACT_TYPE

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

See Also:
Constant Field Values

FIELD_BOUND_NAME

public static final String FIELD_BOUND_NAME
See Also:
Constant Field Values

FIELD_IS_NEGATED

public static final String FIELD_IS_NEGATED
See Also:
Constant Field Values

FIELD_WINDOW

public static final String FIELD_WINDOW
See Also:
Constant Field Values

FIELD_ENTRY_POINT_NAME

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

Pattern52

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

clonePattern

public Pattern52 clonePattern()
Clones this pattern instance.

Returns:
The cloned instance.

update

public void update(Pattern52 other)
Update this pattern instance properties with the given ones from other pattern instance.

Parameters:
other - The pattern to obtain the properties to set.

getFactType

public String getFactType()

setFactType

public void setFactType(String factType)

getBoundName

public String getBoundName()

isBound

public boolean isBound()

setBoundName

public void setBoundName(String boundName)

isNegated

public boolean isNegated()

setNegated

public void setNegated(boolean negated)

getChildColumns

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

setChildColumns

public void setChildColumns(List<ConditionCol52> conditions)
Specified by:
setChildColumns in interface CompositeColumn<ConditionCol52>

setWindow

public void setWindow(CEPWindow window)
Specified by:
setWindow in interface HasCEPWindow

getWindow

public CEPWindow getWindow()
Specified by:
getWindow in interface HasCEPWindow

getEntryPointName

public String getEntryPointName()

setEntryPointName

public void setEntryPointName(String entryPointName)

getHeader

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

setHeader

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

isHideColumn

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

setHideColumn

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

getWidth

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

setWidth

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

getDefaultValue

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

setDefaultValue

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

Drools Workbench - Guided Decision Table Model 6.2.0.Beta3

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