/*******************************************************************************
* 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 Precondition 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#Precondition)</p>
* <br>
* RDF Schema Standard Properties <br>
* comment : A precondition for a transaction <br>
* <br>
* <br>
*/
@SuppressWarnings("all")
public interface Precondition 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#Precondition");
/**
* The Anzo Property for dataset
* <p>(URI: http://openanzo.org/ontologies/2008/07/Anzo#dataset)</p>
* <br>
*/
public static org.openanzo.rdf.URI datasetProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI("http://openanzo.org/ontologies/2008/07/Anzo#dataset");
/**
* The Anzo Property for query
* <p>(URI: http://openanzo.org/ontologies/2008/07/Anzo#query)</p>
* <br>
*/
public static org.openanzo.rdf.URI queryProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI("http://openanzo.org/ontologies/2008/07/Anzo#query");
/**
* The Anzo Property for result
* <p>(URI: http://openanzo.org/ontologies/2008/07/Anzo#result)</p>
* <br>
*/
public static org.openanzo.rdf.URI resultProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI("http://openanzo.org/ontologies/2008/07/Anzo#result");
/**
* Gets the 'dataset' property value
* @return {@link org.openanzo.ontologies.openanzo.Dataset}
* @see #datasetProperty
* @throws org.openanzo.rdf.jastor.JastorException
*/
public org.openanzo.ontologies.openanzo.Dataset getDataset() throws org.openanzo.rdf.jastor.JastorException;
/**
* Gets the 'dataset' property value
* @param includeEntireDataset Get the properties from the entire dataset, and not just the namedgraph
* @return {@link org.openanzo.ontologies.openanzo.Dataset}
* @see #datasetProperty
* @throws org.openanzo.rdf.jastor.JastorException
*/
public org.openanzo.ontologies.openanzo.Dataset getDataset(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException;
/**
* Sets the 'dataset' property value
* @param dataset {@link org.openanzo.ontologies.openanzo.Dataset}, value to set
* @see #datasetProperty
* @throws org.openanzo.rdf.jastor.JastorException
*/
public void setDataset(org.openanzo.ontologies.openanzo.Dataset dataset) throws org.openanzo.rdf.jastor.JastorException;
/**
* Sets the 'dataset' property value to an anonymous node
* @return {@link org.openanzo.ontologies.openanzo.Dataset}, the created value
* @see #datasetProperty
* @throws org.openanzo.rdf.jastor.JastorException
*/
public org.openanzo.ontologies.openanzo.Dataset setDataset() throws org.openanzo.rdf.jastor.JastorException;
/**
* Sets the 'dataset' property value to the given resource, and add's rdf:type properties. This
* method is equivalent constructing a new instance of {@link org.openanzo.ontologies.openanzo.Dataset} with the factory.
* and calling setDataset(org.openanzo.ontologies.openanzo.Dataset dataset)
* The resource argument have rdf:type http://openanzo.org/ontologies/2008/07/Anzo#Dataset. That is, this method
* should not be used as a shortcut for creating new objects in the model.
* @param resource {@link org.openanzo.rdf.Resource} must not be be null.
* @return {@link org.openanzo.ontologies.openanzo.Dataset}, the newly created value
* @see #datasetProperty
* @throws org.openanzo.rdf.jastor.JastorException
*/
public org.openanzo.ontologies.openanzo.Dataset setDataset(org.openanzo.rdf.Resource resource) throws org.openanzo.rdf.jastor.JastorException;
/**
* Clears all values for 'dataset'.
* @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph
* @see #datasetProperty
* @throws org.openanzo.rdf.jastor.JastorException
*/
public void clearDataset(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException;
/**
* Gets the 'query' property value
* @return {@link org.openanzo.ontologies.openanzo.Query}
* @see #queryProperty
* @throws org.openanzo.rdf.jastor.JastorException
*/
public org.openanzo.ontologies.openanzo.Query getQuery() throws org.openanzo.rdf.jastor.JastorException;
/**
* Gets the 'query' property value
* @param includeEntireDataset Get the properties from the entire dataset, and not just the namedgraph
* @return {@link org.openanzo.ontologies.openanzo.Query}
* @see #queryProperty
* @throws org.openanzo.rdf.jastor.JastorException
*/
public org.openanzo.ontologies.openanzo.Query getQuery(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException;
/**
* Sets the 'query' property value
* @param query {@link org.openanzo.ontologies.openanzo.Query}, value to set
* @see #queryProperty
* @throws org.openanzo.rdf.jastor.JastorException
*/
public void setQuery(org.openanzo.ontologies.openanzo.Query query) throws org.openanzo.rdf.jastor.JastorException;
/**
* Sets the 'query' property value to an anonymous node
* @return {@link org.openanzo.ontologies.openanzo.Query}, the created value
* @see #queryProperty
* @throws org.openanzo.rdf.jastor.JastorException
*/
public org.openanzo.ontologies.openanzo.Query setQuery() throws org.openanzo.rdf.jastor.JastorException;
/**
* Sets the 'query' property value to the given resource, and add's rdf:type properties. This
* method is equivalent constructing a new instance of {@link org.openanzo.ontologies.openanzo.Query} with the factory.
* and calling setQuery(org.openanzo.ontologies.openanzo.Query query)
* The resource argument have rdf:type http://openanzo.org/ontologies/2008/07/Anzo#Query. That is, this method
* should not be used as a shortcut for creating new objects in the model.
* @param resource {@link org.openanzo.rdf.Resource} must not be be null.
* @return {@link org.openanzo.ontologies.openanzo.Query}, the newly created value
* @see #queryProperty
* @throws org.openanzo.rdf.jastor.JastorException
*/
public org.openanzo.ontologies.openanzo.Query setQuery(org.openanzo.rdf.Resource resource) throws org.openanzo.rdf.jastor.JastorException;
/**
* Clears all values for 'query'.
* @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph
* @see #queryProperty
* @throws org.openanzo.rdf.jastor.JastorException
*/
public void clearQuery(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException;
/**
* Gets the 'result' property value
* @return {@link org.openanzo.ontologies.openanzo.Result}
* @see #resultProperty
* @throws org.openanzo.rdf.jastor.JastorException
*/
public org.openanzo.ontologies.openanzo.Result getResult() throws org.openanzo.rdf.jastor.JastorException;
/**
* Gets the 'result' property value
* @param includeEntireDataset Get the properties from the entire dataset, and not just the namedgraph
* @return {@link org.openanzo.ontologies.openanzo.Result}
* @see #resultProperty
* @throws org.openanzo.rdf.jastor.JastorException
*/
public org.openanzo.ontologies.openanzo.Result getResult(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException;
/**
* Sets the 'result' property value
* @param result {@link org.openanzo.ontologies.openanzo.Result}, value to set
* @see #resultProperty
* @throws org.openanzo.rdf.jastor.JastorException
*/
public void setResult(org.openanzo.ontologies.openanzo.Result result) throws org.openanzo.rdf.jastor.JastorException;
/**
* Sets the 'result' property value to an anonymous node
* @return {@link org.openanzo.ontologies.openanzo.Result}, the created value
* @see #resultProperty
* @throws org.openanzo.rdf.jastor.JastorException
*/
public org.openanzo.ontologies.openanzo.Result setResult() throws org.openanzo.rdf.jastor.JastorException;
/**
* Sets the 'result' property value to the given resource, and add's rdf:type properties. This
* method is equivalent constructing a new instance of {@link org.openanzo.ontologies.openanzo.Result} with the factory.
* and calling setResult(org.openanzo.ontologies.openanzo.Result result)
* The resource argument have rdf:type http://openanzo.org/ontologies/2008/07/Anzo#Result. That is, this method
* should not be used as a shortcut for creating new objects in the model.
* @param resource {@link org.openanzo.rdf.Resource} must not be be null.
* @return {@link org.openanzo.ontologies.openanzo.Result}, the newly created value
* @see #resultProperty
* @throws org.openanzo.rdf.jastor.JastorException
*/
public org.openanzo.ontologies.openanzo.Result setResult(org.openanzo.rdf.Resource resource) throws org.openanzo.rdf.jastor.JastorException;
/**
* Clears all values for 'result'.
* @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph
* @see #resultProperty
* @throws org.openanzo.rdf.jastor.JastorException
*/
public void clearResult(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException;
}