@Entity public class TestCaseFolder extends TestCaseLibraryNode implements Folder<TestCaseLibraryNode>
| Constructor and Description |
|---|
TestCaseFolder() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(NodeContainerVisitor visitor) |
void |
accept(NodeVisitor visitor) |
void |
accept(TestCaseLibraryNodeVisitor visitor) |
void |
addContent(TestCaseLibraryNode node)
Adds new content to this container.
|
void |
addContent(TestCaseLibraryNode node,
int position)
Adds new content to this container at the given position.
|
TestCaseFolder |
createCopy() |
String |
getClassName() |
String |
getClassSimpleName() |
List<TestCaseLibraryNode> |
getContent() |
List<String> |
getContentNames() |
Collection<TestCaseLibraryNode> |
getOrderedContent()
Will return the ordered (if order there is) content nodes.
|
boolean |
hasContent() |
boolean |
isContentNameAvailable(String name) |
void |
notifyAssociatedWithProject(Project project)
Notifies this object it is now a resource of the given project.
|
void |
removeContent(TestCaseLibraryNode node) |
getAllAttachments, getGenericNodeClass, getId, getLibraryequals, getAttachmentList, getDescription, getName, getProject, hashCode, setDescription, setNameclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetDescription, getName, setDescription, setNamegetAttachmentListgetProjectgetIdgetLibrary, getProjectgetProjectpublic void addContent(TestCaseLibraryNode node)
NodeContaineraddContent in interface NodeContainer<TestCaseLibraryNode>public void addContent(TestCaseLibraryNode node, int position)
NodeContaineraddContent in interface NodeContainer<TestCaseLibraryNode>public List<TestCaseLibraryNode> getContent()
getContent in interface NodeContainer<TestCaseLibraryNode>public void accept(TestCaseLibraryNodeVisitor visitor)
accept in class TestCaseLibraryNodepublic void accept(NodeContainerVisitor visitor)
accept in interface NodeContainer<TestCaseLibraryNode>public boolean isContentNameAvailable(String name)
isContentNameAvailable in interface NodeContainer<TestCaseLibraryNode>public void removeContent(TestCaseLibraryNode node) throws org.squashtest.tm.core.foundation.exception.NullArgumentException
removeContent in interface NodeContainer<TestCaseLibraryNode>org.squashtest.tm.core.foundation.exception.NullArgumentExceptionpublic TestCaseFolder createCopy()
createCopy in interface Copiablepublic void notifyAssociatedWithProject(Project project)
GenericLibraryNodenotifyAssociatedWithProject in interface LibraryNodenotifyAssociatedWithProject in class GenericLibraryNodeproject - should not be nullpublic String getClassSimpleName()
getClassSimpleName in interface SelfClassAwarepublic String getClassName()
getClassName in interface SelfClassAwarepublic boolean hasContent()
hasContent in interface NodeContainer<TestCaseLibraryNode>public void accept(NodeVisitor visitor)
public List<String> getContentNames()
getContentNames in interface NodeContainer<TestCaseLibraryNode>public Collection<TestCaseLibraryNode> getOrderedContent()
NodeContainergetOrderedContent in interface NodeContainer<TestCaseLibraryNode>Copyright © 2010–2016 Henix, henix.fr. All rights reserved.