org.squashtest.csp.tm.domain.resource
Class Resource
java.lang.Object
org.squashtest.csp.tm.domain.resource.Resource
- All Implemented Interfaces:
- org.squashtest.csp.core.domain.Identified, AttachmentHolder
- Direct Known Subclasses:
- RequirementVersion, SimpleResource
@Entity
public abstract class Resource
- extends Object
- implements AttachmentHolder, org.squashtest.csp.core.domain.Identified
A Resource is the actual "things" which are organized in a library tree.
- Author:
- Gregory Fouquet
Resource
public Resource()
getId
public Long getId()
- Specified by:
getId in interface org.squashtest.csp.core.domain.Identified
getName
public String getName()
setName
public void setName(String name)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getAttachmentList
public AttachmentList getAttachmentList()
- Description copied from interface:
AttachmentHolder
- Should return the container for this object's attachments. Should never return
null.
- Specified by:
getAttachmentList in interface AttachmentHolder
- Returns:
- the
AttachmentList of this object. - See Also:
AttachmentHolder.getAttachmentList()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.