Class BRLConditionColumn
- java.lang.Object
-
- org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52
-
- org.drools.workbench.models.guided.dtable.shared.model.ConditionCol52
-
- org.drools.workbench.models.guided.dtable.shared.model.BRLConditionColumn
-
- All Implemented Interfaces:
org.drools.workbench.models.datamodel.rule.HasOperator,org.drools.workbench.models.datamodel.rule.HasParameterizedOperator,org.drools.workbench.models.datamodel.workitems.HasBinding,BaseColumn,BRLColumn<org.drools.workbench.models.datamodel.rule.IPattern,BRLConditionVariableColumn>,CompositeColumn<BRLConditionVariableColumn>,DiffColumn
- Direct Known Subclasses:
LimitedEntryBRLConditionColumn
public class BRLConditionColumn extends ConditionCol52 implements BRLColumn<org.drools.workbench.models.datamodel.rule.IPattern,BRLConditionVariableColumn>
A Condition column defined with a BRL fragment
-
-
Field Summary
Fields Modifier and Type Field Description static StringFIELD_CHILD_COLUMNSstatic StringFIELD_DEFINITIONAvailable fields for this type of column.-
Fields inherited from class org.drools.workbench.models.guided.dtable.shared.model.ConditionCol52
FIELD_BINDING, FIELD_CONSTRAINT_VALUE_TYPE, FIELD_FACT_FIELD, FIELD_FIELD_TYPE, FIELD_OPERATOR, FIELD_VALUE_LIST
-
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
Constructors Constructor Description BRLConditionColumn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BaseColumnFieldDiff>diff(BaseColumn otherColumn)Analyze differences between two columns of same type.booleanequals(Object o)List<BRLConditionVariableColumn>getChildColumns()List<org.drools.workbench.models.datamodel.rule.IPattern>getDefinition()inthashCode()voidsetChildColumns(List<BRLConditionVariableColumn> childColumns)voidsetDefinition(List<org.drools.workbench.models.datamodel.rule.IPattern> definition)voidsetHideColumn(boolean hideColumn)-
Methods inherited from class org.drools.workbench.models.guided.dtable.shared.model.ConditionCol52
clearParameters, conditionCol52SpecificDiff, deleteParameter, getBinding, getConstraintValueType, getFactField, getFieldType, getOperator, getParameter, getParameters, getValueList, isBound, setBinding, setConstraintValueType, setFactField, setFieldType, setOperator, setParameter, setParameters, setValueList
-
Methods inherited from class org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52
cloneCommonColumnConfigFrom, extractDefaultValue, getDefaultValue, getHeader, getWidth, isEqualOrNull, isHideColumn, setDefaultValue, setHeader, setWidth
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.drools.workbench.models.guided.dtable.shared.model.BaseColumn
getDefaultValue, getHeader, getWidth, isHideColumn, setDefaultValue, setHeader, setWidth
-
-
-
-
Field Detail
-
FIELD_DEFINITION
public static final String FIELD_DEFINITION
Available fields for this type of column.- See Also:
- Constant Field Values
-
FIELD_CHILD_COLUMNS
public static final String FIELD_CHILD_COLUMNS
- 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- Overrides:
diffin classConditionCol52- Parameters:
otherColumn- The column to compare with this one.- Returns:
- A list of fields and its values that have changed.
-
getDefinition
public List<org.drools.workbench.models.datamodel.rule.IPattern> getDefinition()
- Specified by:
getDefinitionin interfaceBRLColumn<org.drools.workbench.models.datamodel.rule.IPattern,BRLConditionVariableColumn>
-
setDefinition
public void setDefinition(List<org.drools.workbench.models.datamodel.rule.IPattern> definition)
- Specified by:
setDefinitionin interfaceBRLColumn<org.drools.workbench.models.datamodel.rule.IPattern,BRLConditionVariableColumn>
-
getChildColumns
public List<BRLConditionVariableColumn> getChildColumns()
- Specified by:
getChildColumnsin interfaceCompositeColumn<BRLConditionVariableColumn>
-
setChildColumns
public void setChildColumns(List<BRLConditionVariableColumn> childColumns)
- Specified by:
setChildColumnsin interfaceCompositeColumn<BRLConditionVariableColumn>
-
setHideColumn
public void setHideColumn(boolean hideColumn)
- Specified by:
setHideColumnin interfaceBaseColumn- Overrides:
setHideColumnin classDTColumnConfig52
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classConditionCol52
-
hashCode
public int hashCode()
- Overrides:
hashCodein classConditionCol52
-
-