[DS-864] Added and clarified javadoc.

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6281 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Peter Dietz
2011-03-29 21:42:38 +00:00
parent b1a5a717d4
commit 8fc86f3006
2 changed files with 8 additions and 2 deletions

View File

@@ -684,7 +684,13 @@ public class Bitstream extends DSpaceObject
public int getStoreNumber() {
return bRow.getIntColumn("store_number");
}
/**
* Get the parent object of a bitstream. It can either be an item if this is a normal
* bitstream, otherwise it could be a collection or a community if it is a logo.
* @return
* @throws SQLException
*/
public DSpaceObject getParentObject() throws SQLException
{
Bundle[] bundles = getBundles();