org.dspace.search.HarvestedItemInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dspace-api Show documentation
Show all versions of dspace-api Show documentation
DSpace core data model and service APIs.
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.search;
import java.util.Date;
import java.util.List;
import java.util.UUID;
import org.dspace.content.Item;
import org.dspace.core.Context;
/**
* Simple container class containing information about a harvested DSpace item.
*
* @author Robert Tansley
* @version $Revision$
*/
public class HarvestedItemInfo {
/**
* Context used when creating this object
*/
public Context context;
/**
* Internal item ID (as opposed to item's OAI ID, which is the Handle)
*/
public UUID itemID;
/**
* The Handle, with no prefix
*/
public String handle;
/**
* The datestamp
*/
public Date datestamp;
/**
* The item. Only filled out if requested
*/
public Item item;
/**
* A List of Strings. The Handles of collections this item is in. Only
* filled out if originally requested when invoking Harvest
* (N.B. not Collection objects)
*/
public List collectionHandles;
/**
* True if this item has been withdrawn
*/
public boolean withdrawn;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy