Class MetadataCol52
- java.lang.Object
-
- org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52
-
- org.drools.workbench.models.guided.dtable.shared.model.MetadataCol52
-
- All Implemented Interfaces:
BaseColumn,DiffColumn
public class MetadataCol52 extends DTColumnConfig52
This is a rule metadata - eg @foo(bar) etc.
-
-
Field Summary
Fields Modifier and Type Field Description static StringFIELD_METADATAAvailable fields for this type of column.-
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 MetadataCol52()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataCol52cloneColumn()Clones this metadata column instance.List<BaseColumnFieldDiff>diff(BaseColumn otherColumn)Analyze differences between two columns of same type.booleanequals(Object o)StringgetMetadata()inthashCode()voidsetMetadata(String metadata)-
Methods inherited from class org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52
cloneCommonColumnConfigFrom, extractDefaultValue, getDefaultValue, getHeader, getWidth, isEqualOrNull, isHideColumn, setDefaultValue, setHeader, setHideColumn, setWidth
-
-
-
-
Field Detail
-
FIELD_METADATA
public static final String FIELD_METADATA
Available fields for this type of column.- See Also:
- Constant Field Values
-
-
Method Detail
-
getMetadata
public String getMetadata()
-
setMetadata
public void setMetadata(String metadata)
-
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 classDTColumnConfig52- Parameters:
otherColumn- The column to compare with this one.- Returns:
- A list of fields and its values that have changed.
-
cloneColumn
public MetadataCol52 cloneColumn()
Clones this metadata column instance.- Returns:
- The cloned instance.
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classDTColumnConfig52
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDTColumnConfig52
-
-