All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dspace.search.HarvestedItemInfo Maven / Gradle / Ivy

/**
 * 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 org.dspace.content.Item;
import org.dspace.core.Context;

/**
 * Simple container class containing information about a harvested DSpace item.
 * 
 * @author Robert Tansley
 * @version $Revision: 5844 $
 */
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 int 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 - 2025 Weber Informatics LLC | Privacy Policy