Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

oracle.apps.fnd.appltest.diagfwk.engine.impl
Class TestTreeNodePLSQLStepImpl

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.TestTreeNodePLSQLStepImpl
All Implemented Interfaces:
DiagTreeNode, TestTreeNode

public class TestTreeNodePLSQLStepImpl
extends java.lang.Object
implements TestTreeNode

Since:
release specific (what release of product did this appear in)
Version:
$Header: atgpf/appltest/applications/Diagnostics/Engine/src/oracle/apps/fnd/appltest/diagfwk/engine/impl/TestTreeNodePLSQLStepImpl.java /main/1 2009/04/07 09:52:50 viramac Exp $
Author:
viramac

Nested Class Summary
 
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.facade.TestTreeNode
TestTreeNode.NodeType
 
Constructor Summary
TestTreeNodePLSQLStepImpl()
           
TestTreeNodePLSQLStepImpl(java.lang.String pNodeName, PLSQLStepDefType pStepDef)
           
 
Method Summary
 java.util.List<TestTreeNode> getChildren()
          Returns the immediate children for this test tree node.
 java.lang.Boolean getExecuteAllowed()
           
 java.lang.String getImplName()
          Gets the implementation name for the node.
 java.lang.String getInputsStatus()
          Returns the inputs status code for this node if this is a test node.
 java.lang.String getNodeDisplayName()
          Gets the display name for the node.
 java.lang.String getNodeName()
          Gets the name of the node.
 boolean getNodeSelected()
           
 TestTreeNode.NodeType getNodeType()
          Returns the type of the node i.e.
 int getPrereqTestCount()
          Returns the count of the number of immediate prerequisites that are directly associated with the current test if this node is a test node.
 java.lang.Boolean getViewReportAllowed()
           
 boolean hasChildren()
          Returns a flag to indicate if this node has any children
 void setChildren(java.util.List<TestTreeNode> pChildren)
          Sets the list of child nodes for this node.
 void setImplName(java.lang.String pImplName)
          Sets the implementation name for this test tree node
 void setNodeDisplayName(java.lang.String pNodeDisplayName)
          Sets the display name for the node.
 void setNodeName(java.lang.String pName)
          Sets the name for this tree node
 void setNodeSelected(boolean nodeSelected)
          Sets whether a node as being selected in the test tree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestTreeNodePLSQLStepImpl

public TestTreeNodePLSQLStepImpl()

TestTreeNodePLSQLStepImpl

public TestTreeNodePLSQLStepImpl(java.lang.String pNodeName,
                                 PLSQLStepDefType pStepDef)
Method Detail

getNodeName

public java.lang.String getNodeName()
Description copied from interface: TestTreeNode
Gets the name of the node. This is either the test name (for a top level test) or the step name for child nodes.

Specified by:
getNodeName in interface TestTreeNode
Returns:
the name of the node.

getImplName

public java.lang.String getImplName()
Description copied from interface: TestTreeNode
Gets the implementation name for the node. This is either the name of the test (if the step is a test reference) or a Java class name (if the step is a Java test step).

Specified by:
getImplName in interface TestTreeNode
Returns:
the name of the implementation of the node.

hasChildren

public boolean hasChildren()
Description copied from interface: DiagTreeNode
Returns a flag to indicate if this node has any children

Specified by:
hasChildren in interface DiagTreeNode
Returns:
true if the node has children. returns false otherwise.

getChildren

public java.util.List<TestTreeNode> getChildren()
Description copied from interface: TestTreeNode
Returns the immediate children for this test tree node. Use this API to traverse the tree for a particular test.

Note: this API will perform a query in order to fetch the children (if not already available).

Specified by:
getChildren in interface TestTreeNode
Returns:
the immediate children for this node.

setNodeName

public void setNodeName(java.lang.String pName)
Description copied from interface: TestTreeNode
Sets the name for this tree node

Specified by:
setNodeName in interface TestTreeNode
Parameters:
pName - the name for this tree node

setImplName

public void setImplName(java.lang.String pImplName)
Description copied from interface: TestTreeNode
Sets the implementation name for this test tree node

Specified by:
setImplName in interface TestTreeNode
Parameters:
pImplName - the implementation name for this test tree node.

setChildren

public void setChildren(java.util.List<TestTreeNode> pChildren)
Description copied from interface: TestTreeNode
Sets the list of child nodes for this node.

Specified by:
setChildren in interface TestTreeNode
Parameters:
pChildren - list of child nodes for this node.

getNodeDisplayName

public java.lang.String getNodeDisplayName()
Description copied from interface: TestTreeNode
Gets the display name for the node. This is the test display name (for top level tests). For step nodes, this just returns the step name.

Specified by:
getNodeDisplayName in interface TestTreeNode
Returns:
the display name for the node

setNodeDisplayName

public void setNodeDisplayName(java.lang.String pNodeDisplayName)
Description copied from interface: TestTreeNode
Sets the display name for the node. This is the test display name (for top level tests). For step nodes, this just returns the step name.

Specified by:
setNodeDisplayName in interface TestTreeNode
Parameters:
pNodeDisplayName - the display name for the node

getNodeType

public TestTreeNode.NodeType getNodeType()
Description copied from interface: TestTreeNode
Returns the type of the node i.e. whether the node is either a test or a step

Specified by:
getNodeType in interface TestTreeNode
Returns:
type of the node i.e. whether the node is either a test or a step.

getPrereqTestCount

public int getPrereqTestCount()
Description copied from interface: TestTreeNode
Returns the count of the number of immediate prerequisites that are directly associated with the current test if this node is a test node. Otherwise, returns -1 if this node is a step node.

Specified by:
getPrereqTestCount in interface TestTreeNode
Returns:
the count of the number of immediate prerequisites that are directly associated with the current test if this node is a test node. Otherwise, returns -1 if this node is a step node.
See Also:
TestDef.getPrereqTestCount()

getInputsStatus

public java.lang.String getInputsStatus()
Description copied from interface: TestTreeNode
Returns the inputs status code for this node if this is a test node. Otherwise returns null, if this node is a step node.

Specified by:
getInputsStatus in interface TestTreeNode
Returns:
the inputs status code for this node if this is a test node.
See Also:
TestDef.getInputsStatus()

getExecuteAllowed

public java.lang.Boolean getExecuteAllowed()
Specified by:
getExecuteAllowed in interface TestTreeNode
Returns:
whether execution of the test is allowed

getViewReportAllowed

public java.lang.Boolean getViewReportAllowed()
Specified by:
getViewReportAllowed in interface TestTreeNode
Returns:
whether viewing a test's execution report is allowed

getNodeSelected

public boolean getNodeSelected()
Specified by:
getNodeSelected in interface TestTreeNode
Returns:
whether a node is selected in the test tree

setNodeSelected

public void setNodeSelected(boolean nodeSelected)
Description copied from interface: TestTreeNode
Sets whether a node as being selected in the test tree

Specified by:
setNodeSelected in interface TestTreeNode

Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

Copyright © 2012 Oracle. All Rights Reserved.