org.drools.ide.common.client.modeldriven.dt
Class TemplateModel
java.lang.Object
org.drools.ide.common.client.modeldriven.brl.RuleModel
org.drools.ide.common.client.modeldriven.dt.TemplateModel
- All Implemented Interfaces:
- Serializable, PortableObject
public class TemplateModel
- extends RuleModel
- implements PortableObject
- See Also:
- Serialized Form
Methods inherited from class org.drools.ide.common.client.modeldriven.brl.RuleModel |
addAttribute, addLhsItem, addLhsItem, addLhsItem, addMetadata, addRhsItem, addRhsItem, addRhsItem, getAllVariables, getBoundVariablesInScope, 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)
addRow
public String addRow(String[] row)
clearRows
public void clearRows()
getColsCount
public int getColsCount()
getInterpolationVariablesList
public TemplateModel.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)
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.