/******************************************************************************* * 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.persistence; /** * Interface for PersistedPrecondition ontology class<br> * Use the org.openanzo.ontologies.persistence.ClientPersistenceFactory to create instances of this interface. * <p>(URI: http://openanzo.org/ontologies/2008/07/ClientPersistence#PersistedPrecondition)</p> * <br> * <br> * <br> */ @SuppressWarnings("all") public interface PersistedPrecondition 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/ClientPersistence#PersistedPrecondition"); /** * The Anzo Property for askResult * <p>(URI: http://openanzo.org/ontologies/2008/07/ClientPersistence#askResult)</p> * <br> * <br> * RDF Schema Standard Properties <br> * comment : The sparql query to run for the precondition <br> * <br> */ public static org.openanzo.rdf.URI askResultProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI("http://openanzo.org/ontologies/2008/07/ClientPersistence#askResult"); /** * The Anzo Property for queryString * <p>(URI: http://openanzo.org/ontologies/2008/07/ClientPersistence#queryString)</p> * <br> * <br> * RDF Schema Standard Properties <br> * comment : The sparql query to run for the precondition <br> * <br> */ public static org.openanzo.rdf.URI queryStringProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI("http://openanzo.org/ontologies/2008/07/ClientPersistence#queryString"); /** * The Anzo Property for preconditionDefaultUri * <p>(URI: http://openanzo.org/ontologies/2008/07/ClientPersistence#preconditionDefaultUri)</p> * <br> * <br> * RDF Schema Standard Properties <br> * comment : default uri to include in the precondition sparql query <br> * <br> */ public static org.openanzo.rdf.URI preconditionDefaultUriProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI("http://openanzo.org/ontologies/2008/07/ClientPersistence#preconditionDefaultUri"); /** * The Anzo Property for preconditionNamedGraphUri * <p>(URI: http://openanzo.org/ontologies/2008/07/ClientPersistence#preconditionNamedGraphUri)</p> * <br> * <br> * RDF Schema Standard Properties <br> * comment : named graph uri to include in the precondition sparql query <br> * <br> */ public static org.openanzo.rdf.URI preconditionNamedGraphUriProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI("http://openanzo.org/ontologies/2008/07/ClientPersistence#preconditionNamedGraphUri"); /** * Gets the 'askResult' property value from the given graph * @return {@link java.lang.Boolean} * @see #askResultProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.lang.Boolean getAskResult() throws org.openanzo.rdf.jastor.JastorException; /** * Gets the 'askResult' property value * @param includeEntireDataset Get the properties from the entire dataset, and not just the namedgraph * @return {@link java.lang.Boolean} * @see #askResultProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.lang.Boolean getAskResult(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Sets the 'askResult' property value * @param askResult {@link java.lang.Boolean}, the value to set * @see #askResultProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void setAskResult(java.lang.Boolean askResult) throws org.openanzo.rdf.jastor.JastorException; /** * Clears all values for 'askResult'. * @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph * @see #askResultProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void clearAskResult(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Gets the 'queryString' property value from the given graph * @return {@link java.lang.String} * @see #queryStringProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.lang.String getQueryString() throws org.openanzo.rdf.jastor.JastorException; /** * Gets the 'queryString' property value * @param includeEntireDataset Get the properties from the entire dataset, and not just the namedgraph * @return {@link java.lang.String} * @see #queryStringProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.lang.String getQueryString(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Sets the 'queryString' property value * @param queryString {@link java.lang.String}, the value to set * @see #queryStringProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void setQueryString(java.lang.String queryString) throws org.openanzo.rdf.jastor.JastorException; /** * Clears all values for 'queryString'. * @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph * @see #queryStringProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void clearQueryString(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Get an Iterator the 'preconditionDefaultUri' property values. This Iteartor * may be used to remove all such values. * @return {@link java.util.Collection} of {@link org.openanzo.rdf.jastor.Thing} * @see #preconditionDefaultUriProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.util.Collection<org.openanzo.rdf.jastor.Thing> getPreconditionDefaultUri() throws org.openanzo.rdf.jastor.JastorException; /** * Get an Iterator the 'preconditionDefaultUri' 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.rdf.jastor.Thing} * @see #preconditionDefaultUriProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.util.Collection<org.openanzo.rdf.jastor.Thing> getPreconditionDefaultUri(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Adds a value for the 'preconditionDefaultUri' property * @param preconditionDefaultUri The {@link org.openanzo.rdf.jastor.Thing} to add * @see #preconditionDefaultUriProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void addPreconditionDefaultUri(org.openanzo.rdf.jastor.Thing preconditionDefaultUri) throws org.openanzo.rdf.jastor.JastorException; /** * Adds an anonymous value for the 'preconditionDefaultUri' property * @return The anoymous {@link org.openanzo.rdf.jastor.Thing} created * @see #preconditionDefaultUriProperty * @throws org.openanzo.rdf.jastor.JastorException */ public org.openanzo.rdf.jastor.Thing addPreconditionDefaultUri() throws org.openanzo.rdf.jastor.JastorException; /** * Adds a value for the 'preconditionDefaultUri' property. This * method is equivalent constructing a new instance of {@link org.openanzo.rdf.jastor.Thing} with the factory * and calling addPreconditionDefaultUri(org.openanzo.rdf.jastor.Thing preconditionDefaultUri) * The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. 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.rdf.jastor.Thing, value added * @see #preconditionDefaultUriProperty * @throws org.openanzo.rdf.jastor.JastorException */ public org.openanzo.rdf.jastor.Thing addPreconditionDefaultUri(org.openanzo.rdf.Resource resource) throws org.openanzo.rdf.jastor.JastorException; /** * Removes a value for the 'preconditionDefaultUri' 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 preconditionDefaultUri The {@link org.openanzo.rdf.jastor.Thing} to remove * @see #preconditionDefaultUriProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void removePreconditionDefaultUri(org.openanzo.rdf.jastor.Thing preconditionDefaultUri) throws org.openanzo.rdf.jastor.JastorException; /** * Removes a value for the 'preconditionDefaultUri' 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 preconditionDefaultUri The {@link org.openanzo.rdf.Resource} to remove * @see #preconditionDefaultUriProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void removePreconditionDefaultUri(org.openanzo.rdf.Resource preconditionDefaultUri) throws org.openanzo.rdf.jastor.JastorException; /** * Clears all values for 'preconditionDefaultUri'. * @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph * @see #preconditionDefaultUriProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void clearPreconditionDefaultUri(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Get an Iterator the 'preconditionNamedGraphUri' property values. This Iteartor * may be used to remove all such values. * @return {@link java.util.Collection} of {@link org.openanzo.rdf.jastor.Thing} * @see #preconditionNamedGraphUriProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.util.Collection<org.openanzo.rdf.jastor.Thing> getPreconditionNamedGraphUri() throws org.openanzo.rdf.jastor.JastorException; /** * Get an Iterator the 'preconditionNamedGraphUri' 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.rdf.jastor.Thing} * @see #preconditionNamedGraphUriProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.util.Collection<org.openanzo.rdf.jastor.Thing> getPreconditionNamedGraphUri(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Adds a value for the 'preconditionNamedGraphUri' property * @param preconditionNamedGraphUri The {@link org.openanzo.rdf.jastor.Thing} to add * @see #preconditionNamedGraphUriProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void addPreconditionNamedGraphUri(org.openanzo.rdf.jastor.Thing preconditionNamedGraphUri) throws org.openanzo.rdf.jastor.JastorException; /** * Adds an anonymous value for the 'preconditionNamedGraphUri' property * @return The anoymous {@link org.openanzo.rdf.jastor.Thing} created * @see #preconditionNamedGraphUriProperty * @throws org.openanzo.rdf.jastor.JastorException */ public org.openanzo.rdf.jastor.Thing addPreconditionNamedGraphUri() throws org.openanzo.rdf.jastor.JastorException; /** * Adds a value for the 'preconditionNamedGraphUri' property. This * method is equivalent constructing a new instance of {@link org.openanzo.rdf.jastor.Thing} with the factory * and calling addPreconditionNamedGraphUri(org.openanzo.rdf.jastor.Thing preconditionNamedGraphUri) * The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. 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.rdf.jastor.Thing, value added * @see #preconditionNamedGraphUriProperty * @throws org.openanzo.rdf.jastor.JastorException */ public org.openanzo.rdf.jastor.Thing addPreconditionNamedGraphUri(org.openanzo.rdf.Resource resource) throws org.openanzo.rdf.jastor.JastorException; /** * Removes a value for the 'preconditionNamedGraphUri' 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 preconditionNamedGraphUri The {@link org.openanzo.rdf.jastor.Thing} to remove * @see #preconditionNamedGraphUriProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void removePreconditionNamedGraphUri(org.openanzo.rdf.jastor.Thing preconditionNamedGraphUri) throws org.openanzo.rdf.jastor.JastorException; /** * Removes a value for the 'preconditionNamedGraphUri' 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 preconditionNamedGraphUri The {@link org.openanzo.rdf.Resource} to remove * @see #preconditionNamedGraphUriProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void removePreconditionNamedGraphUri(org.openanzo.rdf.Resource preconditionNamedGraphUri) throws org.openanzo.rdf.jastor.JastorException; /** * Clears all values for 'preconditionNamedGraphUri'. * @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph * @see #preconditionNamedGraphUriProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void clearPreconditionNamedGraphUri(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; }