Drools Workbench - Guided Decision Table Editor - API 6.0.0.Beta3

org.drools.workbench.screens.guided.dtable.model
Class GuidedDecisionTableUtils

java.lang.Object
  extended by org.drools.workbench.screens.guided.dtable.model.GuidedDecisionTableUtils

public class GuidedDecisionTableUtils
extends Object

Utilities for GuidedDecisionTable


Constructor Summary
GuidedDecisionTableUtils(PackageDataModelOracle oracle, org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 model)
           
 
Method Summary
 String getBoundFactType(String boundName)
           
 String getType(org.drools.workbench.models.guided.dtable.shared.model.BaseColumn col)
           
 org.drools.workbench.models.commons.shared.oracle.DataType.DataTypes getTypeSafeType(org.drools.workbench.models.guided.dtable.shared.model.BaseColumn column)
           
 org.drools.workbench.models.commons.shared.oracle.DataType.DataTypes getTypeSafeType(org.drools.workbench.models.guided.dtable.shared.model.Pattern52 pattern, org.drools.workbench.models.guided.dtable.shared.model.ActionSetFieldCol52 column)
           
 org.drools.workbench.models.commons.shared.oracle.DataType.DataTypes getTypeSafeType(org.drools.workbench.models.guided.dtable.shared.model.Pattern52 pattern, org.drools.workbench.models.guided.dtable.shared.model.ConditionCol52 column)
           
 String[] getValueList(org.drools.workbench.models.guided.dtable.shared.model.BaseColumn col)
           
 boolean hasDSLSentences()
          Check is the model uses DSLSentences and hence requires expansion
 boolean hasValueList(org.drools.workbench.models.guided.dtable.shared.model.ActionInsertFactCol52 col)
           
 boolean hasValueList(org.drools.workbench.models.guided.dtable.shared.model.ActionSetFieldCol52 col)
           
 boolean hasValueList(org.drools.workbench.models.guided.dtable.shared.model.AttributeCol52 col)
           
 boolean hasValueList(org.drools.workbench.models.guided.dtable.shared.model.ConditionCol52 col)
           
 boolean isConstraintValid(org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52 col)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuidedDecisionTableUtils

public GuidedDecisionTableUtils(PackageDataModelOracle oracle,
                                org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 model)
Method Detail

getType

public String getType(org.drools.workbench.models.guided.dtable.shared.model.BaseColumn col)

getTypeSafeType

public org.drools.workbench.models.commons.shared.oracle.DataType.DataTypes getTypeSafeType(org.drools.workbench.models.guided.dtable.shared.model.BaseColumn column)

getTypeSafeType

public org.drools.workbench.models.commons.shared.oracle.DataType.DataTypes getTypeSafeType(org.drools.workbench.models.guided.dtable.shared.model.Pattern52 pattern,
                                                                                            org.drools.workbench.models.guided.dtable.shared.model.ConditionCol52 column)

getTypeSafeType

public org.drools.workbench.models.commons.shared.oracle.DataType.DataTypes getTypeSafeType(org.drools.workbench.models.guided.dtable.shared.model.Pattern52 pattern,
                                                                                            org.drools.workbench.models.guided.dtable.shared.model.ActionSetFieldCol52 column)

getValueList

public String[] getValueList(org.drools.workbench.models.guided.dtable.shared.model.BaseColumn col)

hasValueList

public boolean hasValueList(org.drools.workbench.models.guided.dtable.shared.model.AttributeCol52 col)

hasValueList

public boolean hasValueList(org.drools.workbench.models.guided.dtable.shared.model.ConditionCol52 col)

hasValueList

public boolean hasValueList(org.drools.workbench.models.guided.dtable.shared.model.ActionSetFieldCol52 col)

hasValueList

public boolean hasValueList(org.drools.workbench.models.guided.dtable.shared.model.ActionInsertFactCol52 col)

isConstraintValid

public boolean isConstraintValid(org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52 col)

getBoundFactType

public String getBoundFactType(String boundName)

hasDSLSentences

public boolean hasDSLSentences()
Check is the model uses DSLSentences and hence requires expansion

Returns:
true if any BRLColumn's contain DSLSentence's

Drools Workbench - Guided Decision Table Editor - API 6.0.0.Beta3

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.