Package org.dspace.app.rest.model
Class HarvestedCollectionRest
- All Implemented Interfaces:
Serializable,RestModel
The HarvestCollection REST Resource
- Author:
- Jelle Pelgrims (jelle.pelgrims at atmire.com)
- See Also:
-
Field Summary
FieldsFields 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 TypeMethodDescriptionintgetId()getType()voidsetCollection(CollectionRest collectionRest) voidsetHarvestMessage(String harvestMessage) voidsetHarvestStartTime(Instant harvestStartTime) voidsetHarvestStatus(HarvestStatusEnum harvestStatus) voidsetHarvestType(HarvestTypeEnum harvestType) voidsetLastHarvested(Instant lastHarvested) voidsetMetadataConfigId(String metadataConfigId) voidsetMetadataConfigs(HarvesterMetadataRest metadata_configs) voidsetOaiSetId(String oaiSetId) voidsetOaiSource(String oaiSource) Methods 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
-
NAME
- See Also:
-
PLURAL_NAME
- See Also:
-
CATEGORY
- See Also:
-
-
Constructor Details
-
HarvestedCollectionRest
public HarvestedCollectionRest()
-
-
Method Details
-
getId
- Overrides:
getIdin classBaseObjectRest<Integer>
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getController
- Specified by:
getControllerin classRestAddressableModel
-
getType
-
getTypePlural
-
getCollectionRest
-
setCollection
-
getHarvestType
public int getHarvestType() -
getHarvestTypeAsString
-
setHarvestType
-
getOaiSource
-
setOaiSource
-
getOaiSetId
-
setOaiSetId
-
getMetadataConfigId
-
setMetadataConfigId
-
getHarvestMessage
-
setHarvestMessage
-
getHarvestStatus
-
getHarvestStatusAsString
-
setHarvestStatus
-
getHarvestStartTime
-
setHarvestStartTime
-
getLastHarvested
-
setLastHarvested
-
getMetadataConfigs
-
setMetadataConfigs
-