Package org.dspace.rest.common
Class Bitstream
- java.lang.Object
-
- org.dspace.rest.common.DSpaceObject
-
- org.dspace.rest.common.Bitstream
-
public class Bitstream extends DSpaceObject
Created with IntelliJ IDEA. User: peterdietz Date: 9/21/13 Time: 12:54 AM To change this template use File | Settings | File Templates.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.dspace.content.service.BitstreamService
bitstreamService
protected org.dspace.content.service.BundleService
bundleService
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBundleName()
CheckSum
getCheckSum()
String
getDescription()
String
getFormat()
String
getMimeType()
DSpaceObject
getParentObject()
ResourcePolicy[]
getPolicies()
String
getRetrieveLink()
Integer
getSequenceId()
Long
getSizeBytes()
void
setBundleName(String bundleName)
void
setCheckSum(CheckSum checkSum)
void
setDescription(String description)
void
setFormat(String format)
void
setMimeType(String mimeType)
void
setParentObject(DSpaceObject parentObject)
void
setPolicies(ResourcePolicy[] policies)
void
setRetrieveLink(String retrieveLink)
void
setSequenceId(Integer sequenceId)
void
setSizeBytes(Long sizeBytes)
void
setup(org.dspace.content.Bitstream bitstream, javax.servlet.ServletContext servletContext, String expand, org.dspace.core.Context context)
-
-
-
Constructor Detail
-
Bitstream
public Bitstream()
-
Bitstream
public Bitstream(org.dspace.content.Bitstream bitstream, javax.servlet.ServletContext servletContext, String expand, org.dspace.core.Context context) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
setup
public void setup(org.dspace.content.Bitstream bitstream, javax.servlet.ServletContext servletContext, String expand, org.dspace.core.Context context) throws SQLException
- Throws:
SQLException
-
getSequenceId
public Integer getSequenceId()
-
setSequenceId
public void setSequenceId(Integer sequenceId)
-
getBundleName
public String getBundleName()
-
setBundleName
public void setBundleName(String bundleName)
-
setDescription
public void setDescription(String description)
-
setFormat
public void setFormat(String format)
-
setMimeType
public void setMimeType(String mimeType)
-
setSizeBytes
public void setSizeBytes(Long sizeBytes)
-
setParentObject
public void setParentObject(DSpaceObject parentObject)
-
setRetrieveLink
public void setRetrieveLink(String retrieveLink)
-
getDescription
public String getDescription()
-
getFormat
public String getFormat()
-
getMimeType
public String getMimeType()
-
getSizeBytes
public Long getSizeBytes()
-
getRetrieveLink
public String getRetrieveLink()
-
getParentObject
public DSpaceObject getParentObject()
-
getCheckSum
public CheckSum getCheckSum()
-
setCheckSum
public void setCheckSum(CheckSum checkSum)
-
getPolicies
public ResourcePolicy[] getPolicies()
-
setPolicies
public void setPolicies(ResourcePolicy[] policies)
-
-