/******************************************************************************* * Copyright (c) 2004, 2007-2008 IBM Corporation and Cambridge Semantics Incorporated. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * File: $Source$ * Created by: Generated Source from org.openanzo.jdbc.utils.opgen.jet * Created on: Generated Source from org.openanzo.jdbc.utils.opgen.jet * Revision: $Id$ * * Contributors: * IBM Corporation - initial API and implementation * Cambridge Semantics Incorporated - Fork to Anzo *******************************************************************************/ package org.openanzo.ontologies.openanzo; /** * Interface for Dataset ontology class<br> * Use the org.openanzo.ontologies.openanzo.AnzoFactory to create instances of this interface. * <p>(URI: http://openanzo.org/ontologies/2008/07/Anzo#Dataset)</p> * <br> * RDF Schema Standard Properties <br> * comment : A dataset is a collection of zero or more default graphs and zero or more named graphs. <br> * <br> * <br> */ @SuppressWarnings("all") public interface Dataset extends org.openanzo.rdf.jastor.Thing { /** * The rdf:type for this ontology class */ public static final org.openanzo.rdf.URI TYPE = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI("http://openanzo.org/ontologies/2008/07/Anzo#Dataset"); /** * The Anzo Property for includeMetadataGraphs * <p>(URI: http://openanzo.org/ontologies/2008/07/Anzo#includeMetadataGraphs)</p> * <br> */ public static org.openanzo.rdf.URI includeMetadataGraphsProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI("http://openanzo.org/ontologies/2008/07/Anzo#includeMetadataGraphs"); /** * The Anzo Property for defaultGraph * <p>(URI: http://openanzo.org/ontologies/2008/07/Anzo#defaultGraph)</p> * <br> */ public static org.openanzo.rdf.URI defaultGraphProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI("http://openanzo.org/ontologies/2008/07/Anzo#defaultGraph"); /** * The Anzo Property for defaultNamedGraph * <p>(URI: http://openanzo.org/ontologies/2008/07/Anzo#defaultNamedGraph)</p> * <br> */ public static org.openanzo.rdf.URI defaultNamedGraphProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI("http://openanzo.org/ontologies/2008/07/Anzo#defaultNamedGraph"); /** * The Anzo Property for namedGraph * <p>(URI: http://openanzo.org/ontologies/2008/07/Anzo#namedGraph)</p> * <br> */ public static org.openanzo.rdf.URI namedGraphProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI("http://openanzo.org/ontologies/2008/07/Anzo#namedGraph"); /** * Gets the 'includeMetadataGraphs' property value from the given graph * @return {@link java.lang.Boolean} * @see #includeMetadataGraphsProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.lang.Boolean getIncludeMetadataGraphs() throws org.openanzo.rdf.jastor.JastorException; /** * Gets the 'includeMetadataGraphs' property value * @param includeEntireDataset Get the properties from the entire dataset, and not just the namedgraph * @return {@link java.lang.Boolean} * @see #includeMetadataGraphsProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.lang.Boolean getIncludeMetadataGraphs(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Sets the 'includeMetadataGraphs' property value * @param includeMetadataGraphs {@link java.lang.Boolean}, the value to set * @see #includeMetadataGraphsProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void setIncludeMetadataGraphs(java.lang.Boolean includeMetadataGraphs) throws org.openanzo.rdf.jastor.JastorException; /** * Clears all values for 'includeMetadataGraphs'. * @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph * @see #includeMetadataGraphsProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void clearIncludeMetadataGraphs(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Get an Iterator the 'defaultGraph' property values. This Iteartor * may be used to remove all such values. * @return {@link java.util.Collection} of {@link org.openanzo.ontologies.openanzo.NamedGraph} * @see #defaultGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.util.Collection<org.openanzo.ontologies.openanzo.NamedGraph> getDefaultGraph() throws org.openanzo.rdf.jastor.JastorException; /** * Get an Iterator the 'defaultGraph' property values. This Iteartor * may be used to remove all such values. * @param includeEntireDataset Get the properties from the entire dataset, and not just the namedgraph * @return {@link java.util.Collection} of {@link org.openanzo.ontologies.openanzo.NamedGraph} * @see #defaultGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.util.Collection<org.openanzo.ontologies.openanzo.NamedGraph> getDefaultGraph(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Adds a value for the 'defaultGraph' property * @param defaultGraph The {@link org.openanzo.ontologies.openanzo.NamedGraph} to add * @see #defaultGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void addDefaultGraph(org.openanzo.ontologies.openanzo.NamedGraph defaultGraph) throws org.openanzo.rdf.jastor.JastorException; /** * Adds an anonymous value for the 'defaultGraph' property * @return The anoymous {@link org.openanzo.ontologies.openanzo.NamedGraph} created * @see #defaultGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public org.openanzo.ontologies.openanzo.NamedGraph addDefaultGraph() throws org.openanzo.rdf.jastor.JastorException; /** * Adds a value for the 'defaultGraph' property. This * method is equivalent constructing a new instance of {@link org.openanzo.ontologies.openanzo.NamedGraph} with the factory * and calling addDefaultGraph(org.openanzo.ontologies.openanzo.NamedGraph defaultGraph) * The resource argument have rdf:type http://openanzo.org/ontologies/2008/07/Anzo#NamedGraph. That is, this method * should not be used as a shortcut for creating new objects in the model. * @param resource The {@link org.openanzo.rdf.Resource} to add * @return org.openanzo.ontologies.openanzo.NamedGraph, value added * @see #defaultGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public org.openanzo.ontologies.openanzo.NamedGraph addDefaultGraph(org.openanzo.rdf.Resource resource) throws org.openanzo.rdf.jastor.JastorException; /** * Removes a value for the 'defaultGraph' property. This method should not * be invoked while iterator through values. In that case, the remove() method of the Iterator * itself should be used. * @param defaultGraph The {@link org.openanzo.ontologies.openanzo.NamedGraph} to remove * @see #defaultGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void removeDefaultGraph(org.openanzo.ontologies.openanzo.NamedGraph defaultGraph) throws org.openanzo.rdf.jastor.JastorException; /** * Removes a value for the 'defaultGraph' property. This method should not * be invoked while iterator through values. In that case, the remove() method of the Iterator * itself should be used. * @param defaultGraph The {@link org.openanzo.rdf.Resource} to remove * @see #defaultGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void removeDefaultGraph(org.openanzo.rdf.Resource defaultGraph) throws org.openanzo.rdf.jastor.JastorException; /** * Clears all values for 'defaultGraph'. * @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph * @see #defaultGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void clearDefaultGraph(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Get an Iterator the 'defaultNamedGraph' property values. This Iteartor * may be used to remove all such values. * @return {@link java.util.Collection} of {@link org.openanzo.ontologies.openanzo.NamedGraph} * @see #defaultNamedGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.util.Collection<org.openanzo.ontologies.openanzo.NamedGraph> getDefaultNamedGraph() throws org.openanzo.rdf.jastor.JastorException; /** * Get an Iterator the 'defaultNamedGraph' property values. This Iteartor * may be used to remove all such values. * @param includeEntireDataset Get the properties from the entire dataset, and not just the namedgraph * @return {@link java.util.Collection} of {@link org.openanzo.ontologies.openanzo.NamedGraph} * @see #defaultNamedGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.util.Collection<org.openanzo.ontologies.openanzo.NamedGraph> getDefaultNamedGraph(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Adds a value for the 'defaultNamedGraph' property * @param defaultNamedGraph The {@link org.openanzo.ontologies.openanzo.NamedGraph} to add * @see #defaultNamedGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void addDefaultNamedGraph(org.openanzo.ontologies.openanzo.NamedGraph defaultNamedGraph) throws org.openanzo.rdf.jastor.JastorException; /** * Adds an anonymous value for the 'defaultNamedGraph' property * @return The anoymous {@link org.openanzo.ontologies.openanzo.NamedGraph} created * @see #defaultNamedGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public org.openanzo.ontologies.openanzo.NamedGraph addDefaultNamedGraph() throws org.openanzo.rdf.jastor.JastorException; /** * Adds a value for the 'defaultNamedGraph' property. This * method is equivalent constructing a new instance of {@link org.openanzo.ontologies.openanzo.NamedGraph} with the factory * and calling addDefaultNamedGraph(org.openanzo.ontologies.openanzo.NamedGraph defaultNamedGraph) * The resource argument have rdf:type http://openanzo.org/ontologies/2008/07/Anzo#NamedGraph. That is, this method * should not be used as a shortcut for creating new objects in the model. * @param resource The {@link org.openanzo.rdf.Resource} to add * @return org.openanzo.ontologies.openanzo.NamedGraph, value added * @see #defaultNamedGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public org.openanzo.ontologies.openanzo.NamedGraph addDefaultNamedGraph(org.openanzo.rdf.Resource resource) throws org.openanzo.rdf.jastor.JastorException; /** * Removes a value for the 'defaultNamedGraph' property. This method should not * be invoked while iterator through values. In that case, the remove() method of the Iterator * itself should be used. * @param defaultNamedGraph The {@link org.openanzo.ontologies.openanzo.NamedGraph} to remove * @see #defaultNamedGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void removeDefaultNamedGraph(org.openanzo.ontologies.openanzo.NamedGraph defaultNamedGraph) throws org.openanzo.rdf.jastor.JastorException; /** * Removes a value for the 'defaultNamedGraph' property. This method should not * be invoked while iterator through values. In that case, the remove() method of the Iterator * itself should be used. * @param defaultNamedGraph The {@link org.openanzo.rdf.Resource} to remove * @see #defaultNamedGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void removeDefaultNamedGraph(org.openanzo.rdf.Resource defaultNamedGraph) throws org.openanzo.rdf.jastor.JastorException; /** * Clears all values for 'defaultNamedGraph'. * @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph * @see #defaultNamedGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void clearDefaultNamedGraph(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Get an Iterator the 'namedGraph' property values. This Iteartor * may be used to remove all such values. * @return {@link java.util.Collection} of {@link org.openanzo.ontologies.openanzo.NamedGraph} * @see #namedGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.util.Collection<org.openanzo.ontologies.openanzo.NamedGraph> getNamedGraph() throws org.openanzo.rdf.jastor.JastorException; /** * Get an Iterator the 'namedGraph' property values. This Iteartor * may be used to remove all such values. * @param includeEntireDataset Get the properties from the entire dataset, and not just the namedgraph * @return {@link java.util.Collection} of {@link org.openanzo.ontologies.openanzo.NamedGraph} * @see #namedGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.util.Collection<org.openanzo.ontologies.openanzo.NamedGraph> getNamedGraph(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Adds a value for the 'namedGraph' property * @param namedGraph The {@link org.openanzo.ontologies.openanzo.NamedGraph} to add * @see #namedGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void addNamedGraph(org.openanzo.ontologies.openanzo.NamedGraph namedGraph) throws org.openanzo.rdf.jastor.JastorException; /** * Adds an anonymous value for the 'namedGraph' property * @return The anoymous {@link org.openanzo.ontologies.openanzo.NamedGraph} created * @see #namedGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public org.openanzo.ontologies.openanzo.NamedGraph addNamedGraph() throws org.openanzo.rdf.jastor.JastorException; /** * Adds a value for the 'namedGraph' property. This * method is equivalent constructing a new instance of {@link org.openanzo.ontologies.openanzo.NamedGraph} with the factory * and calling addNamedGraph(org.openanzo.ontologies.openanzo.NamedGraph namedGraph) * The resource argument have rdf:type http://openanzo.org/ontologies/2008/07/Anzo#NamedGraph. That is, this method * should not be used as a shortcut for creating new objects in the model. * @param resource The {@link org.openanzo.rdf.Resource} to add * @return org.openanzo.ontologies.openanzo.NamedGraph, value added * @see #namedGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public org.openanzo.ontologies.openanzo.NamedGraph addNamedGraph(org.openanzo.rdf.Resource resource) throws org.openanzo.rdf.jastor.JastorException; /** * Removes a value for the 'namedGraph' property. This method should not * be invoked while iterator through values. In that case, the remove() method of the Iterator * itself should be used. * @param namedGraph The {@link org.openanzo.ontologies.openanzo.NamedGraph} to remove * @see #namedGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void removeNamedGraph(org.openanzo.ontologies.openanzo.NamedGraph namedGraph) throws org.openanzo.rdf.jastor.JastorException; /** * Removes a value for the 'namedGraph' property. This method should not * be invoked while iterator through values. In that case, the remove() method of the Iterator * itself should be used. * @param namedGraph The {@link org.openanzo.rdf.Resource} to remove * @see #namedGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void removeNamedGraph(org.openanzo.rdf.Resource namedGraph) throws org.openanzo.rdf.jastor.JastorException; /** * Clears all values for 'namedGraph'. * @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph * @see #namedGraphProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void clearNamedGraph(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; }