org.squashtest.csp.tm.domain.project
Interface ProjectResource

All Known Subinterfaces:
Folder<NODE>, Library<NODE>, LibraryNode
All Known Implementing Classes:
Campaign, CampaignFolder, CampaignLibrary, CampaignLibraryNode, GenericLibrary, GenericLibraryNode, Requirement, RequirementFolder, RequirementLibrary, RequirementLibraryNode, TestCase, TestCaseFolder, TestCaseLibrary, TestCaseLibraryNode

public interface ProjectResource

Any resource associated to a project.

Author:
Gregory Fouquet

Method Summary
 Project getProject()
           
 void notifyAssociatedWithProject(Project project)
          Notifies this resource now belongs to the given project.
 

Method Detail

getProject

Project getProject()
Returns:
The project which this resource belongs to. Should never be null.

notifyAssociatedWithProject

void notifyAssociatedWithProject(Project project)
Notifies this resource now belongs to the given project. should return this project afterwards.

Parameters:
project - should not ne null


Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.