Package org.dspace.harvest
Class HarvestedItem
- java.lang.Object
-
- org.dspace.harvest.HarvestedItem
-
- All Implemented Interfaces:
ReloadableEntity<Integer>
@Entity public class HarvestedItem extends Object implements ReloadableEntity<Integer>
- Author:
- Alexey Maslov
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHarvestedItem()Protected constructor, create object using:HarvestedItemService.create(Context, Item, String)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetHarvestDate()IntegergetID()The unique identifier of this entity instance.ItemgetItem()StringgetOaiID()Get the oai_id associated with this itemvoidsetHarvestDate(Date date)voidsetOaiID(String itemOaiID)Set the oai_id associated with this item
-
-
-
Constructor Detail
-
HarvestedItem
protected HarvestedItem()
Protected constructor, create object using:HarvestedItemService.create(Context, Item, String)
-
-
Method Detail
-
getID
public Integer 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
public Item getItem()
-
getOaiID
public String getOaiID()
Get the oai_id associated with this item- Returns:
- itemOaiID item's OAI identifier
-
setOaiID
public void setOaiID(String itemOaiID)
Set the oai_id associated with this item- Parameters:
itemOaiID- item's OAI identifier
-
setHarvestDate
public void setHarvestDate(Date date)
-
getHarvestDate
public Date getHarvestDate()
-
-