public interface ITestsheetTreeSetModelAPI extends ITestsheetModelAPI
| Modifier and Type | Method and Description |
|---|---|
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.MessageItem |
addMessage(boolean abExpected,
int aiSeverity,
java.lang.String astrText,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Add a Info, Warning or Violation message to the messages table.
|
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestAssociationHref |
addTestAssociationHref(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeSource,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeTarget,
org.eclipse.emf.ecore.EReference aEReference)
Deprecated.
Clean up of ModelAPI for EMF parameter 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.viewtestmodel.testsheet.treeset.TestAssociationHref |
addTestAssociationHref(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeSource,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeTarget,
IAssociationEnd aIAssociationEnd)
Add a new HREF-style association to the specified test node.
|
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestAssociationImbedded |
addTestAssociationImbedded(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
org.eclipse.emf.ecore.EReference aEReference)
Deprecated.
Clean up of ModelAPI for EMF parameter 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.viewtestmodel.testsheet.treeset.TestAssociationImbedded |
addTestAssociationImbedded(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
IAssociationEnd aIAssociationEnd)
Add a new imbedded association to the specified test node.
|
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestAssociationImbedded |
addTestAssociationImbeddedAndTargetEntityAttributes(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
IAssociationEnd aIAssociationEnd)
Add a new imbedded association to the specified test node, including attributes.
|
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestAssociationImbedded |
addTestAssociationImbeddedAndTargetEntityAttributes(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
IAssociationEnd aIAssociationEnd,
boolean abDeclaredOnly)
Add a new imbedded association to the specified test node, including attributes.
|
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestAttribute |
addTestAttribute(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
org.eclipse.emf.ecore.EAttribute aEAttribute)
Deprecated.
Clean up of ModelAPI for EMF parameter 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.viewtestmodel.testsheet.treeset.TestAttribute |
addTestAttribute(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
org.eclipse.emf.ecore.EAttribute aEAttribute,
IEntity aIEntity)
Deprecated.
Clean up of ModelAPI for EMF parameter 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.viewtestmodel.testsheet.treeset.TestAttribute |
addTestAttribute(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
IAttribute aIAttribute)
Add a new attribute to specified test node.
|
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestAttribute |
addTestAttribute(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
IAttribute aIAttribute,
IEntity aIEntity)
Deprecated.
No need to supply IEntity, it can be inferred from IAttribute.
|
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestEntity |
addTestEntity(int aiTreeviewID,
org.eclipse.emf.ecore.EClass aEClass)
Deprecated.
Clean up of ModelAPI for EMF parameter 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.viewtestmodel.testsheet.treeset.TestEntity |
addTestEntity(int aiTreeviewID,
IEntity aIEntity)
Add a new entity to the specified test.
|
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestEntity |
addTestEntityAndAttributes(int aiTreeviewID,
IEntity aIEntity)
Add a new entity to the specified test.
|
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestEntity |
addTestEntityAndAttributes(int aiTreeviewID,
IEntity aIEntity,
boolean abDeclaredOnly)
Add a new entity to the specified test.
|
boolean |
addTestNodesFromSelection(int aiTreeviewID,
Selection aSelection,
java.lang.Object aObjectTarget)
Given a Selection instance consisting of a collection of EMF Vocabulary
nodes, drop all of them onto the specified test tree.
|
boolean |
addTestNodesFromVocabulary(int aiTreeviewID,
IElement aIElementSource,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeTarget)
Add an appropriate test node to the tree based on the type of aIElementSource and aTestNodeTarget.
|
boolean |
addTestNodesFromVocabulary(int aiTreeviewID,
IElement aIElementSource,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeTarget,
boolean abAddInheritedAttributes)
Add an appropriate test node to the tree based on the type of aIElementSource and aTestNodeTarget.
|
boolean |
addTestNodesFromVocabulary(int aiTreeviewID,
IElement aIElementSource,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeTarget,
boolean abAddInheritedAttributes,
boolean abAddHref)
Deprecated.
Parameter abAddHRef plays no role, this overload is not needed.
|
boolean |
clearMessages(boolean abExpected)
Clear messages from the specified table.
|
boolean |
clearOutput()
Clear output tree.
|
boolean |
clearOutput(boolean abExpected)
Clear output tree or expected output tree if parameter is true.
|
void |
copy(Selection aSelection)
Copy the selection to the system clipboard.
|
boolean |
copyToExpected()
Copy all tree nodes from from output to expected trees.
|
boolean |
copyToExpected(int aiFromTreeviewID,
int aiToTreeviewID)
Deprecated.
Use copyToExpected (no arguments) instead.
|
void |
cut(Selection aSelection)
Cut the selection to the system clipboard.
|
void |
delete(Selection aSelection)
Delete the selected area.
|
boolean |
deployRuleAsset()
Deploy the RuleAsset of the currently-selected Testsheet.
|
void |
displayDragFeedbackMessageBox(java.lang.Object aObjectSource,
java.lang.Object aObjectTarget,
int aiFeedbackCode)
Given a specific feedback code, display a localized message in a message box.
|
void |
displayNoPotentialTargetsMessageBox(int aiTreeviewID,
IAssociationEnd aIAssociationEnd,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Display a message box indicating that no potential targets exist for a nascent
HREF-style association.
|
boolean |
executeTest()
Deprecated.
Use runTest() instead.
|
boolean |
expandTree1LikeTree2(int aiTreeviewID1,
int aiTreeviewID2)
Set the expand/collapse states of tree nodes in one tree according to the
states of nodes in another tree.
|
boolean |
exportTestsheetExpectedToSOAP(org.eclipse.emf.common.util.URI aURIExportedFileSelected)
Export the selected Testsheet's Output Tree to an SOAP document.
|
boolean |
exportTestsheetExpectedToXML(org.eclipse.emf.common.util.URI aURIExportedFileSelected)
Export the selected Testsheet's Output Tree to an XML document.
|
boolean |
exportTestsheetInputToSOAP(org.eclipse.emf.common.util.URI aURIExportedFileSelected)
Export the selected Testsheet's Input Tree to an SOAP document.
|
boolean |
exportTestsheetInputToXML(org.eclipse.emf.common.util.URI aURIExportedFileSelected)
Export the selected Testsheet's Input Tree to an XML document.
|
boolean |
exportTestsheetOutputToSOAP(org.eclipse.emf.common.util.URI aURIExportedFileSelected)
Export the selected Testsheet's Output Tree to an SOAP document.
|
boolean |
exportTestsheetOutputToXML(org.eclipse.emf.common.util.URI aURIExportedFileSelected)
Export the selected Testsheet's Output Tree to an XML document.
|
boolean |
exportTestsheetToWSDL(org.eclipse.emf.common.util.URI aURIExportedFileSelected,
java.lang.String astrDefaultDecisionServiceName)
Export the selected Testsheet's Input and Expected trees to a WSDL.
|
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.MessageSection |
findMessageSection(boolean abExpected)
Finder for expected MessageSection.
|
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode |
findTestRoot(int aiTreeViewID)
Find the root node for the specified tree identifier.
|
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode |
findTestRoot(int aTestsheetAssetIndex,
int aiTreeViewID)
Finds the TestsheetAsset based on the given index and
returns the root node for the specified tree identifier.
|
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestTreeSet |
findTestTreeSet()
Finder for TestTreeSet.
|
void |
generateDataTree()
This method will add in an appropriate set of data into the Input Tree based on the full context of the
Ruleflow (using the Work Document Entity as the Root Entity) or the Rulesheet (using first level Entities in the
Rulesheet's Scope as Root Entities).
|
java.lang.String |
getCellValue(int aiMatrixID,
int aiColumnIndex,
int aiRowIndex)
Get the Testsheet cell value from the specified matrix, row and column index.
|
java.lang.String |
getComments(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Return the comments associated with the specified test node.
|
java.lang.String |
getDatabaseId(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Get the database id attribute of the passed test node.
|
java.util.ArrayList |
getDepthFirstList(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Return tree nodes as a depth-first list, starting with the
children of the specified TestNode instance.
|
int |
getDragFeedback(int aiTreeviewID,
java.lang.Object aObjectSource,
java.lang.Object aObjectTarget)
Given tentative drag source and drop target nodes, return a feedback code that
specifies whether the drop could be successfully processed.
|
int |
getDragFeedback(int aiTreeviewID,
java.lang.Object aObjectSource,
java.lang.Object aObjectTarget,
boolean abHrefValidation)
Given tentative drag source and drop target nodes, return a feedback code that specifies
whether the drop could be successfully processed.
|
java.util.List |
getDragFeedback(int aiTreeviewID,
Selection aSelection,
java.lang.Object aObjectTarget)
Given a drop target and a Selection of drag source nodes, return an ArrayList
of feedback codes (type Integer) corresponding to the order of drag source nodes
specified in the Selection.
|
int |
getEditorType(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Get the type of editor, used to determine type of control to display to user. i.e, Text box,
Combo box or any other type.
|
java.lang.String |
getEntityDomainHierarchy(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestEntity aTestEntity)
Returns domain hierarchy of Entity represented by the given TestEntity.
|
java.lang.String |
getEnumerationLabelBasedOnValue(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestAttribute aTestAttribute,
java.lang.String astrValue)
Return the Localized Label for that particular TestAttribute and base value
|
IElement |
getFacade(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Find a facade for the specified test node.
|
java.util.List |
getInputTestNodeChildren(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Deprecated.
Link to previous is now a copy rather than link issue.
|
java.lang.String |
getJavaHome()
Get the java home for launching java executable when compiling the rules
out-of-process.
|
java.util.List |
getListCellItems(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Return a list from the custom data type enumeration identified by the specified TestNode.
|
java.util.List |
getListEnumerationExpression(IAttribute aIAttribute)
Return a list from the custom data type enumeration identified by the specified expression.
|
int |
getMessageSeverity(int aiMatrixID,
int aiRowIndex)
Get an integer value representing the severity level of specified message row.
|
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.ValidationIssue |
getNodeIssue(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Query for the state of the node's validation issue.
|
int |
getRowCountActual(int aiMatrixID)
Return the number of rows currently used in specified matrix.
|
int |
getRowCountDisplayed(int aiMatrixID)
Return the number of rows displayed in the specified matrix.
|
Selection |
getSelection()
Get selection
|
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.Source |
getSource(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Return the Souce comments associated with the specified test node.
|
IEntity |
getTestNodeActualType(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Return the IEntity facade representing the actual type for a given TestNode.
|
java.util.List |
getTestNodeChildren(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Get a list of children of the specified test node as necessary to
render the Test Tree view.
|
java.lang.String |
getTestNodeComments(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Given a TestNode instance return the comments associated
with the node.
|
int |
getTestNodeIcon(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Given a TestNode instance, return an integer constant corresponding to the
icon to be displayed (e.g., ITestsheetTreeSetTableModelAPI.ICON_TEST_ENTITY).
|
int |
getTestNodeID(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Deprecated.
Use getTestNodeValue instead.
|
java.lang.String |
getTestNodeName(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Given a TestNode instance, return the name (localized value).
|
java.lang.String |
getTestNodeNameBase(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Given a TestNode instance, return the name (base value).
|
java.lang.String |
getTestNodeNameEntity(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Given a TestNode instance, return a "formatted" name consisting of the localized entity
name plus the node identifier in brackets.
|
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode |
getTestNodeParent(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Get the parent of the specified TestNode instance as necessary to
render the Test Tree view.
|
java.lang.String |
getTestNodeText(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Given a TestNode instance, return localized text to be displayed adjacent
to the icon in the Test Tree.
|
java.lang.String |
getTestNodeText(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
boolean abReturnAttributeValue,
boolean abReturnId,
boolean abReturnComments)
Given a TestNode instance, return localized text to be displayed adjacent to the icon in the
Test Tree.
|
java.lang.String |
getTestNodeText(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
boolean abReturnAttributeValue,
boolean abReturnId,
boolean abReturnComments,
boolean abReturnDatastoreId)
Given a TestNode instance, return localized text to be displayed adjacent to the icon in the
Test Tree.
|
java.lang.String |
getTestNodeValue(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Return the localized value associated with the specified TestNode instance.
|
boolean |
goToEntity(Selection aSelection)
Select the target of a selected HREF-style association.
|
boolean |
hasErrors(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
boolean abRecursive)
Return true if the TestNode has errors.
|
boolean |
hasWarnings(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
boolean abRecursive)
Return true if the TestNode has warnings.
|
boolean |
importXMLSOAP(org.eclipse.emf.common.util.URI aURIImportFileSelected)
Import the XML or SOAP document into the current Testsheet.
|
boolean |
isAllowedDropTestNode(int aiTreeviewID,
java.lang.Object aObjectSource,
java.lang.Object aObjectTarget)
Determine whether the specified TestNode drop is allowable.
|
boolean |
isAllowedDropTestNodesFromSelection(int aiTreeviewID,
Selection aSelection,
java.lang.Object aObjectTarget)
Given a Selection of Vocabulary nodes, determine whether *all* of the nodes
can be successfully dropped on the target.
|
boolean |
isDatabaseModeNone()
Determine whether None function is currently set.
|
boolean |
isDatabaseModeReadOnly()
Determine whether None function is currently set.
|
boolean |
isDatabaseModeReadWrite()
Determine whether ReadWrite function is currently set.
|
boolean |
isEnabledCopy(Selection aSelection)
Determine whether copy function is enabled.
|
boolean |
isEnabledCut(Selection aSelection)
Determine whether cut function is enabled.
|
boolean |
isEnabledDatabaseModeNone()
Determine whether DatabaseMode None function is enabled.
|
boolean |
isEnabledDatabaseModeReadOnly()
Determine whether DatabaseMode Read Only function is enabled.
|
boolean |
isEnabledDatabaseModeReadWrite()
Determine whether DatabaseMode ReaWrite function is enabled.
|
boolean |
isEnabledDelete(Selection aSelection)
Determine whether delete function is enabled.
|
boolean |
isEnabledGenerateDataTree()
Determine whether Generate Data Tree function is enabled.
|
boolean |
isEnabledGoToEntity()
Determine whether Go To Entity function is enabled.
|
boolean |
isEnabledPaste(Selection aSelection)
Determine whether paste function is enabled.
|
boolean |
isEnabledReturnEntityModeAll()
Determine whether ReturnEntytMode All function is enabled.
|
boolean |
isEnabledReturnEntityModeIncomingAndNew()
Determine whether ReturnEntityMode Incoming and New function is enabled.
|
boolean |
isEnabledRunTest()
Determine whether Run Test function is enabled.
|
boolean |
isEnabledSetToNull()
Determine whether Set To Null function is enabled.
|
boolean |
isEnabledSortEntities(Selection aSelection)
Determine whether Sort Entities function is enabled.
|
boolean |
isMismatchBetweenOutputAndExpectedTrees()
Determines whether the Output Tree matches the Expected Tree.
|
boolean |
isNodeExpanded(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Determine whether the given test node is currently expanded.
|
boolean |
isNodeLinkToPreviousOverride(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Determine whether the given test node is a manually-created node
that overrides engine output in a link-to-previous Testsheet.
|
boolean |
isNodeManuallyCreated(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Determine whether the given test node is manually-created.
|
boolean |
isNodeNewOrModified(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Determine whether the given test node is new or modified and whether it exists
in either the output or expected trees.
|
boolean |
isNodePassed(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Determine if a TestNode has been designated as passing validation.
|
boolean |
isReturnEntityModeAll()
Determine whether Return All Entities function is currently set.
|
boolean |
isReturnEntityModeIncomingAndNew()
Determine whether ReturnEntityMode Incoming and New function is currently set.
|
boolean |
isRuleMessageTestNodeHighlighted(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
This will return true if the TreeNode argument is selected based on the Selection Object related to teh Messages View.
|
boolean |
isSameInstance(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeOne,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeTwo)
Determine whether two TestNode instances represent the same data instance.
|
boolean |
isSameInstance(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeOne,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeTwo,
boolean abStrict)
Determine whether two TestNode instances represent the same data instance.
|
boolean |
isSameInstance(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeOne,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeTwo,
boolean abStrict,
boolean abPStrict)
Determine whether two TestNode instances represent the same data instance.
|
int |
isSelectionValidToDrop(int aiTreeviewID,
java.lang.Object aObjectSource,
java.lang.String aStrTreeItemParentName,
java.lang.String aStrTreItemName,
java.lang.Object aObjectTarget)
Deprecated.
Use
isAllowedDropTestNode(int aiTreeviewID, Object aObjectSource, Object aObjectTarget); |
boolean |
isTreesetTestNodeSelected(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
This will return true if the TreeNode argument is selected based on the Selection Object.
|
void |
linkToPrevious(boolean abCascade)
Process tree nodes as necessary to handle link-to-previous state change.
|
void |
paste(Selection aSelection)
Paste the system clipboard into the selected area.
|
boolean |
removeTestNode(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
Remove an existing node from the test tree section, implicitly deleting
all child nodes.
|
void |
resolveAllRuleAssetsInCurrentTestSheet()
This method is to ensure that the RuleAsset associated with the Testsheet has been resolved.
|
boolean |
runTest()
Run the currently-selected Testsheet.
|
boolean |
setComments(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode testNode,
java.lang.String comments)
Set the comments attribute of the passed test node.
|
boolean |
setDatabaseId(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode testNode,
java.lang.String databaseId)
Set the database id attribute of the passed test node.
|
void |
setJavaHome(java.lang.String astrJavaHome)
Set the java home that will be used to locate java executable
for compiling rules out-of-process.
|
boolean |
setMessageColumnWidthMessage(boolean abExpected,
int aiWidth)
Set the message table Message column width.
|
boolean |
setMessageColumnWidthSeverity(boolean abExpected,
int aiWidth)
Set the message table Severity column width.
|
boolean |
setMessageScrollRowTop(boolean abExpected,
int aiRowIndexTop)
Set the message section scroll row top.
|
boolean |
setNodeExpanded(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
boolean abExpanded)
Set the expanded state of a given TestNode.
|
boolean |
setNodeID(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
int aiNodeID)
Deprecated.
Use setTestNodeValue instead.
|
boolean |
setNodeIssue(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.ValidationIssue aValidationIssue)
Set the validation issue of the test node
|
boolean |
setNodePassed(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
boolean abPassed)
Set the passed feature of the test node.
|
boolean |
setNodeValue(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestCharacteristic aTestCharacteristic,
java.lang.String astrValue)
Deprecated.
Use setTestNodeValue instead.
|
boolean |
setSelection(Selection aSelection)
Set the selection state of the tree set.
|
boolean |
setSource(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.Source aSource)
Set the source attribute of the passed test node.
|
void |
setTestNodeValue(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
java.lang.String astrValue)
Set the data value or node ID associated with the specified TestNode instance.
|
boolean |
setToNull(Selection aSelection)
Given a Selection of TreeNode instances, set the value
of each TreeNode to
null. |
boolean |
sortEntities(int aiTreeViewID)
Find the root node for the specified tree identifier and sort its children entities.
|
boolean |
sortMessageView(int parameter)
Sort the MessageView, depends on passed parameter.
|
boolean |
validateTestResults()
Compare the output tree to the expected results tree.
|
addTestsheet, createInput, createOutput, createPostedMessage, findInput, findOutput, findRuletestAsset, findTestsheet, findTestsheetAsset, findTestsheetAsset, findTestsheetAssetIndex, findTestSubject, getDatabaseMode, getReturnEntityMode, getRuleflowDiagramModelAPI, getRuleflowModelAPI, getRulesheetModelAPI, getRulesheetTableModelAPI, getSelectedTestsheetIndex, getSelectedTestTab, getTestSubjectPath, getTestSubjectURI, getTooltip, getTooltip, getVocabularyModelAPI, isEnabledCascade, isEnabledExecuteTest, isRemoteExecutionVariablesAvailable, isTestSubjectAvailable, isTestSubjectRuleflow, isTestSubjectRulesheet, isVocabularyAvailable, removeTestsheet, setCascade, setDatabaseMode, setReturnEntityMode, setRuleActivity, setVocabularyModelAPIactivate, 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, validateLicensestatic final int TREEVIEW_ID_INPUT
static final int TREEVIEW_ID_OUTPUT
static final int TREEVIEW_ID_EXPECTED
static final int MATRIX_ID_MESSAGES_OUTPUT
static final int MATRIX_ID_MESSAGES_EXPECTED
static final int COLUMN_INDEX_MESSAGES_SEVERITY
static final int COLUMN_INDEX_MESSAGES_MESSAGE
static final int COLUMN_INDEX_MESSAGES_ENTITY
static final int MESSAGE_SEVERITY_UNSPECIFIED
static final int MESSAGE_SEVERITY_INFO
static final int MESSAGE_SEVERITY_WARNING
static final int MESSAGE_SEVERITY_VIOLATION
static final int DRAG_FEEDBACK_OK
static final int DRAG_FEEDBACK_DESTINATION_OUTPUT_TREE
static final int DRAG_FEEDBACK_WRONG_DESTINATION_ENTITY
static final int DRAG_FEEDBACK_ATTRIBUTE_ALREADY_EXISTS
static final int DRAG_FEEDBACK_ASSOCIATION_CARDINALITY_WARNING
static final int DRAG_FEEDBACK_INVALID_SOURCE
static final int DRAG_FEEDBACK_INVALID_TARGET_ATTRIBUTE
static final int DRAG_FEEDBACK_INVALID_TARGET_ASSOCIATION_END
static final int DRAG_FEEDBACK_INVALID_TARGET_ENTITY_ON_ENTITY
static final int DRAG_FEEDBACK_INVALID_TARGET_HREF
static final int EDITOR_TYPE_TEXT_BOX
static final int EDITOR_TYPE_COMBO_BOX
static final int ICON_TEST_ENTITY
static final int ICON_TEST_ATTRIBUTE
static final int ICON_TEST_ATTRIBUTE_EXTENDED_TRANSIENT
static final int ICON_TEST_ATTRIBUTE_EXTENDED_PERSISTENT
static final int ICON_TEST_ASSOCIATION_IMBEDDED
static final int ICON_TEST_ASSOCIATION_HREF
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestAssociationHref addTestAssociationHref(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeSource,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeTarget,
org.eclipse.emf.ecore.EReference aEReference)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).aTestNodeSource - TestNode representing source entity or association to which new association should be added.aTestNodeTarget - TestNode representing HREF target entity or association.aEReference - EReference metadata from Vocabulary.null if command was unsuccessful.com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestAssociationHref addTestAssociationHref(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeSource,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeTarget,
IAssociationEnd aIAssociationEnd)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).aTestNodeSource - TestNode representing source entity or association to which new association should be added.aTestNodeTarget - TestNode representing HREF target entity or association.aIAssociationEnd - Association end facade from Vocabulary.null if command was unsuccessful.com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestAssociationImbedded addTestAssociationImbedded(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
org.eclipse.emf.ecore.EReference aEReference)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).aTestNode - TestNode representing entity or association to which new association should be added.aEReference - EReference metadata from Vocabulary.null if command was unsuccessful.com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestAssociationImbedded addTestAssociationImbedded(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
IAssociationEnd aIAssociationEnd)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).aTestNode - TestNode representing entity or association to which new association should be added.aIAssociationEnd - IAssociationEnd metadata from Vocabulary.null if command was unsuccessful.com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestAttribute addTestAttribute(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
org.eclipse.emf.ecore.EAttribute aEAttribute)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).aTestNode - TestNode representing entity or association to which new attribute should be added.aEAttribute - EAttribute metadata from Vocabulary.null if command was unsuccessful.com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestAttribute addTestAttribute(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
IAttribute aIAttribute)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).aTestNode - TestNode representing entity or association to which new attribute should be added.aIAttribute - IAttribute metadata from Vocabulary.null if command was unsuccessful.com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestAttribute addTestAttribute(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
org.eclipse.emf.ecore.EAttribute aEAttribute,
IEntity aIEntity)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).aTestNode - TestNode representing entity or association to which new attribute should be added.aIEntity - aIEntity metadata from Vocabulary.null if command was unsuccessful.com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestAttribute addTestAttribute(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
IAttribute aIAttribute,
IEntity aIEntity)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).aTestNode - TestNode representing entity or association to which new attribute should be added.aIAttribute - IAttribute metadata from Vocabulary.aIEntity - aIEntity metadata from Vocabulary.null if command was unsuccessful.com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestAssociationImbedded addTestAssociationImbeddedAndTargetEntityAttributes(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
IAssociationEnd aIAssociationEnd)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).aTestNode - TestNode representing entity or association to which new association should be added.aIAssociationEnd - Association end from Vocabulary.null if operation was not successful.com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestAssociationImbedded addTestAssociationImbeddedAndTargetEntityAttributes(int aiTreeviewID,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
IAssociationEnd aIAssociationEnd,
boolean abDeclaredOnly)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).aTestNode - TestNode representing entity or association to which new association should be added.aIAssociationEnd - Association end from Vocabulary.abDeclaredOnly - true to limit list to only declared attributes.null if operation was not successful.com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestEntity addTestEntity(int aiTreeviewID,
org.eclipse.emf.ecore.EClass aEClass)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).aEClass - EClass from Vocabulary representing new entity to be added.null if command was unsuccessful.com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestEntity addTestEntity(int aiTreeviewID,
IEntity aIEntity)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).IEntity - IEntity from Vocabulary representing new entity to be added.null if command was unsuccessful.boolean addTestNodesFromVocabulary(int aiTreeviewID,
IElement aIElementSource,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeTarget)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).aIElementSource - Source Vocabulary facade.aTestNodeTarget - TestNode that is drop target.true if successful.boolean addTestNodesFromVocabulary(int aiTreeviewID,
IElement aIElementSource,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeTarget,
boolean abAddInheritedAttributes)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).aIElementSource - Source Vocabulary facade.aTestNodeTarget - TestNode that is drop target.abDeclaredOnly - true to add only "declared" (non-inherited) attributes.true if successful.boolean addTestNodesFromVocabulary(int aiTreeviewID,
IElement aIElementSource,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeTarget,
boolean abAddInheritedAttributes,
boolean abAddHref)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).aIElementSource - Source Vocabulary facade.aTestNodeTarget - TestNode that is drop target.abDeclaredOnly - true to add only "declared" (non-inherited) attributes.abAddHref - Add HREF-style association.true if successful.com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestEntity addTestEntityAndAttributes(int aiTreeviewID,
IEntity aIEntity)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).IEntity - IEntity from Ruleset Vocabulary representing new entity to be added.null if command was unsuccessful.com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestEntity addTestEntityAndAttributes(int aiTreeviewID,
IEntity aIEntity,
boolean abDeclaredOnly)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).IEntity - IEntity from Ruleset Vocabulary representing new entity to be added.abDeclaredOnly - true to limit list to only declared attributes.null if command was unsuccessful.boolean addTestNodesFromSelection(int aiTreeviewID,
Selection aSelection,
java.lang.Object aObjectTarget)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).aSelection - Collection of Vocabulary nodes.aObjectTarget - Drop target TreeNode instance.true if the command was successful.boolean copyToExpected()
true if operation was successful.boolean copyToExpected(int aiFromTreeviewID,
int aiToTreeviewID)
aiTreeviewID - ID of TreeView to which node should be added (e.g., TREEVIEW_ID_INPUT).aSelection - Collection of Vocabulary nodes.aObjectTarget - Drop target TreeNode instance.true if the command was successful.com.corticon.rulesemf.viewtestmodel.testsheet.treeset.MessageItem addMessage(boolean abExpected,
int aiSeverity,
java.lang.String astrText,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
abExpected - true to add message to expected output message table.aSeverity - Integer number indicating severity (see MessageSeverity in canonical test model).astrText - Message text.aTestNode - Test node with which message is associated or null.null if command was unsuccessful.boolean clearMessages(boolean abExpected)
abExpected - true to clear expected output message table.true if the command was successful.boolean clearOutput()
true if the command was successful.boolean clearOutput(boolean abExpected)
abExpected - true to clear expected tree.true if the command was successful.void copy(Selection aSelection)
aSelection - Selection to copy.void cut(Selection aSelection)
aSelection - Selection to cut.void delete(Selection aSelection)
aSelection - Selection to delete.boolean executeTest()
throws java.lang.Exception
true if the command was successful.java.lang.Exception - Many different exceptions (TBD).com.corticon.rulesemf.viewtestmodel.testsheet.treeset.MessageSection findMessageSection(boolean abExpected)
abExpected - true to affect expected messages table.com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode findTestRoot(int aiTreeViewID)
aiTreeViewID - Identifier (e.g., TREEVIEW_ID_INPUT).com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode findTestRoot(int aTestsheetAssetIndex,
int aiTreeViewID)
aTestsheetAssetIndex - index of TestsheetAsset to find the TestsheetView nodeaiTreeViewID - Identifier (e.g., TREEVIEW_ID_INPUT).com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestTreeSet findTestTreeSet()
java.lang.String getCellValue(int aiMatrixID,
int aiColumnIndex,
int aiRowIndex)
aiMatrixID - Matrix ID (e.g., MATRIX_ID_MESSAGES_OUTPUT).aiColumnIndex - Index of column whose value should be returned.aiRowIndex - Index of row whose value should be returned.java.lang.String getComments(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode instance.java.lang.String getDatabaseId(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
testNode - TestNode instance whose database id needs to set.java.util.ArrayList getDepthFirstList(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - Parent TestNode to process.int getDragFeedback(int aiTreeviewID,
java.lang.Object aObjectSource,
java.lang.Object aObjectTarget)
aiTreeviewID - TreeviewID of tree view to which nodes would be added.aObjectSource - Drop Source.aObjectTarget - Drop target.for details feedback codes.java.util.List getDragFeedback(int aiTreeviewID,
Selection aSelection,
java.lang.Object aObjectTarget)
aiTreeviewID - TreeviewID of tree view to which nodes would be added.aSelection - Selection of drag source nodes.aObjectTarget - Drop target.int getDragFeedback(int aiTreeviewID,
java.lang.Object aObjectSource,
java.lang.Object aObjectTarget,
boolean abHrefValidation)
aiTreeviewID - TreeviewID of tree view to which nodes would be added.aObjectSource - Drop source.aObjectTarget - Drop target.abHrefValidation - Additional check in case user is dropping Href Associationfor details feedback codes.void displayDragFeedbackMessageBox(java.lang.Object aObjectSource,
java.lang.Object aObjectTarget,
int aiFeedbackCode)
aObjectSource - Drop Source.aObjectTarget - Drop target.aiFeedbackCode - Feedback code.void displayNoPotentialTargetsMessageBox(int aiTreeviewID,
IAssociationEnd aIAssociationEnd,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aiTreeviewID - Treeview ID (e.g., ITestsheetTreeSetModelAPI.TREEVIEW_ID_INPUT).aIAssociationEnd - AssociationEnd being dragged from the Vocabulary.aTestNode - TestNode drop target for nascent association.int getMessageSeverity(int aiMatrixID,
int aiRowIndex)
aiMatrixID - Matrix ID (e.g., MATRIX_ID_MESSAGES_OUTPUT).aiRowIndex - Index of row whose value should be returned.com.corticon.rulesemf.viewtestmodel.testsheet.treeset.ValidationIssue getNodeIssue(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode instance.IElement getFacade(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - Node for which facade should be retrieved.java.util.List getTestNodeChildren(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode parent.java.lang.String getTestNodeComments(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode instance.null.java.util.List getInputTestNodeChildren(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode parent.IEntity getTestNodeActualType(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestEntity, TestAttribute or TestAssociation.int getTestNodeIcon(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode instance.java.lang.String getTestNodeName(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode instance.java.lang.String getTestNodeNameBase(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode instance.java.lang.String getTestNodeNameEntity(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode instance.com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode getTestNodeParent(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode child.java.lang.String getTestNodeText(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode whose text is to be returned.java.lang.String getTestNodeText(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
boolean abReturnAttributeValue,
boolean abReturnId,
boolean abReturnComments)
aTestNode - TestNode whose text is to be returned.abReturnAttributeValue - true to include the attribute value in the text.abReturnId - true to include entity or association ID in the text.abReturnComments - true to include comments in text.java.lang.String getTestNodeText(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
boolean abReturnAttributeValue,
boolean abReturnId,
boolean abReturnComments,
boolean abReturnDatastoreId)
aTestNode - TestNode whose text is to be returned.abReturnAttributeValue - true to include the attribute value in the text.abReturnId - true to include entity or association ID in the text.abReturnComments - true to include comments in text.abReturnDatastoreId - true to include Datstore Id in text.java.lang.String getTestNodeValue(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode whose value is to be returned.int getTestNodeID(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode whose Node ID is to be returned.boolean goToEntity(Selection aSelection)
aSelection - Selection of HREF-style association whose target should be selected.java.lang.String getEntityDomainHierarchy(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestEntity aTestEntity)
aTestEntity - boolean hasErrors(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
boolean abRecursive)
aTestNode - TestNode to test for errors.abRecursive - true to check recursively for errors in child nodes.true if Test node has any errors.boolean hasWarnings(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
boolean abRecursive)
aTestNode - TestNode to test for warnings.abRecursive - true to check recursively for warnings in child nodes.true if Test node has any warnings.boolean isAllowedDropTestNode(int aiTreeviewID,
java.lang.Object aObjectSource,
java.lang.Object aObjectTarget)
aiTreeviewID - ID of TreeView that is target for drop (e.g., TREEVIEW_ID_INPUT).aObjectSource - EClass, EAttribute or EReference from Vocabulary.aObjectTarget - Target view TestNode object or null if no target.true if drop is allowable.boolean isAllowedDropTestNodesFromSelection(int aiTreeviewID,
Selection aSelection,
java.lang.Object aObjectTarget)
false
if any of the drops would violate constraints, such as adding more associations
than the cardinality specifications would allow.aiTreeviewID - TreeviewID of tree view to which nodes would be added.aSelection - Selection of Vocabulary nodes to drop.aObjectTarget - Drop target TreeNode instance.boolean isEnabledCopy(Selection aSelection)
aSelection - Selection instance.true if function should be enabled.boolean isEnabledCut(Selection aSelection)
aSelection - Selection instance.true if function should be enabled.boolean isEnabledDelete(Selection aSelection)
aSelection - Selection instance.true if function should be enabled.boolean isEnabledPaste(Selection aSelection)
aSelection - Selection instance.true if function should be enabled.boolean isEnabledRunTest()
true if function should be enabled.boolean isNodeExpanded(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode instance to test.true if node is currently expanded.boolean isNodeLinkToPreviousOverride(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode instance to test.true if node is manually-created in a link-to-previous Testsheet.boolean isNodeManuallyCreated(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode instance to test.true if node is manually-created.boolean isNodeNewOrModified(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode instance to test.true if node is new or modified.boolean isNodePassed(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode instance to test.true if node is designated as passing validation.boolean isEnabledSortEntities(Selection aSelection)
true if function should be enabled.void linkToPrevious(boolean abCascade)
abCascade - true to link to previous.void paste(Selection aSelection)
aSelection - Selection to copy.boolean removeTestNode(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
atestNode - Node to be removed.true if the command was successful.boolean runTest()
throws java.lang.Exception
true if the command was successful.java.lang.Exception - if fatal error occurs.boolean deployRuleAsset()
throws java.lang.Exception
true if the command was successful.java.lang.Exception - if fatal error occurs.void resolveAllRuleAssetsInCurrentTestSheet()
boolean setMessageColumnWidthMessage(boolean abExpected,
int aiWidth)
abExpected - true to affect expected messages table.aiWidth - Width in pixels.true if the set command was successful.boolean setMessageColumnWidthSeverity(boolean abExpected,
int aiWidth)
abExpected - true to affect expected messages table.aiWidth - Width in pixels.true if the set command was successful.boolean setMessageScrollRowTop(boolean abExpected,
int aiRowIndexTop)
abExpected - true to affect expected messages table.aiRowIndexTop - Index of top row in table.true if the set command was successful.boolean setNodeExpanded(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
boolean abExpanded)
aTestNode - TestNode whose expansion state is to be set.true if the set command was successful.boolean setNodeID(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
int aiNodeID)
aTestNode - Test node.aiNodeID - Node IDtrue if the set command was successful.boolean setNodeValue(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestCharacteristic aTestCharacteristic,
java.lang.String astrValue)
aTestCharacteristic - Test attribute or transient.astrValue - Value to set.true if the set command was successful.boolean setNodePassed(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
boolean abPassed)
aTestNode - TestNode instance to set.abPassed - Value to set.true if the set command was successful.boolean setNodeIssue(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.ValidationIssue aValidationIssue)
aTestNode - TestNode instance to set.aValidationIssue - Value to set.true if the set command was successful.boolean setSelection(Selection aSelection)
aSelection - Selection instance bearing selection state information.true if the set command was successful.Selection getSelection()
void setTestNodeValue(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
java.lang.String astrValue)
aTestNode - TestNode whose value or node ID is to be set.astrValue - Localized value or integer node ID.boolean setToNull(Selection aSelection)
null.aSelection - Selection of TreeNode instances whose values should be set to null.boolean sortEntities(int aiTreeViewID)
aiTreeViewID - Identifier (e.g., TREEVIEW_ID_INPUT).true if command was successful.boolean isSameInstance(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeOne,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeTwo)
aTestNodeOne - TestNode one.aTestNodeTwo - TestNode two.true if nodes represent same instance.boolean isSameInstance(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeOne,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeTwo,
boolean abStrict)
aTestNodeOne - TestNode one.aTestNodeTwo - TestNode two.abStrict - true to consider nodes equal only if they are of the same type.true if nodes represent same instance.boolean isSameInstance(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeOne,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNodeTwo,
boolean abStrict,
boolean abPStrict)
aTestNodeOne - TestNode one.aTestNodeTwo - TestNode two.abStrict - true to consider nodes equal only if they are of the same type.abPStrict - true to consider nodes equal only if they have identical IDs.true if nodes represent same instance.int isSelectionValidToDrop(int aiTreeviewID,
java.lang.Object aObjectSource,
java.lang.String aStrTreeItemParentName,
java.lang.String aStrTreItemName,
java.lang.Object aObjectTarget)
isAllowedDropTestNode(int aiTreeviewID, Object aObjectSource, Object aObjectTarget);Source - object being dragged onto viewTarget - object, object where source is being dropped onto.boolean validateTestResults()
true if the command was successful.boolean expandTree1LikeTree2(int aiTreeviewID1,
int aiTreeviewID2)
aiTreeIDSource - Treeview ID of source tree.aiTreeIDTarget - Treeview ID of target tree.java.util.List getListCellItems(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode.null.java.util.List getListEnumerationExpression(IAttribute aIAttribute)
aExpressionCell - Expression cell.null.java.lang.String getEnumerationLabelBasedOnValue(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestAttribute aTestAttribute,
java.lang.String astrValue)
aTestAttribute - astrValue - boolean setDatabaseId(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode testNode,
java.lang.String databaseId)
testNode - TestNode instance whose database id needs to set.databaseId - Database Id String to be set.true if the set command was successful.boolean setComments(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode testNode,
java.lang.String comments)
testNode - TestNode instance whose comments attribute needs to set.comments - String to be set.true if the set command was successful.int getEditorType(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - - Tree Node to be edited.boolean sortMessageView(int parameter)
parameter - upon which MessageView is going to sort. eg. COLUMN_INDEX_MESSAGES_SEVERITY || COLUMN_INDEX_MESSAGES_ENTITY || COLUMN_INDEX_MESSAGES_MESSAGE)true if the sorting was successful.boolean isEnabledSetToNull()
true if function should be enabled.boolean isEnabledGoToEntity()
true if function should be enabled.boolean isEnabledGenerateDataTree()
true if function should be enabled.void generateDataTree()
int getRowCountDisplayed(int aiMatrixID)
aiMatrixID - Matrix ID (e.g., MATRIX_ID_MESSAGES_OUTPUT).int getRowCountActual(int aiMatrixID)
aiMatrixID - Matrix ID (e.g., MATRIX_ID_MESSAGES_OUTPUT).boolean isTreesetTestNodeSelected(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
TestNode - boolean isRuleMessageTestNodeHighlighted(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
TestNode - void setJavaHome(java.lang.String astrJavaHome)
throws CcServerInvalidSandboxException
astrJavaHome - Java home, e.g. C:\app\j2sdk1.4.2_01\jreCcServerInvalidSandboxExceptionjava.lang.String getJavaHome()
throws CcServerInvalidSandboxException
CcServerInvalidSandboxExceptionboolean importXMLSOAP(org.eclipse.emf.common.util.URI aURIImportFileSelected)
aURIImportFileSelected - a file URI to .xml filetrue if the command was successful.boolean exportTestsheetInputToXML(org.eclipse.emf.common.util.URI aURIExportedFileSelected)
aURIExportedFileSelected - a file URI to .xml filetrue if the command was successful.boolean exportTestsheetInputToSOAP(org.eclipse.emf.common.util.URI aURIExportedFileSelected)
aURIExportedFileSelected - a file URI to .xml filetrue if the command was successful.boolean exportTestsheetOutputToXML(org.eclipse.emf.common.util.URI aURIExportedFileSelected)
aURIExportedFileSelected - a file URI to .xml filetrue if the command was successful.boolean exportTestsheetOutputToSOAP(org.eclipse.emf.common.util.URI aURIExportedFileSelected)
aURIExportedFileSelected - a file URI to .xml filetrue if the command was successful.boolean exportTestsheetExpectedToXML(org.eclipse.emf.common.util.URI aURIExportedFileSelected)
aURIExportedFileSelected - a file URI to .xml filetrue if the command was successful.boolean exportTestsheetExpectedToSOAP(org.eclipse.emf.common.util.URI aURIExportedFileSelected)
aURIExportedFileSelected - a file URI to .xml filetrue if the command was successful.boolean exportTestsheetToWSDL(org.eclipse.emf.common.util.URI aURIExportedFileSelected,
java.lang.String astrDefaultDecisionServiceName)
aURIExportedFileSelected - a file URI to .xml fileastrDefaultDecisionServiceName - a Decision Service Name to be associated with the WSDLtrue if the command was successful.boolean isMismatchBetweenOutputAndExpectedTrees()
true if Output Tree matches Expected Tree.boolean isDatabaseModeNone()
true if function should be enabled.boolean isDatabaseModeReadOnly()
true if function should be enabled.boolean isDatabaseModeReadWrite()
true if function should be enabled.boolean isEnabledDatabaseModeNone()
true if function should be enabled.boolean isEnabledDatabaseModeReadOnly()
true if function should be enabled.boolean isEnabledDatabaseModeReadWrite()
true if function should be enabled.boolean isReturnEntityModeAll()
true if function should be enabled.boolean isReturnEntityModeIncomingAndNew()
true if function should be enabled.boolean isEnabledReturnEntityModeAll()
true if function should be enabled.boolean isEnabledReturnEntityModeIncomingAndNew()
true if function should be enabled.boolean setSource(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode,
com.corticon.rulesemf.viewtestmodel.testsheet.treeset.Source aSource)
testNode - TestNode instance whose comments attribute needs to set.source - Source to be set.true if the set command was successful.com.corticon.rulesemf.viewtestmodel.testsheet.treeset.Source getSource(com.corticon.rulesemf.viewtestmodel.testsheet.treeset.TestNode aTestNode)
aTestNode - TestNode instance.Copyright © 2005-2013 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.