org.drools.ide.common.client.modeldriven.dt
Class TypeSafeGuidedDecisionTable
java.lang.Object
org.drools.ide.common.client.modeldriven.dt.TypeSafeGuidedDecisionTable
- All Implemented Interfaces:
- Serializable, PortableObject
public class TypeSafeGuidedDecisionTable
- 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.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INTERNAL_ELEMENTS
public static final int INTERNAL_ELEMENTS
- Number of internal elements before ( used for offsets in serialization )
- See Also:
- Constant Field Values
SALIENCE_ATTR
public static final String SALIENCE_ATTR
- Various attribute names
- See Also:
- Constant Field Values
ENABLED_ATTR
public static final String ENABLED_ATTR
- See Also:
- Constant Field Values
DATE_EFFECTIVE_ATTR
public static final String DATE_EFFECTIVE_ATTR
- See Also:
- Constant Field Values
DATE_EXPIRES_ATTR
public static final String DATE_EXPIRES_ATTR
- See Also:
- Constant Field Values
NO_LOOP_ATTR
public static final String NO_LOOP_ATTR
- See Also:
- Constant Field Values
AGENDA_GROUP_ATTR
public static final String AGENDA_GROUP_ATTR
- See Also:
- Constant Field Values
ACTIVATION_GROUP_ATTR
public static final String ACTIVATION_GROUP_ATTR
- See Also:
- Constant Field Values
DURATION_ATTR
public static final String DURATION_ATTR
- See Also:
- Constant Field Values
AUTO_FOCUS_ATTR
public static final String AUTO_FOCUS_ATTR
- See Also:
- Constant Field Values
LOCK_ON_ACTIVE_ATTR
public static final String LOCK_ON_ACTIVE_ATTR
- See Also:
- Constant Field Values
RULEFLOW_GROUP_ATTR
public static final String RULEFLOW_GROUP_ATTR
- See Also:
- Constant Field Values
DIALECT_ATTR
public static final String DIALECT_ATTR
- See Also:
- Constant Field Values
NEGATE_RULE_ATTR
public static final String NEGATE_RULE_ATTR
- See Also:
- Constant Field Values
TypeSafeGuidedDecisionTable
public TypeSafeGuidedDecisionTable()
getActionCols
public List<ActionCol> getActionCols()
getAttributeCols
public List<AttributeCol> getAttributeCols()
getConditionCols
public List<ConditionCol> getConditionCols()
getData
public List<List<DTCellValue>> getData()
getAllColumns
public List<DTColumnConfig> getAllColumns()
getDescriptionCol
public DescriptionCol getDescriptionCol()
getMetadataCols
public List<MetadataCol> getMetadataCols()
getParentName
public String getParentName()
getRowNumberCol
public RowNumberCol getRowNumberCol()
getTableName
public String getTableName()
getType
public String getType(DTColumnConfig col,
SuggestionCompletionEngine sce)
getValueList
public String[] getValueList(DTColumnConfig col,
SuggestionCompletionEngine sce)
- This will return a list of valid values. if there is no such
"enumeration" of values, then it will return an empty array.
isConstraintValid
public boolean isConstraintValid(DTColumnConfig col,
SuggestionCompletionEngine sce)
setData
public void setData(List<List<DTCellValue>> data)
setDescriptionCol
public void setDescriptionCol(DescriptionCol descriptionCol)
setParentName
public void setParentName(String parentName)
setRowNumberCol
public void setRowNumberCol(RowNumberCol rowNumberCol)
setTableName
public void setTableName(String tableName)
Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.