Drools Workbench - Guided Decision Table Model 6.2.0.Beta3

org.drools.workbench.models.guided.dtable.shared.model
Class MetadataCol52

java.lang.Object
  extended by org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52
      extended by 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
static String FIELD_METADATA
          Available 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
MetadataCol52()
           
 
Method Summary
 MetadataCol52 cloneColumn()
          Clones this metadata column instance.
 List<BaseColumnFieldDiff> diff(BaseColumn otherColumn)
          Analyze differences between two columns of same type.
 String getMetadata()
           
 void setMetadata(String metadata)
           
 
Methods inherited from class org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52
extractDefaultValue, getDefaultValue, getHeader, getWidth, isEqualOrNull, isHideColumn, setDefaultValue, setHeader, setHideColumn, setWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_METADATA

public static final String FIELD_METADATA
Available fields for this type of column.

See Also:
Constant Field Values
Constructor Detail

MetadataCol52

public MetadataCol52()
Method Detail

getMetadata

public String getMetadata()

setMetadata

public void setMetadata(String metadata)

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 DTColumnConfig52
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.

Drools Workbench - Guided Decision Table Model 6.2.0.Beta3

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