org.drools.ide.common.client.modeldriven.dt
Class GuidedDecisionTable

java.lang.Object
  extended by org.drools.ide.common.client.modeldriven.dt.GuidedDecisionTable
All Implemented Interfaces:
Serializable, PortableObject

Deprecated.

@Deprecated
public class GuidedDecisionTable
extends Object
implements PortableObject

This is a decision table model for a guided editor. It is not template or XLS based. (template could be done relatively easily by taking a template, as a String, and then String[][] data and driving the SheetListener interface in the decision tables module). This works by taking the column definitions, and combining them with the table of data to produce rule models. This has been deprecated in preference of TypeSafeGuidedDecisionTable which supports type-safe values for the Decision Table cell values.

See Also:
Serialized Form

Field Summary
static int INTERNAL_ELEMENTS
          Deprecated. Number of internal elements before ( used for offsets in serialization )
 
Constructor Summary
GuidedDecisionTable()
          Deprecated.  
 
Method Summary
 List<ActionCol> getActionCols()
          Deprecated.  
 List<AttributeCol> getAttributeCols()
          Deprecated.  
 List<ConditionCol> getConditionCols()
          Deprecated.  
 String[][] getData()
          Deprecated.  
 DescriptionCol getDescriptionCol()
          Deprecated.  
 List<MetadataCol> getMetadataCols()
          Deprecated.  
 String getParentName()
          Deprecated.  
 RowNumberCol getRowNumberCol()
          Deprecated.  
 String getTableName()
          Deprecated.  
 String getType(DTColumnConfig col, SuggestionCompletionEngine sce)
          Deprecated.  
 String[] getValueList(DTColumnConfig col, SuggestionCompletionEngine sce)
          Deprecated. This will return a list of valid values. if there is no such "enumeration" of values, then it will return an empty array.
 boolean isBoolean(DTColumnConfig col, SuggestionCompletionEngine sce)
          Deprecated.  
 boolean isConstraintValid(DTColumnConfig col, SuggestionCompletionEngine sce)
          Deprecated.  
 boolean isDate(DTColumnConfig col, SuggestionCompletionEngine sce)
          Deprecated.  
 boolean isNumeric(DTColumnConfig col, SuggestionCompletionEngine sce)
          Deprecated.  
 void setData(String[][] data)
          Deprecated.  
 void setDescriptionCol(DescriptionCol descriptionCol)
          Deprecated.  
 void setParentName(String parentName)
          Deprecated.  
 void setRowNumberCol(RowNumberCol rowNumberCol)
          Deprecated.  
 void setTableName(String tableName)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERNAL_ELEMENTS

public static final int INTERNAL_ELEMENTS
Deprecated. 
Number of internal elements before ( used for offsets in serialization )

See Also:
Constant Field Values
Constructor Detail

GuidedDecisionTable

public GuidedDecisionTable()
Deprecated. 
Method Detail

getActionCols

public List<ActionCol> getActionCols()
Deprecated. 

getAttributeCols

public List<AttributeCol> getAttributeCols()
Deprecated. 

getConditionCols

public List<ConditionCol> getConditionCols()
Deprecated. 

getData

public String[][] getData()
Deprecated. 

getDescriptionCol

public DescriptionCol getDescriptionCol()
Deprecated. 

getMetadataCols

public List<MetadataCol> getMetadataCols()
Deprecated. 

getParentName

public String getParentName()
Deprecated. 

getRowNumberCol

public RowNumberCol getRowNumberCol()
Deprecated. 

getTableName

public String getTableName()
Deprecated. 

getType

public String getType(DTColumnConfig col,
                      SuggestionCompletionEngine sce)
Deprecated. 

getValueList

public String[] getValueList(DTColumnConfig col,
                             SuggestionCompletionEngine sce)
Deprecated. 
This will return a list of valid values. if there is no such "enumeration" of values, then it will return an empty array.


isBoolean

public boolean isBoolean(DTColumnConfig col,
                         SuggestionCompletionEngine sce)
Deprecated. 

isConstraintValid

public boolean isConstraintValid(DTColumnConfig col,
                                 SuggestionCompletionEngine sce)
Deprecated. 

isDate

public boolean isDate(DTColumnConfig col,
                      SuggestionCompletionEngine sce)
Deprecated. 

isNumeric

public boolean isNumeric(DTColumnConfig col,
                         SuggestionCompletionEngine sce)
Deprecated. 

setData

public void setData(String[][] data)
Deprecated. 

setDescriptionCol

public void setDescriptionCol(DescriptionCol descriptionCol)
Deprecated. 

setParentName

public void setParentName(String parentName)
Deprecated. 

setRowNumberCol

public void setRowNumberCol(RowNumberCol rowNumberCol)
Deprecated. 

setTableName

public void setTableName(String tableName)
Deprecated. 


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.