Package org.dspace.app.rest.model
Class BitstreamRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<String>
-
- org.dspace.app.rest.model.DSpaceObjectRest
-
- org.dspace.app.rest.model.BitstreamRest
-
- All Implemented Interfaces:
Serializable,RestModel
@LinkRest(name="bundle",method="getBundle") @LinkRest(name="format",method="getFormat") @LinkRest(name="thumbnail",method="getThumbnail") public class BitstreamRest extends DSpaceObjectRest
The Bitstream REST Resource- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringBUNDLEstatic StringCATEGORYstatic StringFORMATstatic StringNAMEstatic StringPLURAL_NAMEstatic StringTHUMBNAIL-
Fields inherited from class org.dspace.app.rest.model.BaseObjectRest
id
-
Fields inherited from interface org.dspace.app.rest.model.RestModel
AUTHENTICATION, AUTHORIZATION, CONFIGURATION, CORE, DISCOVER, EPERSON, INTEGRATION, ROOT, STATISTICS, SUBMISSION, SYSTEM, VERSIONING, WORKFLOW
-
-
Constructor Summary
Constructors Constructor Description BitstreamRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBundleName()StringgetCategory()CheckSumRestgetCheckSum()IntegergetSequenceId()LonggetSizeBytes()StringgetType()voidsetBundleName(String bundleName)voidsetCheckSum(CheckSumRest checkSum)voidsetSequenceId(Integer sequenceId)voidsetSizeBytes(Long sizeBytes)-
Methods inherited from class org.dspace.app.rest.model.DSpaceObjectRest
getController, getHandle, getId, getMetadata, getName, getUuid, setHandle, setMetadata, setName, setUuid
-
Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, setErrors, setId
-
Methods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.app.rest.model.RestModel
getTypePlural
-
-
-
-
Field Detail
-
PLURAL_NAME
public static final String PLURAL_NAME
- See Also:
- Constant Field Values
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
BUNDLE
public static final String BUNDLE
- See Also:
- Constant Field Values
-
FORMAT
public static final String FORMAT
- See Also:
- Constant Field Values
-
THUMBNAIL
public static final String THUMBNAIL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBundleName
public String getBundleName()
-
setBundleName
public void setBundleName(String bundleName)
-
getSizeBytes
public Long getSizeBytes()
-
setSizeBytes
public void setSizeBytes(Long sizeBytes)
-
getCheckSum
public CheckSumRest getCheckSum()
-
setCheckSum
public void setCheckSum(CheckSumRest checkSum)
-
getSequenceId
public Integer getSequenceId()
-
setSequenceId
public void setSequenceId(Integer sequenceId)
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getType
public String getType()
-
-