org.squashtest.csp.tm.domain.campaign
Class CampaignLibrary
java.lang.Object
org.squashtest.csp.tm.domain.project.GenericLibrary<CampaignLibraryNode>
org.squashtest.csp.tm.domain.campaign.CampaignLibrary
- All Implemented Interfaces:
- Library<CampaignLibraryNode>, NodeContainer<CampaignLibraryNode>, ProjectResource, SelfClassAware
@Entity
public class CampaignLibrary
- extends GenericLibrary<CampaignLibraryNode>
- implements Library<CampaignLibraryNode>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CampaignLibrary
public CampaignLibrary()
setId
public void setId(Long id)
getId
public Long getId()
- Specified by:
getId in interface Library<CampaignLibraryNode>
getRootContent
public Set<CampaignLibraryNode> getRootContent()
- Specified by:
getRootContent in interface Library<CampaignLibraryNode>- Specified by:
getRootContent in class GenericLibrary<CampaignLibraryNode>
removeRootContent
public void removeRootContent(CampaignLibraryNode node)
- Specified by:
removeRootContent in interface Library<CampaignLibraryNode>
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
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<CampaignLibraryNode>
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.