/******************************************************************************* * 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.system; /** * Interface for AuthorizationRule ontology class<br> * Use the org.openanzo.ontologies.system.SystemFactory to create instances of this interface. * <p>(URI: http://openanzo.org/ontologies/2008/07/System#AuthorizationRule)</p> * <br> * RDF Schema Standard Properties <br> * comment : AuthorizationConfiguration <br> * <br> * <br> */ @SuppressWarnings("all") public interface AuthorizationRule 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/System#AuthorizationRule"); /** * The Anzo Property for uriPattern * <p>(URI: http://openanzo.org/ontologies/2008/07/System#uriPattern)</p> * <br> * <br> * RDF Schema Standard Properties <br> * comment : URI pattern. <br> * <br> */ public static org.openanzo.rdf.URI uriPatternProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI("http://openanzo.org/ontologies/2008/07/System#uriPattern"); /** * The Anzo Property for privilege * <p>(URI: http://openanzo.org/ontologies/2008/07/System#privilege)</p> * <br> * <br> * RDF Schema Standard Properties <br> * comment : Privilege for rule. <br> * <br> */ public static org.openanzo.rdf.URI privilegeProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI("http://openanzo.org/ontologies/2008/07/System#privilege"); /** * The Anzo Property for role * <p>(URI: http://openanzo.org/ontologies/2008/07/System#role)</p> * <br> * <br> * RDF Schema Standard Properties <br> * comment : Role object. <br> * <br> */ public static org.openanzo.rdf.URI roleProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI("http://openanzo.org/ontologies/2008/07/System#role"); /** * Iterates through the 'uriPattern' property values. This Iteartor * may be used to remove all such values. * @return {@link java.util.Collection} of {@link java.lang.String} * @see #uriPatternProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.util.Collection<java.lang.String> getUriPattern() throws org.openanzo.rdf.jastor.JastorException; /** * Iterates through the 'uriPattern' 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 java.lang.String} * @see #uriPatternProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.util.Collection<java.lang.String> getUriPattern(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Add a 'uriPattern' property value * @param uriPattern {@link java.lang.String}, the value to add * @see #uriPatternProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void addUriPattern(java.lang.String uriPattern) throws org.openanzo.rdf.jastor.JastorException; /** * Remove a 'uriPattern' property value. This method should not * be invoked while iterator through values. In that case, the remove() method of the Iterator * itself should be used. * @param uriPattern {@link java.lang.String}, the value to remove * @see #uriPatternProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void removeUriPattern(java.lang.String uriPattern) throws org.openanzo.rdf.jastor.JastorException; /** * Clears all values for 'uriPattern'. * @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph * @see #uriPatternProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void clearUriPattern(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Gets the 'privilege' property value from the given graph * @return {@link java.lang.String} * @see #privilegeProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.lang.String getPrivilege() throws org.openanzo.rdf.jastor.JastorException; /** * Gets the 'privilege' property value * @param includeEntireDataset Get the properties from the entire dataset, and not just the namedgraph * @return {@link java.lang.String} * @see #privilegeProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.lang.String getPrivilege(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Sets the 'privilege' property value * @param privilege {@link java.lang.String}, the value to set * @see #privilegeProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void setPrivilege(java.lang.String privilege) throws org.openanzo.rdf.jastor.JastorException; /** * Clears all values for 'privilege'. * @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph * @see #privilegeProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void clearPrivilege(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Get an Iterator the 'role' property values. This Iteartor * may be used to remove all such values. * @return {@link java.util.Collection} of {@link org.openanzo.ontologies.openanzo.Role} * @see #roleProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.util.Collection<org.openanzo.ontologies.openanzo.Role> getRole() throws org.openanzo.rdf.jastor.JastorException; /** * Get an Iterator the 'role' 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.Role} * @see #roleProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.util.Collection<org.openanzo.ontologies.openanzo.Role> getRole(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Adds a value for the 'role' property * @param role The {@link org.openanzo.ontologies.openanzo.Role} to add * @see #roleProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void addRole(org.openanzo.ontologies.openanzo.Role role) throws org.openanzo.rdf.jastor.JastorException; /** * Adds an anonymous value for the 'role' property * @return The anoymous {@link org.openanzo.ontologies.openanzo.Role} created * @see #roleProperty * @throws org.openanzo.rdf.jastor.JastorException */ public org.openanzo.ontologies.openanzo.Role addRole() throws org.openanzo.rdf.jastor.JastorException; /** * Adds a value for the 'role' property. This * method is equivalent constructing a new instance of {@link org.openanzo.ontologies.openanzo.Role} with the factory * and calling addRole(org.openanzo.ontologies.openanzo.Role role) * The resource argument have rdf:type http://openanzo.org/ontologies/2008/07/Anzo#Role. 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.Role, value added * @see #roleProperty * @throws org.openanzo.rdf.jastor.JastorException */ public org.openanzo.ontologies.openanzo.Role addRole(org.openanzo.rdf.Resource resource) throws org.openanzo.rdf.jastor.JastorException; /** * Removes a value for the 'role' 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 role The {@link org.openanzo.ontologies.openanzo.Role} to remove * @see #roleProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void removeRole(org.openanzo.ontologies.openanzo.Role role) throws org.openanzo.rdf.jastor.JastorException; /** * Removes a value for the 'role' 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 role The {@link org.openanzo.rdf.Resource} to remove * @see #roleProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void removeRole(org.openanzo.rdf.Resource role) throws org.openanzo.rdf.jastor.JastorException; /** * Clears all values for 'role'. * @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph * @see #roleProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void clearRole(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; }