org.drools.guvnor.models.guided.template.shared
Class TemplateModel
java.lang.Object
org.drools.guvnor.models.commons.shared.rule.RuleModel
org.drools.guvnor.models.guided.template.shared.TemplateModel
public class TemplateModel
- extends RuleModel
| Methods inherited from class org.drools.guvnor.models.commons.shared.rule.RuleModel |
addAttribute, addLhsItem, addLhsItem, addLhsItem, addMetadata, addRhsItem, addRhsItem, addRhsItem, getAllLHSVariables, getAllRHSVariables, getAllVariables, getBoundVariablesInScope, getFieldBinding, getFieldBinding, getLHSBindingType, getLHSBoundFact, getLHSBoundFacts, getLHSBoundField, getLHSParentFactPatternForBinding, getMetaData, getRHSBoundFact, getRHSBoundFacts, hasDSLSentences, isBoundFactUsed, isNegated, isVariableNameUsed, moveLhsItemDown, moveLhsItemUp, moveRhsItemDown, moveRhsItemUp, removeAttribute, removeLhsItem, removeMetadata, removeRhsItem, setNegated, updateMetadata |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID_COLUMN_NAME
public static final String ID_COLUMN_NAME
- See Also:
- Constant Field Values
TemplateModel
public TemplateModel()
addRow
public String addRow(String rowId,
String[] row)
- Append a row of data
- Parameters:
rowId - row -
- Returns:
addRow
public String addRow(int index,
String[] row)
- Add a row of data at the specified index
- Parameters:
index - row -
- Returns:
addRow
public String addRow(String[] row)
clearRows
public void clearRows()
getColsCount
public int getColsCount()
getInterpolationVariablesList
public InterpolationVariable[] getInterpolationVariablesList()
getRowsCount
public int getRowsCount()
getTable
public Map<String,List<String>> getTable()
getTableAsArray
public String[][] getTableAsArray()
putInSync
public void putInSync()
removeRow
public void removeRow(int row)
removeRowById
public boolean removeRowById(String rowId)
setValue
public void setValue(String varName,
int rowIndex,
String newValue)
setIdCol
public void setIdCol(int idCol)
getImports
public Imports getImports()
- Overrides:
getImports in class RuleModel
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.