|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.ide.common.client.modeldriven.dt.GuidedDecisionTable
@Deprecated public class GuidedDecisionTable
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.
Field Summary | |
---|---|
List<ActionCol> |
actionCols
Deprecated. |
List<AttributeCol> |
attributeCols
Deprecated. |
List<ConditionCol> |
conditionCols
Deprecated. |
String[][] |
data
Deprecated. First column is always row number. |
int |
descriptionWidth
Deprecated. The width to display the description column. |
String |
groupField
Deprecated. |
static int |
INTERNAL_ELEMENTS
Deprecated. Number of internal elements before ( used for offsets in serialization ) |
String |
parentName
Deprecated. |
String |
tableName
Deprecated. The name - obviously. |
Constructor Summary | |
---|---|
GuidedDecisionTable()
Deprecated. |
Method Summary | |
---|---|
int |
getMetadataColIndex(String attributeName)
Deprecated. Locate index of attribute name if it exists |
List<MetadataCol> |
getMetadataCols()
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 |
isNumeric(DTColumnConfig col,
SuggestionCompletionEngine sce)
Deprecated. |
void |
setMetadataCols(List<MetadataCol> metadataCols)
Deprecated. |
boolean |
updateMetadata(String attributeName,
String newValue)
Deprecated. Update all rows of metadata with value it attribute is present |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int INTERNAL_ELEMENTS
public String tableName
public String parentName
public List<AttributeCol> attributeCols
public List<ConditionCol> conditionCols
public List<ActionCol> actionCols
public String[][] data
public int descriptionWidth
public String groupField
Constructor Detail |
---|
public GuidedDecisionTable()
Method Detail |
---|
public String[] getValueList(DTColumnConfig col, SuggestionCompletionEngine sce)
public String getType(DTColumnConfig col, SuggestionCompletionEngine sce)
public boolean isNumeric(DTColumnConfig col, SuggestionCompletionEngine sce)
public void setMetadataCols(List<MetadataCol> metadataCols)
public List<MetadataCol> getMetadataCols()
public int getMetadataColIndex(String attributeName)
attributeName
- Name of metadata we are looking for
public boolean updateMetadata(String attributeName, String newValue)
attributeName
- Name of metadata we are looking for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |