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