/******************************************************************************* * 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 NetworkComponent 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#NetworkComponent)</p> * <br> * RDF Schema Standard Properties <br> * comment : Component that uses a network connection <br> * <br> * <br> */ @SuppressWarnings("all") public interface NetworkComponent extends org.openanzo.ontologies.system.Component, 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#NetworkComponent"); /** * The Anzo Property for networkTimeout * <p>(URI: http://openanzo.org/ontologies/2008/07/System#networkTimeout)</p> * <br> * <br> * RDF Schema Standard Properties <br> * comment : Timeout for network service. <br> * <br> */ public static org.openanzo.rdf.URI networkTimeoutProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI("http://openanzo.org/ontologies/2008/07/System#networkTimeout"); /** * The Anzo Property for connection * <p>(URI: http://openanzo.org/ontologies/2008/07/System#connection)</p> * <br> * <br> * RDF Schema Standard Properties <br> * comment : Port for network service. <br> * <br> */ public static org.openanzo.rdf.URI connectionProperty = org.openanzo.rdf.jastor.ThingFactory.valueFactory.createURI("http://openanzo.org/ontologies/2008/07/System#connection"); /** * Clears all values for 'credentials'. * @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph * @see #credentialsProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void clearCredentials(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Clears all values for 'className'. * @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph * @see #classNameProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void clearClassName(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Clears all values for 'enabled'. * @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph * @see #enabledProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void clearEnabled(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Clears all values for 'initOrder'. * @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph * @see #initOrderProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void clearInitOrder(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Removes a value for the 'dependency' 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 dependency The {@link org.openanzo.rdf.Resource} to remove * @see #dependencyProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void removeDependency(org.openanzo.rdf.Resource dependency) throws org.openanzo.rdf.jastor.JastorException; /** * Clears all values for 'dependency'. * @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph * @see #dependencyProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void clearDependency(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Gets the 'networkTimeout' property value from the given graph * @return {@link java.lang.Long} * @see #networkTimeoutProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.lang.Long getNetworkTimeout() throws org.openanzo.rdf.jastor.JastorException; /** * Gets the 'networkTimeout' property value * @param includeEntireDataset Get the properties from the entire dataset, and not just the namedgraph * @return {@link java.lang.Long} * @see #networkTimeoutProperty * @throws org.openanzo.rdf.jastor.JastorException */ public java.lang.Long getNetworkTimeout(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Sets the 'networkTimeout' property value * @param networkTimeout {@link java.lang.Long}, the value to set * @see #networkTimeoutProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void setNetworkTimeout(java.lang.Long networkTimeout) throws org.openanzo.rdf.jastor.JastorException; /** * Clears all values for 'networkTimeout'. * @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph * @see #networkTimeoutProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void clearNetworkTimeout(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Gets the 'connection' property value * @return {@link org.openanzo.ontologies.system.NetworkConnection} * @see #connectionProperty * @throws org.openanzo.rdf.jastor.JastorException */ public org.openanzo.ontologies.system.NetworkConnection getConnection() throws org.openanzo.rdf.jastor.JastorException; /** * Gets the 'connection' property value * @param includeEntireDataset Get the properties from the entire dataset, and not just the namedgraph * @return {@link org.openanzo.ontologies.system.NetworkConnection} * @see #connectionProperty * @throws org.openanzo.rdf.jastor.JastorException */ public org.openanzo.ontologies.system.NetworkConnection getConnection(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; /** * Sets the 'connection' property value * @param connection {@link org.openanzo.ontologies.system.NetworkConnection}, value to set * @see #connectionProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void setConnection(org.openanzo.ontologies.system.NetworkConnection connection) throws org.openanzo.rdf.jastor.JastorException; /** * Sets the 'connection' property value to an anonymous node * @return {@link org.openanzo.ontologies.system.NetworkConnection}, the created value * @see #connectionProperty * @throws org.openanzo.rdf.jastor.JastorException */ public org.openanzo.ontologies.system.NetworkConnection setConnection() throws org.openanzo.rdf.jastor.JastorException; /** * Sets the 'connection' 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.system.NetworkConnection} with the factory. * and calling setConnection(org.openanzo.ontologies.system.NetworkConnection connection) * The resource argument have rdf:type http://openanzo.org/ontologies/2008/07/System#NetworkConnection. 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.system.NetworkConnection}, the newly created value * @see #connectionProperty * @throws org.openanzo.rdf.jastor.JastorException */ public org.openanzo.ontologies.system.NetworkConnection setConnection(org.openanzo.rdf.Resource resource) throws org.openanzo.rdf.jastor.JastorException; /** * Clears all values for 'connection'. * @param includeEntireDataset Delete the properties from the entire dataset, and not just the namedgraph * @see #connectionProperty * @throws org.openanzo.rdf.jastor.JastorException */ public void clearConnection(boolean includeEntireDataset) throws org.openanzo.rdf.jastor.JastorException; }