Package org.dspace.app.rest.model
Class DSpaceObjectRest
- All Implemented Interfaces:
Serializable,RestModel
- Direct Known Subclasses:
BitstreamRest,BundleRest,CollectionRest,CommunityRest,EPersonRest,GroupRest,ItemRest,SiteRest
Base REST representation for all the DSpaceObjects
- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
- See Also:
-
Field Summary
Fields 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 TypeMethodDescriptiongetId()Gets the rest representation of all metadata of the DSpace object.getName()getUuid()voidvoidsetMetadata(MetadataRest<MetadataValueRest> metadata) voidvoidMethods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, setErrors, setIdMethods inherited from class org.dspace.app.rest.model.RestAddressableModel
getCategory, getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dspace.app.rest.model.RestModel
getType, getTypePlural
-
Constructor Details
-
DSpaceObjectRest
public DSpaceObjectRest()
-
-
Method Details
-
getId
- Overrides:
getIdin classBaseObjectRest<String>
-
getUuid
-
setUuid
-
getName
-
setName
-
getHandle
-
setHandle
-
getMetadata
Gets the rest representation of all metadata of the DSpace object.- Returns:
- the metadata.
-
setMetadata
-
getController
- Specified by:
getControllerin classRestAddressableModel
-