/* The contents of this file are subject to the license and copyright terms * detailed in the license directory at the root of the source tree (also * available online at http://fedora-commons.org/license/). */ package fedora.common.rdf; /** * The Fedora Recovery RDF namespace. * * <pre> * Namespace URI : info:fedora/fedora-system:def/recovery# * Preferred Prefix : recovery * </pre> * * <p> * These are context attributes used for recovery. They represent potentially * auto-generated ids. * </p> * <p> * When Fedora is in journaling mode, these values are logged in the journal so * that they can be reused in recovery mode. This helps to ensure that the * recovery process populates the repository in the same way it was originally * populated. * </p> */ public class RecoveryNamespace extends RDFNamespace { private static final long serialVersionUID = 1L; /** The ID of the datastream, whether given or generated at add time. */ public final RDFName DATASTREAM_ID; /** The ID of the disseminator, whether given or generated at add time. */ public final RDFName DISSEMINATOR_ID; /** The PID of the object, whether given or generated at ingest time. */ public final RDFName PID; /** The list of generated PIDs. */ public final RDFName PID_LIST; /** The temporary ID that was assigned to the stream at upload time. */ public final RDFName UPLOAD_ID; public RecoveryNamespace() { uri = "info:fedora/fedora-system:def/recovery#"; prefix = "recovery"; // Properties DATASTREAM_ID = new RDFName(this, "dsID"); DISSEMINATOR_ID = new RDFName(this, "dissID"); PID = new RDFName(this, "pid"); PID_LIST = new RDFName(this, "pidList"); UPLOAD_ID = new RDFName(this, "uploadID"); } }