com.tszadel.qctools4j.model.test
Class TestFolder

java.lang.Object
  extended by com.tszadel.qctools4j.model.test.TestFolder

public class TestFolder
extends Object

A Test Folder.

Author:
tszadel

Field Summary
static String ROOT_FOLDER
          The root folder.
 
Constructor Summary
TestFolder(String pPath)
          Constructor.
TestFolder(TestFolder pParent, String pName)
          Constructor.
 
Method Summary
 List<TestFolder> getChildren()
          Returns children.
 String getName()
          Returns name.
 TestFolder getParent()
          Returns parent.
 String getPath()
          Returns the test path.
 boolean hasChildren()
          Check whether the test have children.
 String toString()
          Overrides toString.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ROOT_FOLDER

public static final String ROOT_FOLDER
The root folder.

See Also:
Constant Field Values
Constructor Detail

TestFolder

public TestFolder(String pPath)
Constructor.

Parameters:
pPath - The full path.

TestFolder

public TestFolder(TestFolder pParent,
                  String pName)
Constructor.

Parameters:
pParent - The parent folder.
pName - name of the folder.
Method Detail

getChildren

public List<TestFolder> getChildren()
Returns children.

Returns:
The children.

getName

public String getName()
Returns name.

Returns:
The name.

getParent

public TestFolder getParent()
Returns parent.

Returns:
The parent.

getPath

public String getPath()
Returns the test path.

Returns:
The test path.

hasChildren

public boolean hasChildren()
Check whether the test have children.

Returns:
True if it has children, false otherwise.

toString

public String toString()
Overrides toString.

Overrides:
toString in class Object
See Also:
Object.toString()