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="accessStatus",method="getAccessStatus") @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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.dspace.app.rest.model.BaseObjectRest
idFields inherited from interface org.dspace.app.rest.model.RestModel
AUTHENTICATION, AUTHORIZATION, CONFIGURATION, CONTENT_REPORT, CORE, DISCOVER, DUPLICATES, EPERSON, INTEGRATION, LDN, PID, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, VERSIONING, WORKFLOW -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()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, setUuidMethods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, setErrors, setIdMethods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Field Details
-
PLURAL_NAME
- See Also:
-
NAME
- See Also:
-
CATEGORY
- See Also:
-
BUNDLE
- See Also:
-
ACCESS_STATUS
- See Also:
-
FORMAT
- See Also:
-
THUMBNAIL
- See Also:
-
-
Constructor Details
-
BitstreamRest
public BitstreamRest()
-
-
Method Details
-
getBundleName
-
setBundleName
-
getSizeBytes
-
setSizeBytes
-
getCheckSum
-
setCheckSum
-
getSequenceId
-
setSequenceId
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getType
-
getTypePlural
-