org.squashtest.csp.tm.domain.testcase
Class TestCaseFolder
java.lang.Object
org.squashtest.csp.tm.domain.library.GenericLibraryNode
org.squashtest.csp.tm.domain.testcase.TestCaseLibraryNode
org.squashtest.csp.tm.domain.testcase.TestCaseFolder
- All Implemented Interfaces:
- org.squashtest.csp.core.domain.Identified, Folder<TestCaseLibraryNode>, LibraryNode, NodeContainer<TestCaseLibraryNode>, ProjectResource, SelfClassAware
@Entity
public class TestCaseFolder
- extends TestCaseLibraryNode
- implements Folder<TestCaseLibraryNode>
| Methods inherited from interface org.squashtest.csp.core.domain.Identified |
getId |
TestCaseFolder
public TestCaseFolder()
addContent
public void addContent(TestCaseLibraryNode node)
- Description copied from interface:
NodeContainer
- Adds new content to this folder. Should refuse to add null content, should refuse to add content with duplicate
name.
- Specified by:
addContent in interface NodeContainer<TestCaseLibraryNode>
getContent
public Set<TestCaseLibraryNode> getContent()
- Description copied from interface:
Folder
- Returrns the content of this folder.
- Specified by:
getContent in interface Folder<TestCaseLibraryNode>
- Returns:
accept
public void accept(TestCaseLibraryNodeVisitor visitor)
- Specified by:
accept in class TestCaseLibraryNode
isContentNameAvailable
public boolean isContentNameAvailable(String name)
- Specified by:
isContentNameAvailable in interface NodeContainer<TestCaseLibraryNode>
removeContent
public void removeContent(TestCaseLibraryNode node)
throws org.apache.commons.lang.NullArgumentException
- Specified by:
removeContent in interface Folder<TestCaseLibraryNode>
- Throws:
org.apache.commons.lang.NullArgumentException
createPastableCopy
public TestCaseFolder createPastableCopy()
- Specified by:
createPastableCopy in interface LibraryNode- Specified by:
createPastableCopy in class TestCaseLibraryNode
notifyAssociatedWithProject
public void notifyAssociatedWithProject(Project project)
- Description copied from class:
GenericLibraryNode
- Notifies this object it is now a resource of the given project.
- Specified by:
notifyAssociatedWithProject in interface ProjectResource- Overrides:
notifyAssociatedWithProject in class GenericLibraryNode
- Parameters:
project - should not ne null
getClassSimpleName
public String getClassSimpleName()
- Specified by:
getClassSimpleName in interface SelfClassAware
getClassName
public String getClassName()
- Specified by:
getClassName in interface SelfClassAware
hasContent
public boolean hasContent()
- Specified by:
hasContent in interface Folder<TestCaseLibraryNode>
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.