Package org.dspace.harvest
Class HarvestedItem
java.lang.Object
org.dspace.harvest.HarvestedItem
- All Implemented Interfaces:
ReloadableEntity<Integer>
- Author:
- Alexey Maslov
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected constructor, create object using:HarvestedItemService.create(Context, Item, String) -
Method Summary
Modifier and TypeMethodDescriptiongetID()The unique identifier of this entity instance.getItem()getOaiID()Get the oai_id associated with this itemvoidsetHarvestDate(Instant date) voidSet the oai_id associated with this item
-
Constructor Details
-
HarvestedItem
protected HarvestedItem()Protected constructor, create object using:HarvestedItemService.create(Context, Item, String)
-
-
Method Details
-
getID
Description copied from interface:ReloadableEntityThe unique identifier of this entity instance.- Specified by:
getIDin interfaceReloadableEntity<Integer>- Returns:
- the value of the primary key for this instance.
-
getItem
-
getOaiID
Get the oai_id associated with this item- Returns:
- itemOaiID item's OAI identifier
-
setOaiID
Set the oai_id associated with this item- Parameters:
itemOaiID- item's OAI identifier
-
setHarvestDate
-
getHarvestDate
-