Package org.dspace.app.rest.model
Class BitstreamFormatRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<Integer>
-
- org.dspace.app.rest.model.BitstreamFormatRest
-
- All Implemented Interfaces:
Serializable,RestModel
public class BitstreamFormatRest extends BaseObjectRest<Integer>
The BitstreamFormat REST Resource- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringNAME-
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 BitstreamFormatRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()ClassgetController()StringgetDescription()List<String>getExtensions()StringgetMimetype()StringgetShortDescription()StringgetSupportLevel()StringgetType()booleanisInternal()voidsetDescription(String description)voidsetExtensions(List<String> extensions)voidsetInternal(boolean internal)voidsetMimetype(String mimetype)voidsetShortDescription(String shortDescription)voidsetSupportLevel(String supportLevel)-
Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, getId, 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
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getShortDescription
public String getShortDescription()
-
setShortDescription
public void setShortDescription(String shortDescription)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getMimetype
public String getMimetype()
-
setMimetype
public void setMimetype(String mimetype)
-
getSupportLevel
public String getSupportLevel()
-
setSupportLevel
public void setSupportLevel(String supportLevel)
-
isInternal
public boolean isInternal()
-
setInternal
public void setInternal(boolean internal)
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getType
public String getType()
-
getController
public Class getController()
- Specified by:
getControllerin classRestAddressableModel
-
-