Drools Workbench - Guided Decision Table Model 6.2.0.Beta3

org.drools.workbench.models.guided.dtable.shared.model.adaptors
Class FactPatternPattern52Adaptor

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

public class FactPatternPattern52Adaptor
extends Pattern52

Adaptor to use RuleModel class in GuidedDecisionTable


Field Summary
 
Fields inherited from class org.drools.workbench.models.guided.dtable.shared.model.Pattern52
FIELD_BOUND_NAME, FIELD_ENTRY_POINT_NAME, FIELD_FACT_TYPE, FIELD_IS_NEGATED, FIELD_WINDOW
 
Constructor Summary
FactPatternPattern52Adaptor()
           
FactPatternPattern52Adaptor(IFactPattern fp)
           
 
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
 

Constructor Detail

FactPatternPattern52Adaptor

public FactPatternPattern52Adaptor()

FactPatternPattern52Adaptor

public FactPatternPattern52Adaptor(IFactPattern fp)
Method Detail

getFactType

public String getFactType()
Overrides:
getFactType in class Pattern52

getBoundName

public String getBoundName()
Overrides:
getBoundName in class Pattern52

isBound

public boolean isBound()
Overrides:
isBound in class Pattern52

isNegated

public boolean isNegated()
Overrides:
isNegated in class Pattern52

getWindow

public CEPWindow getWindow()
Specified by:
getWindow in interface HasCEPWindow
Overrides:
getWindow in class Pattern52

getEntryPointName

public String getEntryPointName()
Overrides:
getEntryPointName in class Pattern52

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

clonePattern

public Pattern52 clonePattern()
Description copied from class: Pattern52
Clones this pattern instance.

Overrides:
clonePattern in class Pattern52
Returns:
The cloned instance.

update

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

Overrides:
update in class Pattern52
Parameters:
other - The pattern to obtain the properties to set.

setFactType

public void setFactType(String factType)
Overrides:
setFactType in class Pattern52

setBoundName

public void setBoundName(String boundName)
Overrides:
setBoundName in class Pattern52

setNegated

public void setNegated(boolean negated)
Overrides:
setNegated in class Pattern52

getChildColumns

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

setChildColumns

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

setWindow

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

setEntryPointName

public void setEntryPointName(String entryPointName)
Overrides:
setEntryPointName in class Pattern52

getHeader

public String getHeader()
Specified by:
getHeader in interface BaseColumn
Overrides:
getHeader in class Pattern52

setHeader

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

isHideColumn

public boolean isHideColumn()
Specified by:
isHideColumn in interface BaseColumn
Overrides:
isHideColumn in class Pattern52

setHideColumn

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

getWidth

public int getWidth()
Specified by:
getWidth in interface BaseColumn
Overrides:
getWidth in class Pattern52

setWidth

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

getDefaultValue

public DTCellValue52 getDefaultValue()
Specified by:
getDefaultValue in interface BaseColumn
Overrides:
getDefaultValue in class Pattern52

setDefaultValue

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

Drools Workbench - Guided Decision Table Model 6.2.0.Beta3

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