org.squashtest.tm.domain.library
Interface LibraryNode
- All Superinterfaces:
- AttachmentHolder, Copiable, Identified, ProjectResource<Project>, TreeNode
- All Known Subinterfaces:
- Folder<NODE>
- All Known Implementing Classes:
- Campaign, CampaignFolder, CampaignLibraryNode, GenericLibraryNode, Requirement, RequirementFolder, RequirementLibraryNode, TestCase, TestCaseFolder, TestCaseLibraryNode
public interface LibraryNode
- extends Copiable, Identified, AttachmentHolder, TreeNode, ProjectResource<Project>
Interface for a content node of a library.
- Author:
- Gregory Fouquet
getName
String getName()
- Specified by:
getName in interface Copiable
- Returns:
- Name of this node.
setName
void setName(String name)
- Specified by:
setName in interface Copiable
- Parameters:
name - The name of this node. Should not be blank or null.
setDescription
void setDescription(String newDescription)
- Parameters:
newDescription - the new node description
getDescription
String getDescription()
notifyAssociatedWithProject
void notifyAssociatedWithProject(Project project)
- Notifies this resource now belongs to the given project.
TreeNode.getProject() should
return this project afterwards.
- Parameters:
project - should not be null
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.