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

java.fedora.common.rdf.RecoveryNamespace Maven / Gradle / Ivy

/*
 * -----------------------------------------------------------------------------
 *
 * 

License and Copyright: The contents of this file are subject to the * Apache License, Version 2.0 (the "License"); you may not use * this file except in compliance with the License. You may obtain a copy of * the License at * http://www.fedora-commons.org/licenses.

* *

Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for * the specific language governing rights and limitations under the License.

* *

The entire file consists of original code.

*

Copyright © 2008 Fedora Commons, Inc.
*

Copyright © 2002-2007 The Rector and Visitors of the University of * Virginia and Cornell University
* All rights reserved.

* * ----------------------------------------------------------------------------- */ package fedora.common.rdf; import fedora.common.Constants; /** * Context attributes used for recovery. * * These values represent potentially auto-generated ids. * * 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. */ public class RecoveryNamespace extends RDFNamespace { /** 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() { this.uri = Constants.FEDORA_SYSTEM_DEF_URI + "/recovery#"; // Properties this.DATASTREAM_ID = new RDFName(this, "dsID"); this.DISSEMINATOR_ID = new RDFName(this, "dissID"); this.PID = new RDFName(this, "pid"); this.PID_LIST = new RDFName(this, "pidList"); this.UPLOAD_ID = new RDFName(this, "uploadID"); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy