public interface ITestsheetModelAPI extends IModelAPI
| Modifier and Type | Method and Description |
|---|---|
boolean |
addTestsheet()
Add a new Testsheet to the Ruletest instance.
|
com.corticon.rulesemf.canonicaltestmodel.testsheet.Input |
createInput()
Create and return a new Input instance.
|
com.corticon.rulesemf.canonicaltestmodel.testsheet.Output |
createOutput()
Create and return a new Output instance.
|
com.corticon.rulesemf.canonicaltestmodel.testsheet.PostedMessage |
createPostedMessage()
Create and return a new PostedMessage instance.
|
com.corticon.rulesemf.canonicaltestmodel.testsheet.Input |
findInput()
Finder for Input.
|
com.corticon.rulesemf.canonicaltestmodel.testsheet.Output |
findOutput(boolean abExpected)
Finder for Output.
|
com.corticon.rulesemf.assetmodel.RuletestAsset |
findRuletestAsset()
Find the RuletestAsset for this Testsheet.
|
com.corticon.rulesemf.canonicaltestmodel.testsheet.Testsheet |
findTestsheet()
Finder for Testsheet.
|
com.corticon.rulesemf.assetmodel.TestsheetAsset |
findTestsheetAsset()
Finder for TestsheetAsset.
|
com.corticon.rulesemf.assetmodel.TestsheetAsset |
findTestsheetAsset(int index)
Finder for TestsheetAsset based on the given index.
|
int |
findTestsheetAssetIndex(com.corticon.rulesemf.assetmodel.TestsheetAsset aTestsheetAsset)
Returns the index of given TestsheetAsset
|
com.corticon.rulesemf.canonicalrulemodel.ruleflow.RuleActivity |
findTestSubject()
Return the Test Subject associated with this Testsheet.
|
com.corticon.rulesemf.canonicaltestmodel.testsheet.DatabaseMode |
getDatabaseMode() |
com.corticon.rulesemf.canonicaltestmodel.testsheet.ReturnEntityMode |
getReturnEntityMode() |
IRuleflowDiagramModelAPI |
getRuleflowDiagramModelAPI()
Return an instance of the Ruleflow diagram model API with its state set
identically to *this* API.
|
IRuleflowModelAPI |
getRuleflowModelAPI()
Return an instance of the Ruleflow model API with its state set
identically to *this* API.
|
IRulesheetModelAPI |
getRulesheetModelAPI()
Return an instance of the Rulesheet model API with its state set
identically to *this* API.
|
IRulesheetTableModelAPI |
getRulesheetTableModelAPI()
Return an instance of the Rulesheet table model API with its state set
identically to *this* API.
|
int |
getSelectedTestsheetIndex()
Returns the index of currently selected Testsheet.
|
com.corticon.rulesemf.viewtestmodel.ruletest.tabfolder.TestTab |
getSelectedTestTab()
Deprecated.
|
java.lang.String |
getTestSubjectPath()
Return the test subject user-friendly path.
|
org.eclipse.emf.common.util.URI |
getTestSubjectURI()
Return the URI of the test subject of the currently active Testsheet, even if the
test subject is missing.
|
java.lang.String |
getTooltip()
Return the Validation Messages as a String value that are associated with the Testsheet currently selected.
|
java.lang.String |
getTooltip(int aiTestAssetIndex)
Return the Validation Messages as a String value that are associated with the Testsheet at the index passed in.
|
IVocabularyModelAPI |
getVocabularyModelAPI()
Return an instance of the Vocabulary model API with its state set
identically to *this* API.
|
boolean |
isEnabledCascade()
Determine whether the cascade check-box menu item should be enabled.
|
boolean |
isEnabledExecuteTest()
Determine whether the execute test function should be enabled.
|
boolean |
isRemoteExecutionVariablesAvailable()
Determine whether the test subject is currently pointing to a remote decision service.
|
boolean |
isTestSubjectAvailable()
Determine whether the test subject is currently available.
|
boolean |
isTestSubjectRuleflow()
Determine whether the test subject is a Ruleflow.
|
boolean |
isTestSubjectRulesheet()
Determine whether the test subject is a Rulesheet.
|
boolean |
isVocabularyAvailable()
Determine whether the Vocabulary for the test subject is available.
|
boolean |
removeTestsheet(com.corticon.rulesemf.canonicaltestmodel.testsheet.Testsheet aTestsheet)
Remove the specified Testsheet from its respective Ruletest asset.
|
boolean |
setCascade(boolean abCascade)
Set the Cascade state for this Testsheet, meaning that that the
Testsheet takes it input from the output of the prior Testsheet.
|
boolean |
setDatabaseMode(com.corticon.rulesemf.canonicaltestmodel.testsheet.DatabaseMode aDatabaseMode) |
boolean |
setReturnEntityMode(com.corticon.rulesemf.canonicaltestmodel.testsheet.ReturnEntityMode aReturnEntityMode) |
boolean |
setRuleActivity(com.corticon.rulesemf.canonicalrulemodel.ruleflow.RuleActivity aRuleActivity)
Set the RuleActivity for this Testsheet (i.e., either Ruleflow or PRuleset).
|
void |
setVocabularyModelAPI(IVocabularyModelAPI aIVocabularyModelAPI)
Setter for Vocabulary model API instance.
|
activate, addAnnotation, addBatchedModelListener, addLowLevelModelListener, addModelListener, addResourceListener, addView, beginTransaction, cancelTransaction, canSetSupportedLocales, closeResource, createResource, deleteAnnotation, deleteAnnotation, deleteAnnotation, deleteResource, displayMessageBox, dispose, doPostLoadValidation, doSmartValidation, endTransaction, endTransaction, flushCommandStack, formatValidationMessageLocation, formatValidationMessageText, getAllLocalesProvidingCompleteLocalization, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getAPIContextObject, getAsset, getBaseAttribute, getBaseAttributeString, getBatchedModelListeners, getBuildNumber, getBuildNumberOfLastValidationRulesChange, getEditingDomain, getErrors, getErrors, getIndexByLocale, getLocale, getLocalizedAttribute, getLocalizedAttributeString, getLowLevelModelListeners, getMajorServiceNumber, getMajorVersionNumber, getMessage, getMessage, getMessageBase, getMessageBoxDelegate, getMinorServiceNumber, getMinorVersionNumber, getModelAPIState, getModelListeners, getNewResourceName, getPersistenceServicesDelegate, getPreferences, getPrimaryResource, getPrimaryResourceURI, getScrollableMessageDelegate, getSupportedLocales, getSuppressBrokenLinkValidation, getSuppressValidation, getToolTip, getUpdateStamp, getUserInterfaceInfoDelegate, getValidationMessageCount, getValidationMessageCount, getValidationMessageCount, getValidationMessageCount, getValidationMessages, getValidationMessages, getWarnings, getWarnings, handleException, hasErrors, hasErrors, hasErrors, hasErrors, hasErrors, hasErrors, hasErrorsOrWarnings, hasErrorsOrWarnings, hasErrorsOrWarnings, hasErrorsOrWarnings, hasErrorsOrWarnings, hasErrorsOrWarnings, hasWarnings, hasWarnings, hasWarnings, hasWarnings, hasWarnings, hasWarnings, isAPIStateEstablished, isEnabledRedo, isEnabledUndo, isInhibitNotification, isLoaded, isOperationModeNormal, isOperationModeRedo, isOperationModeUndo, isPassive, isPostLoadInProgress, isPrimaryResourceSet, isReadOnly, isResourceActivated, isResourceConflict, isResourceDemandLoaded, isResourceLoaded, isScrollableMessageDelegateAvailable, isShowCanonicalValidationMessages, isSuppressModifiedFlagUpdates, isSuppressPostLoad, isTransactionInProgress, isValid, isValid, loadResource, loadResource, loadResource, newInstance, noOperation, postLoad, postMethod, postMethod, postsave, preMethod, presave, redo, reloadResource, remapResource, remapResource, removeBatchedModelListener, removeLowLevelModelListener, removeModelListener, removeResource, removeResourceListener, removeView, renameResource, rollbackTransaction, saveAll, saveResource, setAnnotation, setAPIContextObject, setAPIState, setBuildNumber, setEditingDomain, setInhibitNotification, setLocale, setMajorServiceNumber, setMajorVersionNumber, setMessageBoxDelegate, setMinorServiceNumber, setMinorVersionNumber, setModelAPIState, setModelListeners, setPassive, setPersistenceServicesDelegate, setPostLoadInProgress, setPreferencesDelegate, setPrimaryResource, setReadOnly, setScrollableMessageDelegate, setSupportedLocales, setSuppressBrokenLinkValidation, setSuppressModifiedFlagUpdates, setSuppressPostLoad, setSuppressValidation, setUserInterfaceInfoDelegate, undo, unloadResource, validate, validateLicenseboolean addTestsheet()
true if the command was successful.com.corticon.rulesemf.canonicaltestmodel.testsheet.Input createInput()
com.corticon.rulesemf.canonicaltestmodel.testsheet.Output createOutput()
com.corticon.rulesemf.canonicaltestmodel.testsheet.PostedMessage createPostedMessage()
com.corticon.rulesemf.canonicaltestmodel.testsheet.Input findInput()
com.corticon.rulesemf.canonicaltestmodel.testsheet.Output findOutput(boolean abExpected)
abExpected - true to return expected Output instance.com.corticon.rulesemf.assetmodel.RuletestAsset findRuletestAsset()
com.corticon.rulesemf.canonicaltestmodel.testsheet.Testsheet findTestsheet()
com.corticon.rulesemf.assetmodel.TestsheetAsset findTestsheetAsset()
com.corticon.rulesemf.assetmodel.TestsheetAsset findTestsheetAsset(int index)
int findTestsheetAssetIndex(com.corticon.rulesemf.assetmodel.TestsheetAsset aTestsheetAsset)
com.corticon.rulesemf.canonicalrulemodel.ruleflow.RuleActivity findTestSubject()
int getSelectedTestsheetIndex()
com.corticon.rulesemf.viewtestmodel.ruletest.tabfolder.TestTab getSelectedTestTab()
IRuleflowModelAPI getRuleflowModelAPI()
IRuleflowDiagramModelAPI getRuleflowDiagramModelAPI()
IRulesheetModelAPI getRulesheetModelAPI()
IRulesheetTableModelAPI getRulesheetTableModelAPI()
org.eclipse.emf.common.util.URI getTestSubjectURI()
java.lang.String getTestSubjectPath()
IVocabularyModelAPI getVocabularyModelAPI()
boolean isEnabledCascade()
true if cascade function should be enabled.boolean isEnabledExecuteTest()
true if function should be enabled.boolean isTestSubjectRulesheet()
true if the test subject is a Rulesheet.boolean isTestSubjectAvailable()
true if test subject is available.boolean isRemoteExecutionVariablesAvailable()
true if test subject is pointing to a remote decision service.boolean isTestSubjectRuleflow()
true if the test subject is a Ruleflow.boolean isVocabularyAvailable()
true if Vocabulary is available.boolean removeTestsheet(com.corticon.rulesemf.canonicaltestmodel.testsheet.Testsheet aTestsheet)
aTestsheet - Testsheet to be removed.boolean setCascade(boolean abCascade)
abCascade - true to enable cascade for this Testsheet.true if the set command was successful.boolean setRuleActivity(com.corticon.rulesemf.canonicalrulemodel.ruleflow.RuleActivity aRuleActivity)
aRuleActivity - RuleActivity instance or null.true if the set command was successful.void setVocabularyModelAPI(IVocabularyModelAPI aIVocabularyModelAPI)
aIVocabularyModelAPI - Vocabulary model API instance.java.lang.String getTooltip()
java.lang.String getTooltip(int aiTestAssetIndex)
int - Index of the Testsheetcom.corticon.rulesemf.canonicaltestmodel.testsheet.DatabaseMode getDatabaseMode()
boolean setDatabaseMode(com.corticon.rulesemf.canonicaltestmodel.testsheet.DatabaseMode aDatabaseMode)
com.corticon.rulesemf.canonicaltestmodel.testsheet.ReturnEntityMode getReturnEntityMode()
boolean setReturnEntityMode(com.corticon.rulesemf.canonicaltestmodel.testsheet.ReturnEntityMode aReturnEntityMode)
Copyright © 2005-2013 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.