Package org.dspace.app.rest.model
Class VersionRest
- All Implemented Interfaces:
Serializable,RestModel
@LinkRest(name="versionhistory",method="getVersionHistory") @LinkRest(name="item",method="getVersionItem")
public class VersionRest
extends BaseObjectRest<Integer>
The REST object for the
Version objects- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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 TypeMethodDescriptionGeneric getter for the createdgetId()Generic getter for the idGeneric getter for the submitterNameGeneric getter for the summarygetType()Generic getter for the versionvoidsetCreated(Instant created) Generic setter for the createdvoidGeneric setter for the idvoidsetSubmitterName(String submitterName) Generic setter for the submitterNamevoidsetSummary(String summary) Generic setter for the summaryvoidsetVersion(Integer version) Generic setter for the versionMethods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, setErrorsMethods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Field Details
-
NAME
- See Also:
-
PLURAL_NAME
- See Also:
-
CATEGORY
- See Also:
-
VERSION_HISTORY
- See Also:
-
ITEM
- See Also:
-
-
Constructor Details
-
VersionRest
public VersionRest()
-
-
Method Details
-
getId
Generic getter for the id- Overrides:
getIdin classBaseObjectRest<Integer>- Returns:
- the id value of this VersionRest
-
setId
Generic setter for the id- Overrides:
setIdin classBaseObjectRest<Integer>- Parameters:
id- The id to be set on this VersionRest
-
getVersion
Generic getter for the version- Returns:
- the version value of this VersionRest
-
setVersion
Generic setter for the version- Parameters:
version- The version to be set on this VersionRest
-
getCreated
Generic getter for the created- Returns:
- the created value of this VersionRest
-
setCreated
Generic setter for the created- Parameters:
created- The created to be set on this VersionRest
-
getSummary
Generic getter for the summary- Returns:
- the summary value of this VersionRest
-
setSummary
Generic setter for the summary- Parameters:
summary- The summary to be set on this VersionRest
-
getSubmitterName
Generic getter for the submitterName- Returns:
- the submitterName value of this VersionRest
-
setSubmitterName
Generic setter for the submitterName- Parameters:
submitterName- The submitterName to be set on this VersionRest
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getController
- Specified by:
getControllerin classRestAddressableModel
-
getType
-
getTypePlural
-