public interface IRulesheetModelAPI extends IModelAPI, com.corticon.rulebuilder.IScopeUtilities
| Modifier and Type | Method and Description |
|---|---|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.Action |
addAction(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule aPRule,
int aiIndex)
Add a new Action instance to the specified PRule.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.Condition |
addCondition(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule aPRule,
int aiIndex)
Add a new Condition instance to the specified PRule.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.Filter |
addFilter(int aiIndex)
Add a new Filter instance to the PRuleset.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable |
addLogicalVariable(org.eclipse.emf.ecore.EClass aEClass,
int aiIndex)
Deprecated.
Clean up of ModelAPI of EMF parametere objects. Replacing them with Corticon interfaces to conceal EMF behind top layer of our API. This will enable us to change out EMF if ever needed.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable |
addLogicalVariable(IEntity aIEntity,
int aiIndex)
Add a new LogicalVariable instance to the PRuleset.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable |
addLogicalVariable(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable,
org.eclipse.emf.ecore.EReference aEReference,
int aiIndex)
Deprecated.
Clean up of ModelAPI of EMF parametere objects. Replacing them with Corticon interfaces to conceal EMF behind top layer of our API. This will enable us to change out EMF if ever needed.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable |
addLogicalVariable(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable,
IAssociationEnd aIAssociationEnd,
int aiIndex)
Add a new LogicalVariable instance to the PRuleset.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.ReferencedAttribute |
addReferencedAttribute(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable,
IAttribute aIAttribute,
int aiIndex)
Add a new ReferencedAttribute instance to the specified LogicalVariable.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule |
addRule(int aiIndex)
Add a new PRule to the rule set.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement |
addRuleStatement(int aiIndex)
Add a new RuleStatement instance to the PRuleset.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.Action |
createAction()
Create and return a new independent Action instance.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.Condition |
createCondition()
Create and return a new independent Condition instance.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.Filter |
createFilter()
Create and return a new independent Filter instance.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule |
createRule()
Create and return a new independent PRule instance.
|
com.corticon.rulesemf.assetmodel.RulesheetAsset |
createRulesheet(org.eclipse.emf.common.util.URI aURIRulesheet)
Create a new Rulesheet resource with the specified URI.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement |
createRuleStatement()
Create and return a new independent RuleStatement instance.
|
void |
deleteRulesheet()
Delete the Rulesheet and remove its respective Resource.
|
IEntity |
findEntity(java.lang.String astrEntityName)
Given an entity name appearing in the Scope section, return the
corresponding IEntity by traversing from Scope to the Vocabulary.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable |
findLogicalVariable(java.lang.String astrAlias)
Find the logical variable corresponding to a specified alias.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable |
findLogicalVariableImplicit(java.lang.String astrInput)
Find the logical variable corresponding to a specified alias, implicit variable or combination.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRuleset |
findRuleset()
Finder for PRuleset.
|
com.corticon.rulesemf.assetmodel.RulesheetAsset |
findRulesheetAsset()
Finder for RulesheetAsset.
|
com.corticon.rulebuilder.IAliasUtilities |
getAliasUtilities()
Return an instance of alias utilities service.
|
java.util.List |
getAllLogicalVariables(java.util.List aListLogicalVariables,
java.util.List aList)
Return a list of all Logical Variables.
|
java.lang.String |
getConvertedAliasName(java.lang.String astrAliasName)
This method will take in the astrAliasName and verify that it conforms to Corticon's naming
standards.
|
java.lang.String |
getLogicalVariablePath(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable,
boolean abBase)
Given a LogicalVariable instance, traverse upwards formatting in order to construct
a base or localized string representation of the alias starting with the root entity or alias name.
|
java.lang.String |
getNewRulesheetName(org.eclipse.emf.common.util.URI aURIContainer)
Given the URI of a container in the storage system, create a new unique Rulesheet
name using sequence numbers if necessary.
|
java.lang.String |
getNextAvailableAliasName(java.lang.String astrAliasName)
This method will take in the astrAliasName that is passed in and verify that it is unique in the Rulesheet.
|
java.lang.String |
getNextAvailableConvertedAliasName(java.lang.String astrAliasName)
This method will take in the astrAliasName and call into getConvertedAliasName(String) and
getNextAvailableAliasName(String) to return a recommended alias name.
|
IOperationsModelAPI |
getOperationsModelAPI()
Return an instance of the Operations model API with its state set identically to *this* API.
|
com.corticon.rulebuilder.IParser |
getParser()
Return an instance of the parsing service.
|
com.corticon.rulebuilder.IRulebuilderFactory |
getRulebuilderFactory()
Return an instance of IRulebuilder factory.
|
com.corticon.rulebuilder.ISemanticAnalysis |
getSemanticAnalysis()
Return an instance of the semantic analysis service.
|
int |
getTotalNumberOfRules()
Returns the total number of Rules for the Rulesheet
|
IDomain |
getVocabulary()
Get vocabulary
|
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.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.Action |
insertAction(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule aPRule,
int aiIndex)
Insert a new Action instance into the specified PRule.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.Condition |
insertCondition(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule aPRule,
int aiIndex)
Insert a new Condition instance into the specified PRule.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule |
insertRule(int aiIndex)
Insert a new PRule instance into the PRuleset.
|
boolean |
isDatabaseAccessEnabled()
Method to return an indication of whether database access support is enabled.
|
boolean |
isDatabaseEnabled(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable)
Method to determine whether a given LogicalVariable should be considered database enabled.
|
boolean |
isDeployable()
Return an indication of whether this asset is deployable (i.e., whether the asset has any un-demoted errors).
|
boolean |
isFilterDatabaseReady(com.corticon.rulesemf.canonicalrulemodel.rulesheet.Filter aFilter)
Determine if the input filter is a possible database query
|
boolean |
isProcessAllLogicalLoops()
Returns true, if the OperationMode is set to
EngineOperationMode.PROCESS_ALL_LOGICAL_LOOPS
|
boolean |
isProcessMultiRuleLogicalLoops()
Returns true, if the OperationMode is set to
EngineOperationMode.PROCESS_MULTI_RULE_LOGICAL_LOOPS
|
boolean |
isVocabularyAvailable()
Determine whether the Vocabulary for this Rulesheet is available.
|
com.corticon.rulesemf.expression.OpaqueExpression |
makeOpaqueExpression(java.lang.String astrValue)
Factory method to create an OpaqueExpression from a string.
|
com.corticon.rulesemf.canonicalrulemodel.rulesheet.RulesheetString |
makeRulesheetString(java.lang.String astrValue)
Factory method to create a RulesheetString from a string.
|
boolean |
removeAction(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule aPRule,
com.corticon.rulesemf.canonicalrulemodel.rulesheet.Action aAction)
Remove an Action from the specified PRule.
|
boolean |
removeCondition(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule aPRule,
com.corticon.rulesemf.canonicalrulemodel.rulesheet.Condition aCondition)
Remove a Condition from the specified rule.
|
boolean |
removeFilter(com.corticon.rulesemf.canonicalrulemodel.rulesheet.Filter aFilter)
Remove a Filter from the PRuleset.
|
boolean |
removeLogicalVariable(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable)
Remove a LogicalVariable from the Rulesheet.
|
boolean |
removeReferencedAttribute(com.corticon.rulesemf.canonicalrulemodel.rulesheet.ReferencedAttribute aReferencedAttribute)
Remove a ReferencedAttribute.
|
boolean |
removeRule(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule aPRule)
Remove a rule from the rule set.
|
boolean |
removeRuleStatement(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement)
Remove a RuleStatement from the rule set.
|
boolean |
renameRulesheet(org.eclipse.emf.common.util.URI aURIRulesheetNew)
Rename the specified Rulesheet.
|
boolean |
setActionExpression(com.corticon.rulesemf.canonicalrulemodel.rulesheet.Action aAction,
java.lang.String astrExpression)
Sets the expression within the specified Action instance.
|
boolean |
setConditionExpression(com.corticon.rulesemf.canonicalrulemodel.rulesheet.Condition aCondition,
java.lang.String astrExpression)
Sets the expression within the specified Condition instance.
|
boolean |
setFilterExpression(com.corticon.rulesemf.canonicalrulemodel.rulesheet.Filter aFilter,
java.lang.String astrExpression)
Sets the logical expression within the specified Filter instance.
|
boolean |
setLocalizationLogicalVariableName(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable,
java.lang.String astrAlias,
int aiLocalizationIndex)
Set the localized logical variable name (alias).
|
boolean |
setLocalizationRuleStatementText(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrText,
int aiLocalizationIndex)
Set the localized rule statement text in a RuleStatement instance.
|
boolean |
setLogicalLoopEnabled(boolean abLogicalLoopEnabled)
Deprecated.
Use PRuleset EngineOperationMode PROCESS_ALL_LOGICAL_LOOPS.
|
boolean |
setLogicalVariableExtendToDatabase(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable,
boolean abExtendToDatabase)
Set the Logical Variable extend to database flag.
|
boolean |
setLogicalVariableName(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable,
java.lang.String astrLogicalVariableName)
Set the Logical Variable name.
|
boolean |
setLogicalVariableQualifier(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable,
IEntity aIEntity)
Set the Logical Variable qualifier.
|
void |
setProcessAllLogicalLoops(boolean isAllLogicalLoops)
Set the OperationMode EngineOperationMode.PROCESS_ALL_LOGICAL_LOOPS_LITERAL for PRuleset
if the given flag isAllLogicalLoops is true, otherwise set the OperationMode
EngineOperationMode.IGNORE_LOGICAL_LOOPS_LITERAL
|
void |
setProcessMultiRuleLogicalLoops(boolean isMultiRuleLogicalLoops)
Set the OperationMode EngineOperationMode.PROCESS_MULTI_RULE_LOGICAL_LOOPS_LITERAL for PRuleset
if the given flag isMultiRuleLogicalLoops is true, otherwise set the OperationMode
EngineOperationMode.IGNORE_LOGICAL_LOOPS_LITERAL
|
boolean |
setRuleOverrides(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule aPRule,
java.util.List aListOverriddenRules)
Set the overrides specifications for a given rule.
|
boolean |
setRuleStatementAlias(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrAlias)
Set the rule statement Alias in a RuleStatement instance.
|
boolean |
setRuleStatementCategory(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrCategory)
Set the rule statement Category in a RuleStatement instance.
|
boolean |
setRuleStatementComments(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrComments)
Set the rule statement Comments in a RuleStatement instance.
|
boolean |
setRuleStatementID(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrRuleStatementID)
Sets the rule statement ID in a RuleStatement instance.
|
boolean |
setRuleStatementPostSeverity(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
com.corticon.rulesemf.canonicalrulemodel.rulesheet.MessageSeverity aMessageSeverity)
Set the rule statement Post Severity in a RuleStatement instance.
|
boolean |
setRuleStatementRuleLink(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrRuleLink)
Set the rule statement Rule Link in a RuleStatement instance.
|
boolean |
setRuleStatementRuleModelElements(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.util.List aListModelElements)
Set the list of rule model elements associated with this RuleStatement instance.
|
boolean |
setRuleStatementRuleName(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrRuleName)
Set the rule statement Rule Name in a RuleStatement instance.
|
boolean |
setRuleStatementSourceLink(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrSourceLink)
Set the rule statement Source Link in a RuleStatement instance.
|
boolean |
setRuleStatementSourceName(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrSourceName)
Set the rule statement Source Name in a RuleStatement instance.
|
boolean |
setRuleStatementText(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrText)
Set the rule statement Text in a RuleStatement instance.
|
boolean |
setVocabulary(IDomain aDomain)
Set the Rulesheet Vocabulary, technically a reference to the ecore
root EPackage.
|
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, validateLicensegetAttributeDataType, getAttributeDataTypeSubType, getFullyQualifiedEntityName, getMethodDataType, getMethodParamTypes, getRoleDataType, getRoleMultiplicity, isAttributeMandatory, isEntityByName, isExternalEntityByName, isRoleOfEntity, isSubTypeOf, isValidEntityAttribute, isValidEntityMethodcom.corticon.rulesemf.canonicalrulemodel.rulesheet.Action addAction(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule aPRule,
int aiIndex)
aPRule - PRule to which new Action should be added.aiIndex - Index of new instance.com.corticon.rulesemf.canonicalrulemodel.rulesheet.Condition addCondition(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule aPRule,
int aiIndex)
aPRule - PRule to which new Condition should be added.aiIndex - Index of new instance.com.corticon.rulesemf.canonicalrulemodel.rulesheet.Filter addFilter(int aiIndex)
aiIndex - Index of new instance.com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable addLogicalVariable(org.eclipse.emf.ecore.EClass aEClass,
int aiIndex)
aEClass - EClass type that the new variable will represent.aiIndex - Index of new instance.com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable addLogicalVariable(IEntity aIEntity, int aiIndex)
aIEntity - IEntity type that the new variable will represent.aiIndex - Index of new instance.com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable addLogicalVariable(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable,
org.eclipse.emf.ecore.EReference aEReference,
int aiIndex)
aLogicalVariable - LogicalVariable from which the new LogicalVariable will be extended.aEReference - EReference to representing traversed association role.aiIndex - Index of new instance.com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable addLogicalVariable(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable,
IAssociationEnd aIAssociationEnd,
int aiIndex)
aIAssociationEnd - AssociationEnd from which the new LogicalVariable will be extended.aEReference - EReference to representing traversed association role.aiIndex - Index of new instance.com.corticon.rulesemf.canonicalrulemodel.rulesheet.ReferencedAttribute addReferencedAttribute(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable,
IAttribute aIAttribute,
int aiIndex)
aLogicalVariable - LogicalVariable to which the new ReferencedAtribute will be added.aIAttribute - Attribute facade representing new attribute to be added.aiIndex - Index of new instance.com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule addRule(int aiIndex)
aiIndex - Index of new instance.com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement addRuleStatement(int aiIndex)
aiIndex - Index of new instance.com.corticon.rulesemf.canonicalrulemodel.rulesheet.Action createAction()
com.corticon.rulesemf.canonicalrulemodel.rulesheet.Condition createCondition()
com.corticon.rulesemf.canonicalrulemodel.rulesheet.Filter createFilter()
com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule createRule()
com.corticon.rulesemf.assetmodel.RulesheetAsset createRulesheet(org.eclipse.emf.common.util.URI aURIRulesheet)
aURIRulesheet - New Rulesheet URI.com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement createRuleStatement()
void deleteRulesheet()
IEntity findEntity(java.lang.String astrEntityName)
astrEntityName - Unqualified entity name appearing in Scope.com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable findLogicalVariableImplicit(java.lang.String astrInput)
astrInput - Alias, implicit variable or combination.null.com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable findLogicalVariable(java.lang.String astrAlias)
astrAlias - Input alias.com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRuleset findRuleset()
com.corticon.rulesemf.assetmodel.RulesheetAsset findRulesheetAsset()
com.corticon.rulesemf.canonicalrulemodel.rulesheet.Action insertAction(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule aPRule,
int aiIndex)
aPRule - PRule to which new Action should be added.aiIndex - Index of new instance.com.corticon.rulesemf.canonicalrulemodel.rulesheet.Condition insertCondition(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule aPRule,
int aiIndex)
aPRule - PRule to which new Condition should be added.aiIndex - Index of new instance.com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule insertRule(int aiIndex)
aiIndex - Index of new instance.com.corticon.rulesemf.expression.OpaqueExpression makeOpaqueExpression(java.lang.String astrValue)
astrValue - Value string.null.com.corticon.rulesemf.canonicalrulemodel.rulesheet.RulesheetString makeRulesheetString(java.lang.String astrValue)
astrValue - Value string.null.com.corticon.rulebuilder.IAliasUtilities getAliasUtilities()
IOperationsModelAPI getOperationsModelAPI()
com.corticon.rulebuilder.IParser getParser()
com.corticon.rulebuilder.IRulebuilderFactory getRulebuilderFactory()
com.corticon.rulebuilder.ISemanticAnalysis getSemanticAnalysis()
java.lang.String getNewRulesheetName(org.eclipse.emf.common.util.URI aURIContainer)
aURIContainer - URI of container.IVocabularyModelAPI getVocabularyModelAPI()
org.eclipse.emf.common.util.URI getVocabularyURI()
boolean isVocabularyAvailable()
true if Vocabulary is available.boolean removeAction(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule aPRule,
com.corticon.rulesemf.canonicalrulemodel.rulesheet.Action aAction)
aPRule - PRule from which Action will be removed.aAction - Action to be removed.true if the command was successful.boolean removeCondition(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule aPRule,
com.corticon.rulesemf.canonicalrulemodel.rulesheet.Condition aCondition)
aPRule - PRule from which condition will be removed.aCondition - Condition to be removed.true if the command was successful.boolean removeFilter(com.corticon.rulesemf.canonicalrulemodel.rulesheet.Filter aFilter)
aFilter - Filter to be removed.true if the command was successful.boolean removeLogicalVariable(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable)
aLogicalVariable - LogicalVariable to be removed.true if the command was successful.boolean removeReferencedAttribute(com.corticon.rulesemf.canonicalrulemodel.rulesheet.ReferencedAttribute aReferencedAttribute)
aReferencedAttribute - ReferencedAttribute to be removed.true if the command was successful.boolean removeRule(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule aPRule)
aPRule - PRule to be removed.true if the command was successful.boolean removeRuleStatement(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement)
aRuleStatement - RuleStatement to be removed.true if the command was successful.boolean renameRulesheet(org.eclipse.emf.common.util.URI aURIRulesheetNew)
aURIRulesheetNew - New Rulesheet URI.true if the command was successful.boolean setActionExpression(com.corticon.rulesemf.canonicalrulemodel.rulesheet.Action aAction,
java.lang.String astrExpression)
aAction - Action to update.astrExpression - Action expression.true if the set command was successful.boolean setConditionExpression(com.corticon.rulesemf.canonicalrulemodel.rulesheet.Condition aCondition,
java.lang.String astrExpression)
aCondition - Condition to update.astrExpression - Condition expression.true if the set command was successful.boolean setFilterExpression(com.corticon.rulesemf.canonicalrulemodel.rulesheet.Filter aFilter,
java.lang.String astrExpression)
aFilter - Filter instance to update.astrExpression - Filter expression.true if the set command was successful.boolean setLocalizationLogicalVariableName(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable,
java.lang.String astrAlias,
int aiLocalizationIndex)
aLogicalVariable - LogicalVariable whose alias is to be set.astrAlias - Alias name.aiLocalizationIndex - Localization index.true if the set command was successful.boolean setLocalizationRuleStatementText(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrText,
int aiLocalizationIndex)
aRuleStatement - RuleStatement instance to be updated.astrText - Rule statement text.aiLocalizationIndex - Localization index.true if the set command was successful.boolean setLogicalLoopEnabled(boolean abLogicalLoopEnabled)
aRulesheet - Instance of Rulesheet to be affected.abLogicalLoopEnabled - Logical loop enabled indicator.true if the set command was successful.boolean setLogicalVariableExtendToDatabase(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable,
boolean abExtendToDatabase)
aLogicalVariable - LogicalVariable instance.abExtendToDatabase - Extend to database flag true or false.true if the set command was successful.boolean setLogicalVariableName(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable,
java.lang.String astrLogicalVariableName)
aLogicalVariable - LogicalVariable whose name is to be set.astrLogicalVariableName - Logical variable name.true if the set command was successful.boolean setLogicalVariableQualifier(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable,
IEntity aIEntity)
aLogicalVariable - LogicalVariable whose qualifier is to be set.aIEntity - Entity qualifier for this logical variable.true if the set command was successful.boolean setRuleOverrides(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRule aPRule,
java.util.List aListOverriddenRules)
aPRuleOverriding - Overriding rule.aListOverriddenRules - List of overridden rules.boolean setRuleStatementID(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrRuleStatementID)
aRuleStatement - RuleStatement instance to be updated.astrID - Rule statement ID.true if the set command was successful.boolean setRuleStatementPostSeverity(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
com.corticon.rulesemf.canonicalrulemodel.rulesheet.MessageSeverity aMessageSeverity)
aRuleStatement - RuleStatement instance to be updated.aMessageSeverity - MessageSeverity enumerated value.true if the set command was successful.boolean setRuleStatementAlias(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrAlias)
aRuleStatement - RuleStatement instance to be updated.astrAlias - Alias (e.g., Order.item).true if the set command was successful.boolean setRuleStatementText(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrText)
aRuleStatement - RuleStatement instance to be updated.astrText - Rule statement text.true if the set command was successful.boolean setRuleStatementRuleName(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrRuleName)
aRuleStatement - RuleStatement instance to be updated.astrRuleName - Rule statement Rule Name.true if the set command was successful.boolean setRuleStatementRuleLink(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrRuleLink)
aRuleStatement - RuleStatement instance to be updated.astrRuleLink - Rule statement Rule Link.true if the set command was successful.boolean setRuleStatementSourceName(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrSourceName)
aRuleStatement - RuleStatement instance to be updated.astrSourceName - Rule statement Source Name.true if the set command was successful.boolean setRuleStatementSourceLink(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrSourceLink)
aRuleStatement - RuleStatement instance to be updated.astrSourceLink - Rule statement Source Link.true if the set command was successful.boolean setRuleStatementCategory(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrCategory)
aRuleStatement - RuleStatement instance to be updated.astrCategory - Rule statement Category.true if the set command was successful.boolean setRuleStatementComments(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.lang.String astrComments)
aRuleStatement - RuleStatement instance to be updated.astrComments - Rule statement Comments.true if the set command was successful.boolean setRuleStatementRuleModelElements(com.corticon.rulesemf.canonicalrulemodel.rulesheet.RuleStatement aRuleStatement,
java.util.List aListModelElements)
aListModelElements - List of model elements (typically PRule, Condition and Action instances).true if the set command was successful.boolean setVocabulary(IDomain aDomain)
aDomain - java.util.List getAllLogicalVariables(java.util.List aListLogicalVariables,
java.util.List aList)
aListLogicalVariables - Logical variables to process.aList - List to be accumulated (updated in place recursively).java.lang.String getLogicalVariablePath(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable,
boolean abBase)
getLogicalVariablePath in interface com.corticon.rulebuilder.IScopeUtilitiesaLogicalVariable - LogicalVariable for which alias name should be returned.abBase - true to return string in base form.IDomain getVocabulary()
boolean isProcessAllLogicalLoops()
void setProcessAllLogicalLoops(boolean isAllLogicalLoops)
isAllLogicalLoops - boolean isProcessMultiRuleLogicalLoops()
void setProcessMultiRuleLogicalLoops(boolean isMultiRuleLogicalLoops)
isMultiRuleLogicalLoops - java.lang.String getConvertedAliasName(java.lang.String astrAliasName)
astrAliasName - java.lang.String getNextAvailableAliasName(java.lang.String astrAliasName)
astrAliasName - java.lang.String getNextAvailableConvertedAliasName(java.lang.String astrAliasName)
astrAliasName - int getTotalNumberOfRules()
boolean isDatabaseEnabled(com.corticon.rulesemf.canonicalrulemodel.rulesheet.LogicalVariable aLogicalVariable)
aLogicalVariable - LogicalVariable to test.true if LogicalVariable is effectively database enabled.boolean isDatabaseAccessEnabled()
true if database access is enabled.boolean isDeployable()
true if the asset is deployable.boolean isFilterDatabaseReady(com.corticon.rulesemf.canonicalrulemodel.rulesheet.Filter aFilter)
aFilter - Copyright © 2005-2013 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.