Package org.dspace.app.rest.model
Class HarvestedCollectionRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<Integer>
-
- org.dspace.app.rest.model.HarvestedCollectionRest
-
- All Implemented Interfaces:
Serializable,RestModel
public class HarvestedCollectionRest extends BaseObjectRest<Integer>
The HarvestCollection REST Resource- Author:
- Jelle Pelgrims (jelle.pelgrims at atmire.com)
- 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 HarvestedCollectionRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()CollectionRestgetCollectionRest()ClassgetController()StringgetHarvestMessage()DategetHarvestStartTime()HarvestStatusEnumgetHarvestStatus()StringgetHarvestStatusAsString()intgetHarvestType()StringgetHarvestTypeAsString()IntegergetId()DategetLastHarvested()StringgetMetadataConfigId()HarvesterMetadataRestgetMetadataConfigs()StringgetOaiSetId()StringgetOaiSource()StringgetType()voidsetCollection(CollectionRest collectionRest)voidsetHarvestMessage(String harvestMessage)voidsetHarvestStartTime(Date harvestStartTime)voidsetHarvestStatus(HarvestStatusEnum harvestStatus)voidsetHarvestType(HarvestTypeEnum harvestType)voidsetLastHarvested(Date 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, 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
-
getId
public Integer getId()
- Overrides:
getIdin classBaseObjectRest<Integer>
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getController
public Class getController()
- Specified by:
getControllerin classRestAddressableModel
-
getType
public String getType()
-
getCollectionRest
public CollectionRest getCollectionRest()
-
setCollection
public void setCollection(CollectionRest collectionRest)
-
getHarvestType
public int getHarvestType()
-
getHarvestTypeAsString
public String getHarvestTypeAsString()
-
setHarvestType
public void setHarvestType(HarvestTypeEnum harvestType)
-
getOaiSource
public String getOaiSource()
-
setOaiSource
public void setOaiSource(String oaiSource)
-
getOaiSetId
public String getOaiSetId()
-
setOaiSetId
public void setOaiSetId(String oaiSetId)
-
getMetadataConfigId
public String getMetadataConfigId()
-
setMetadataConfigId
public void setMetadataConfigId(String metadataConfigId)
-
getHarvestMessage
public String getHarvestMessage()
-
setHarvestMessage
public void setHarvestMessage(String harvestMessage)
-
getHarvestStatus
public HarvestStatusEnum getHarvestStatus()
-
getHarvestStatusAsString
public String getHarvestStatusAsString()
-
setHarvestStatus
public void setHarvestStatus(HarvestStatusEnum harvestStatus)
-
getHarvestStartTime
public Date getHarvestStartTime()
-
setHarvestStartTime
public void setHarvestStartTime(Date harvestStartTime)
-
getLastHarvested
public Date getLastHarvested()
-
setLastHarvested
public void setLastHarvested(Date lastHarvested)
-
getMetadataConfigs
@LinkRest(name="harvestermetadata") public HarvesterMetadataRest getMetadataConfigs()
-
setMetadataConfigs
public void setMetadataConfigs(HarvesterMetadataRest metadata_configs)
-
-