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

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

Go to download

The Fedora Client is a Java Library that allows API access to a Fedora Repository. The client is typically one part of a full Fedora installation.

The newest version!
/*
 * -----------------------------------------------------------------------------
 *
 * 

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; public class FedoraModelNamespace extends RDFNamespace { // Properties public final RDFName CONTENT_MODEL; public final RDFName CREATED_DATE; public final RDFName DATASTREAM_STATE; public final RDFName DEFINES_METHOD; public final RDFName DEPENDS_ON; public final RDFName IMPLEMENTS_BDEF; public final RDFName LABEL; public final RDFName OWNER; public final RDFName STATE; public final RDFName USES_BMECH; public final RDFName OBJECT_STATE; // Values public final RDFName ACTIVE; public final RDFName DELETED; public final RDFName INACTIVE; // Types public final RDFName BDEF_OBJECT; public final RDFName BMECH_OBJECT; public final RDFName DATA_OBJECT; public FedoraModelNamespace() { this.uri = Constants.FEDORA_SYSTEM_DEF_URI + "/model#"; // Properties // this.ALTERNATE_IDENTIFIER = new RDFName(this, "alternateIdentifier"); this.CONTENT_MODEL = new RDFName(this, "contentModel"); this.CREATED_DATE = new RDFName(this, "createdDate"); this.DEFINES_METHOD = new RDFName(this, "definesMethod"); this.DEPENDS_ON = new RDFName(this, "dependsOn"); this.IMPLEMENTS_BDEF = new RDFName(this, "implementsBDef"); this.LABEL = new RDFName(this, "label"); this.OWNER = new RDFName(this, "ownerId"); this.STATE = new RDFName(this, "state"); this.USES_BMECH = new RDFName(this, "usesBMech"); this.OBJECT_STATE = new RDFName(this, "objectState"); this.DATASTREAM_STATE = new RDFName(this, "datastreamState"); // Values this.ACTIVE = new RDFName(this, "Active"); this.DELETED = new RDFName(this, "Deleted"); this.INACTIVE = new RDFName(this, "Inactive"); // Types this.BDEF_OBJECT = new RDFName(this, "FedoraBDefObject"); this.BMECH_OBJECT = new RDFName(this, "FedoraBMechObject"); this.DATA_OBJECT = new RDFName(this, "FedoraObject"); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy