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:
- org.squashtest.csp.core.domain.Identified, AttachmentHolder, Library<RequirementLibraryNode>, NodeContainer<RequirementLibraryNode>, ProjectResource<GenericProject>, SelfClassAware
@Entity
public class RequirementLibrary
- extends GenericLibrary<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()
getContent
public Set<RequirementLibraryNode> getContent()
getRootContent
public Set<RequirementLibraryNode> getRootContent()
getProject
public GenericProject getProject()
- Returns:
- The project which this resource belongs to. Should never be
null.
notifyAssociatedWithProject
public void notifyAssociatedWithProject(GenericProject p)
- Description copied from interface:
ProjectResource
- Notifies this resource now belongs to the given project.
ProjectResource.getProject() should
return this project afterwards.
- Parameters:
p - should not be null
removeContent
public void removeContent(RequirementLibraryNode node)
getClassSimpleName
public String getClassSimpleName()
getClassName
public String getClassName()
hasContent
public boolean hasContent()
getAttachmentList
public AttachmentList getAttachmentList()
- Description copied from interface:
AttachmentHolder
- Should return the container for this object's attachments. Should never return
null.
- Returns:
- the
AttachmentList of this object.
Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.