org.squashtest.csp.tm.domain.testcase
Class TestCaseLibrary
java.lang.Object
org.squashtest.csp.tm.domain.project.GenericLibrary<TestCaseLibraryNode>
org.squashtest.csp.tm.domain.testcase.TestCaseLibrary
- All Implemented Interfaces:
- Library<TestCaseLibraryNode>, NodeContainer<TestCaseLibraryNode>, ProjectResource, SelfClassAware
@Entity
public class TestCaseLibrary
- extends GenericLibrary<TestCaseLibraryNode>
- implements Library<TestCaseLibraryNode>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestCaseLibrary
public TestCaseLibrary()
getRootContent
public Set<TestCaseLibraryNode> getRootContent()
- Specified by:
getRootContent in interface Library<TestCaseLibraryNode>- Specified by:
getRootContent in class GenericLibrary<TestCaseLibraryNode>
getId
public Long getId()
- Specified by:
getId in interface Library<TestCaseLibraryNode>
getProject
public Project getProject()
- Specified by:
getProject in interface ProjectResource
- Returns:
- The project which this resource belongs to. Should never be
null.
notifyAssociatedWithProject
public void notifyAssociatedWithProject(Project p)
- Description copied from interface:
ProjectResource
- Notifies this resource now belongs to the given project. should
return this project afterwards.
- Specified by:
notifyAssociatedWithProject in interface ProjectResource
- Parameters:
p - should not ne null
removeRootContent
public void removeRootContent(TestCaseLibraryNode node)
- Specified by:
removeRootContent in interface Library<TestCaseLibraryNode>
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 Library<TestCaseLibraryNode>
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.