Class BRLConditionVariableColumn
- 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.BRLConditionVariableColumn
-
- 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,BRLVariableColumn,DiffColumn
public class BRLConditionVariableColumn extends ConditionCol52 implements BRLVariableColumn
A column representing a single BRL fragment variable
-
-
Field Summary
Fields Modifier and Type Field Description static StringFIELD_FACT_TYPEstatic StringFIELD_VAR_NAMEAvailable 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 BRLConditionVariableColumn()BRLConditionVariableColumn(String varName, String fieldType)BRLConditionVariableColumn(String varName, String fieldType, String factType, String factField)BRLConditionVariableColumn(String varName, String fieldType, String factType, String factField, String operator)
-
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)StringgetFactType()StringgetVarName()inthashCode()-
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, setHideColumn, 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.BRLVariableColumn
getFactField, getFieldType
-
-
-
-
Field Detail
-
FIELD_VAR_NAME
public static final String FIELD_VAR_NAME
Available fields for this type of column.- See Also:
- Constant Field Values
-
FIELD_FACT_TYPE
public static final String FIELD_FACT_TYPE
- 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.
-
getVarName
public String getVarName()
- Specified by:
getVarNamein interfaceBRLVariableColumn
-
getFactType
public String getFactType()
- Specified by:
getFactTypein interfaceBRLVariableColumn
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classConditionCol52
-
hashCode
public int hashCode()
- Overrides:
hashCodein classConditionCol52
-
-