Class Pattern52
- java.lang.Object
-
- org.drools.workbench.models.guided.dtable.shared.model.Pattern52
-
- All Implemented Interfaces:
org.drools.workbench.models.datamodel.rule.HasCEPWindow,BaseColumn,CompositeColumn<ConditionCol52>,DiffColumn
- Direct Known Subclasses:
ActionInsertFactFieldsPattern,FactPatternPattern52Adaptor
public class Pattern52 extends Object implements CompositeColumn<ConditionCol52>, org.drools.workbench.models.datamodel.rule.HasCEPWindow, DiffColumn
A Fact Pattern to which column definitions can be added
-
-
Field Summary
Fields Modifier and Type Field Description static StringFIELD_BOUND_NAMEstatic StringFIELD_ENTRY_POINT_NAMEstatic StringFIELD_FACT_TYPEAvailable fields for this type of column.static StringFIELD_IS_NEGATEDstatic StringFIELD_WINDOW
-
Constructor Summary
Constructors Constructor Description Pattern52()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pattern52clonePattern()Clones this pattern instance.List<BaseColumnFieldDiff>diff(BaseColumn otherColumn)Analyze differences between two columns of same type.booleanequals(Object o)StringgetBoundName()List<ConditionCol52>getChildColumns()DTCellValue52getDefaultValue()StringgetEntryPointName()StringgetFactType()StringgetHeader()intgetWidth()org.drools.workbench.models.datamodel.rule.CEPWindowgetWindow()inthashCode()booleanisBound()booleanisHideColumn()booleanisNegated()voidsetBoundName(String boundName)voidsetChildColumns(List<ConditionCol52> conditions)voidsetDefaultValue(DTCellValue52 defaultValue)voidsetEntryPointName(String entryPointName)voidsetFactType(String factType)voidsetHeader(String header)voidsetHideColumn(boolean hideColumn)voidsetNegated(boolean negated)voidsetWidth(int width)voidsetWindow(org.drools.workbench.models.datamodel.rule.CEPWindow window)voidupdate(Pattern52 other)Update this pattern instance properties with the given ones from other pattern instance.
-
-
-
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
-
-
Method Detail
-
diff
public List<BaseColumnFieldDiff> diff(BaseColumn otherColumn)
Description copied from interface:DiffColumnAnalyze differences between two columns of same type.- Specified by:
diffin interfaceDiffColumn- 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:
getChildColumnsin interfaceCompositeColumn<ConditionCol52>
-
setChildColumns
public void setChildColumns(List<ConditionCol52> conditions)
- Specified by:
setChildColumnsin interfaceCompositeColumn<ConditionCol52>
-
setWindow
public void setWindow(org.drools.workbench.models.datamodel.rule.CEPWindow window)
- Specified by:
setWindowin interfaceorg.drools.workbench.models.datamodel.rule.HasCEPWindow
-
getWindow
public org.drools.workbench.models.datamodel.rule.CEPWindow getWindow()
- Specified by:
getWindowin interfaceorg.drools.workbench.models.datamodel.rule.HasCEPWindow
-
getEntryPointName
public String getEntryPointName()
-
setEntryPointName
public void setEntryPointName(String entryPointName)
-
getHeader
public String getHeader()
- Specified by:
getHeaderin interfaceBaseColumn
-
setHeader
public void setHeader(String header)
- Specified by:
setHeaderin interfaceBaseColumn
-
isHideColumn
public boolean isHideColumn()
- Specified by:
isHideColumnin interfaceBaseColumn
-
setHideColumn
public void setHideColumn(boolean hideColumn)
- Specified by:
setHideColumnin interfaceBaseColumn
-
getWidth
public int getWidth()
- Specified by:
getWidthin interfaceBaseColumn
-
setWidth
public void setWidth(int width)
- Specified by:
setWidthin interfaceBaseColumn
-
getDefaultValue
public DTCellValue52 getDefaultValue()
- Specified by:
getDefaultValuein interfaceBaseColumn
-
setDefaultValue
public void setDefaultValue(DTCellValue52 defaultValue)
- Specified by:
setDefaultValuein interfaceBaseColumn
-
-