|
Drools Workbench - Guided Rule Templates Model 6.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.workbench.models.datamodel.rule.RuleModel
org.drools.workbench.models.guided.template.shared.TemplateModel
public class TemplateModel
| Field Summary | |
|---|---|
static String |
ID_COLUMN_NAME
|
| Fields inherited from class org.drools.workbench.models.datamodel.rule.RuleModel |
|---|
attributes, lhs, metadataList, modelVersion, name, parentName, rhs |
| Constructor Summary | |
|---|---|
TemplateModel()
|
|
| Method Summary | |
|---|---|
String |
addRow(int index,
String[] row)
Add a row of data at the specified index |
String |
addRow(String[] row)
|
String |
addRow(String rowId,
String[] row)
Append a row of data |
void |
clearRows()
|
int |
getColsCount()
|
org.drools.workbench.models.datamodel.rule.InterpolationVariable[] |
getInterpolationVariablesList()
|
int |
getRowsCount()
|
Map<String,List<String>> |
getTable()
|
String[][] |
getTableAsArray()
|
void |
putInSync()
|
void |
removeRow(int row)
|
boolean |
removeRowById(String rowId)
|
void |
setIdCol(int idCol)
|
void |
setValue(String varName,
int rowIndex,
String newValue)
|
| Methods inherited from class org.drools.workbench.models.datamodel.rule.RuleModel |
|---|
addAttribute, addLhsItem, addLhsItem, addLhsItem, addMetadata, addRhsItem, addRhsItem, addRhsItem, getAllLHSVariables, getAllRHSVariables, getAllVariables, getBoundVariablesInScope, getFieldBinding, getFieldBinding, getImports, getLHSBindingType, getLHSBoundFact, getLHSBoundFacts, getLHSBoundField, getLHSParentFactPatternForBinding, getMetaData, getPackageName, getRHSBoundFact, getRHSBoundFacts, hasDSLSentences, isBoundFactUsed, isNegated, isVariableNameUsed, moveLhsItemDown, moveLhsItemUp, moveRhsItemDown, moveRhsItemUp, removeAttribute, removeLhsItem, removeMetadata, removeRhsItem, setImports, setNegated, setPackageName, updateMetadata |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ID_COLUMN_NAME
| Constructor Detail |
|---|
public TemplateModel()
| Method Detail |
|---|
public String addRow(String rowId,
String[] row)
rowId - row -
public String addRow(int index,
String[] row)
index - row -
public String addRow(String[] row)
public void clearRows()
public int getColsCount()
public org.drools.workbench.models.datamodel.rule.InterpolationVariable[] getInterpolationVariablesList()
public int getRowsCount()
public Map<String,List<String>> getTable()
public String[][] getTableAsArray()
public void putInSync()
public void removeRow(int row)
public boolean removeRowById(String rowId)
public void setValue(String varName,
int rowIndex,
String newValue)
public void setIdCol(int idCol)
|
Drools Workbench - Guided Rule Templates Model 6.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||