org.squashtest.csp.tm.domain.library
Interface NodeContainer<NODE extends TreeNode>
- Type Parameters:
NODE - Type of contained node
- All Superinterfaces:
- org.squashtest.csp.core.domain.Identified
- All Known Subinterfaces:
- Folder<NODE>, Library<NODE>
- All Known Implementing Classes:
- Campaign, CampaignFolder, CampaignLibrary, GenericLibrary, Iteration, RequirementFolder, RequirementLibrary, TestCaseFolder, TestCaseLibrary
public interface NodeContainer<NODE extends TreeNode>
- extends org.squashtest.csp.core.domain.Identified
Interface for an object which contains tree node objects.
- Author:
- Gregory Fouquet
| Methods inherited from interface org.squashtest.csp.core.domain.Identified |
getId |
addContent
void addContent(NODE node)
throws DuplicateNameException,
org.apache.commons.lang.NullArgumentException
- Adds new content to this container. Should refuse to add null content, should refuse to add content with duplicate
name.
- Parameters:
node -
- Throws:
DuplicateNameException
org.apache.commons.lang.NullArgumentException
isContentNameAvailable
boolean isContentNameAvailable(String name)
getContent
Set<NODE> getContent()
hasContent
boolean hasContent()
removeContent
void removeContent(NODE contentToRemove)
throws org.apache.commons.lang.NullArgumentException
- Throws:
org.apache.commons.lang.NullArgumentException
getContentNames
List<String> getContentNames()
Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.