public interface IRuletestModelAPI extends IModelAPI
| Modifier and Type | Method and Description |
|---|---|
boolean |
addTestsheet()
Create all necessary canonical objects for this model
|
com.corticon.rulesemf.assetmodel.RuletestAsset |
createRuletest(org.eclipse.emf.common.util.URI aURIRuletest)
Create a new Ruletest Resource with the specified URI.
|
void |
deleteRuletest()
Delete the Ruletest and remove its respective Resource.
|
com.corticon.rulesemf.canonicaltestmodel.ruletest.Ruletest |
findRuletest()
Finder for Ruletest.
|
com.corticon.rulesemf.assetmodel.RuletestAsset |
findRuletestAsset()
Finder for RuletestAsset.
|
com.corticon.rulesemf.assetmodel.TestsheetAsset |
findTestsheetAsset(int aiIndex)
Find the Testsheet asset corresponding to the specified index.
|
java.util.Date |
getDecisionServiceEffectiveTargetDate()
Return the Date, which is the effective target date of the Decision Service to use during Remote Execution of the currently active Testsheet
|
java.lang.Integer |
getDecisionServiceMajorVersion()
Return the Integer, which is the major version of the Decision Service to use during Remote Execution of the currently active Testsheet
|
java.lang.Integer |
getDecisionServiceMinorVersion()
Return the Integer, which is the minor version of the Decision Service to use during Remote Execution of the currently active Testsheet
|
java.lang.String |
getDecisionServiceName()
Return the String, which is the name of the Decision Service to use during Remote Execution of the currently active Testsheet
|
java.lang.String |
getNewRuletestName(org.eclipse.emf.common.util.URI aURIContainer)
Given the URI of a container in the storage system, create a new unique Ruletest
name using sequence numbers if necessary.
|
java.lang.String |
getRemoteServerUri()
Return the String URI of the location of the Remote Server of the currently active Testsheet
|
com.corticon.rulesemf.canonicalrulemodel.ruleflow.RuleActivity |
getRuleActivity()
Return the RuleActivity (i.e., either Ruleflow or PRuleset) of currently active Testsheet.
|
IModelAPI |
getSecondaryAPI()
Return the secondary (nested) API.
|
int |
getSelectedTestsheetIndex()
Returns the index of currently selected Testsheet.
|
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.
|
IDomain |
getVocabulary()
Get a reference to the Vocabulary root domain.
|
IVocabularyModelAPI |
getVocabularyModelAPI()
Return an instance of the Vocabulary model API with its state set identically to *this* API.
|
org.eclipse.emf.common.util.URI |
getVocabularyURI()
Return the URI of the Vocabulary, even if that Vocabulary is missing.
|
boolean |
isTestSubjectAvailable()
Determine whether the test subject is currently available.
|
boolean |
isVocabularyAvailable()
Determine whether the Vocabulary for this Ruletest is available.
|
boolean |
linkToPrevious(int aiIndex,
boolean abCascade)
Set the Cascade state of Testsheet based on given index of TestsheetAsset.
|
boolean |
removeTestsheet(com.corticon.rulesemf.canonicaltestmodel.testsheet.Testsheet aTestsheet)
Remove a Testsheet from the Ruletest instance.
|
boolean |
renameRuletest(org.eclipse.emf.common.util.URI aURIRuletestNew)
Rename the specified Ruletest.
|
boolean |
setDecisionServiceEffectiveTargetDate(java.util.Date aEffectiveTargetDate)
Set the Remote Server Decision Service Effective Target Date to currently active Testsheet.
|
boolean |
setDecisionServiceMajorVersion(java.lang.Integer aintDecisionServiceMajorVersion)
Set the Remote Server Decision Service Major version to currently active Testsheet.
|
boolean |
setDecisionServiceMinorVersion(java.lang.Integer aintDecisionServiceMinorVersion)
Set the Remote Server Decision Service Minor version to currently active Testsheet.
|
boolean |
setDecisionServiceName(java.lang.String astrDecisionServiceName)
Set the Remote Server Decision Service Name to currently active Testsheet.
|
boolean |
setRemoteServerURI(java.lang.String astrRemoteServerUri)
Set the Remote Server URI to currently active Testsheet.
|
boolean |
setRuleActivity(com.corticon.rulesemf.canonicalrulemodel.ruleflow.RuleActivity aRuleActivity)
Set the RuleActivity (i.e., either Ruleflow or PRuleset) to currently active Testsheet.
|
boolean |
setRuleActivity(org.eclipse.emf.common.util.URI aURIRuleActivity)
Set the RuleActivity based on the URI (i.e., either Ruleflow or PRuleset) to currently active Testsheet.
|
void |
setSecondaryAPI(IModelAPI aIModelAPISecondary)
Set a reference to the secondary (nested) API.
|
boolean |
setTestsheetCascade(int aiIndex,
boolean cascade)
Deprecated.
Use
linkToPrevious(int,boolean) instead |
boolean |
setTestsheetIndex(int aiIndex)
Set the index of the current TestsheetAsset.
|
boolean |
setVocabulary(IDomain aDomain)
Set a reference to the Vocabulary.
|
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, validateLicensecom.corticon.rulesemf.assetmodel.RuletestAsset createRuletest(org.eclipse.emf.common.util.URI aURIRuletest)
aURIRuletest - New Ruletest URI.void deleteRuletest()
com.corticon.rulesemf.canonicaltestmodel.ruletest.Ruletest findRuletest()
com.corticon.rulesemf.assetmodel.RuletestAsset findRuletestAsset()
com.corticon.rulesemf.assetmodel.TestsheetAsset findTestsheetAsset(int aiIndex)
aiIndex - Index of Testsheet in asset list.java.lang.String getNewRuletestName(org.eclipse.emf.common.util.URI aURIContainer)
aURIContainer - URI of container.com.corticon.rulesemf.canonicalrulemodel.ruleflow.RuleActivity getRuleActivity()
null.java.lang.String getRemoteServerUri()
null.java.lang.String getDecisionServiceName()
null.java.lang.Integer getDecisionServiceMajorVersion()
null.java.lang.Integer getDecisionServiceMinorVersion()
null.java.util.Date getDecisionServiceEffectiveTargetDate()
null.IModelAPI getSecondaryAPI()
int getSelectedTestsheetIndex()
org.eclipse.emf.common.util.URI getTestSubjectURI()
IDomain getVocabulary()
IVocabularyModelAPI getVocabularyModelAPI()
org.eclipse.emf.common.util.URI getVocabularyURI()
boolean isTestSubjectAvailable()
true if test subject is available.boolean isVocabularyAvailable()
true if Vocabulary is available.boolean linkToPrevious(int aiIndex,
boolean abCascade)
aiIndex - Index of Testsheet Asset.abCascade - true to link to previous.true if the command was successful.boolean removeTestsheet(com.corticon.rulesemf.canonicaltestmodel.testsheet.Testsheet aTestsheet)
aTestsheet - Testsheet instance to be removed.true if the command was successful.boolean renameRuletest(org.eclipse.emf.common.util.URI aURIRuletestNew)
aURIRuletestNew - New Ruletest URI.true if the command was successful.boolean setRuleActivity(com.corticon.rulesemf.canonicalrulemodel.ruleflow.RuleActivity aRuleActivity)
aRuleActivity - RuleActivity instance or null.true if the set command was successful.boolean setRuleActivity(org.eclipse.emf.common.util.URI aURIRuleActivity)
aURIRuleActivity - Location of the RuleActivity or null.true if the set command was successful.boolean setRemoteServerURI(java.lang.String astrRemoteServerUri)
astrRemoteServerUri - String that points to the remote server or null.true if the set command was successful.boolean setDecisionServiceName(java.lang.String astrDecisionServiceName)
astrDecisionServiceName - String that is used as the Decision Service Name for remote executions or null.true if the set command was successful.boolean setDecisionServiceMajorVersion(java.lang.Integer aintDecisionServiceMajorVersion)
aintDecisionServiceMajorVersion - Integer that is used as the Decision Service Name for remote executions or null.true if the set command was successful.boolean setDecisionServiceMinorVersion(java.lang.Integer aintDecisionServiceMinorVersion)
aintDecisionServiceMinorVersion - Integer that is used as the Decision Service Name for remote executions or null.true if the set command was successful.boolean setDecisionServiceEffectiveTargetDate(java.util.Date aEffectiveTargetDate)
aEffectiveTargetDate - date that is used as the Decision Service Name for remote executions or null.true if the set command was successful.void setSecondaryAPI(IModelAPI aIModelAPISecondary)
aIModelAPISecondary - Secondary API instance.boolean setTestsheetCascade(int aiIndex,
boolean cascade)
linkToPrevious(int,boolean) insteadaiIndex - Index of Testsheet Asset.cascade - Cascade state for the Testsheet.true if the command was successful.boolean setTestsheetIndex(int aiIndex)
aiIndex - Index of current Testsheet Asset.true if the command was successful.boolean setVocabulary(IDomain aDomain)
aIDomain - Vocabulary root domain.true if the command was successful.boolean addTestsheet()
true if the command was successful.Copyright © 2005-2016 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.