You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by sf...@apache.org on 2011/04/05 16:51:57 UTC
svn commit: r1089070 [2/3] - in /incubator/stanbol/trunk:
commons/testing/http/src/main/java/org/apache/stanbol/commons/testing/http/
commons/web/base/src/main/java/org/apache/stanbol/commons/web/base/
enhancer/benchmark/src/main/java/org/apache/stanbo...
Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/ontology/ScopeRegistry.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/ontology/ScopeRegistry.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/ontology/ScopeRegistry.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/ontology/ScopeRegistry.java Tue Apr 5 14:51:54 2011
@@ -20,12 +20,12 @@ public interface ScopeRegistry {
* @param listener
* the listener to be added
*/
- public void addScopeRegistrationListener(ScopeEventListener listener);
+ void addScopeRegistrationListener(ScopeEventListener listener);
/**
* Removes all registered scope registration listeners.
*/
- public void clearScopeRegistrationListeners();
+ void clearScopeRegistrationListeners();
/**
*
@@ -33,7 +33,7 @@ public interface ScopeRegistry {
* @return true iff an ontology scope with ID <code>scopeID</code> is
* registered.
*/
- public boolean containsScope(IRI scopeID);
+ boolean containsScope(IRI scopeID);
/**
* Removes an ontology scope from this registry, thus deactivating the scope
@@ -43,14 +43,14 @@ public interface ScopeRegistry {
* @param scope
* the ontology scope to be removed
*/
- public void deregisterScope(OntologyScope scope);
+ void deregisterScope(OntologyScope scope);
/**
* Returns the set of registered ontology scopes.
*
* @return the set of ontology scopes
*/
- public Set<OntologyScope> getRegisteredScopes();
+ Set<OntologyScope> getRegisteredScopes();
/**
* Returns the unique ontology scope identified by the given ID.
@@ -60,13 +60,13 @@ public interface ScopeRegistry {
* @return the ontology scope with that ID, or null if no scope with such ID
* is registered
*/
- public OntologyScope getScope(IRI scopeID);
+ OntologyScope getScope(IRI scopeID);
- public void setScopeActive(IRI scopeID, boolean active);
+ void setScopeActive(IRI scopeID, boolean active);
- public boolean isScopeActive(IRI scopeID);
+ boolean isScopeActive(IRI scopeID);
- public Set<OntologyScope> getActiveScopes();
+ Set<OntologyScope> getActiveScopes();
/**
* Returns the set of registered scope registration listeners, in no
@@ -74,7 +74,7 @@ public interface ScopeRegistry {
*
* @return the set of scope registration listeners
*/
- public Set<ScopeEventListener> getScopeRegistrationListeners();
+ Set<ScopeEventListener> getScopeRegistrationListeners();
/**
* Equivalent to <code>registerScope(scope, false)</code>.
@@ -82,7 +82,7 @@ public interface ScopeRegistry {
* @param scope
* the ontology scope to be added
*/
- public void registerScope(OntologyScope scope);
+ void registerScope(OntologyScope scope);
/**
* Adds an ontology scope to this registry, thus activating the scope if
@@ -93,7 +93,7 @@ public interface ScopeRegistry {
* @param scope
* the ontology scope to be added
*/
- public void registerScope(OntologyScope scope, boolean activate);
+ void registerScope(OntologyScope scope, boolean activate);
/**
* Removes a scope registration listener from this registry. If the listener
@@ -102,7 +102,7 @@ public interface ScopeRegistry {
* @param listener
* the listener to be removed
*/
- public void removeScopeRegistrationListener(
- ScopeEventListener listener);
+ void removeScopeRegistrationListener(
+ ScopeEventListener listener);
}
Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/ontology/SessionOntologySpace.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/ontology/SessionOntologySpace.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/ontology/SessionOntologySpace.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/ontology/SessionOntologySpace.java Tue Apr 5 14:51:54 2011
@@ -19,6 +19,6 @@ public interface SessionOntologySpace ex
*
* @return the associated ontology manager
*/
- public OWLOntologyManager getOntologyManager();
+ OWLOntologyManager getOntologyManager();
}
Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/ontology/SpaceType.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/ontology/SpaceType.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/ontology/SpaceType.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/ontology/SpaceType.java Tue Apr 5 14:51:54 2011
@@ -4,7 +4,7 @@ public enum SpaceType {
CORE("core"), CUSTOM("custom"), SESSION("session");
- private SpaceType(String suffix) {
+ SpaceType(String suffix) {
this.suffix = suffix;
}
Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/registry/RegistryLoader.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/registry/RegistryLoader.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/registry/RegistryLoader.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/registry/RegistryLoader.java Tue Apr 5 14:51:54 2011
@@ -14,21 +14,21 @@ import org.semanticweb.owlapi.model.OWLO
public interface RegistryLoader {
- public Set<OWLOntology> gatherOntologies(RegistryItem registryItem,
- OWLOntologyManager manager, boolean recurseRegistries)
+ Set<OWLOntology> gatherOntologies(RegistryItem registryItem,
+ OWLOntologyManager manager, boolean recurseRegistries)
throws OWLOntologyCreationException;
- public RegistryLibrary getLibrary(Registry reg, IRI libraryID);
+ RegistryLibrary getLibrary(Registry reg, IRI libraryID);
- public Object getParent(Object child);
+ Object getParent(Object child);
- public boolean hasChildren(Object parent);
+ boolean hasChildren(Object parent);
- public boolean hasLibrary(Registry reg, IRI libraryID);
+ boolean hasLibrary(Registry reg, IRI libraryID);
// public boolean isPrintingLoadedOntologies();
- public void loadLocations() throws RegistryContentException;
+ void loadLocations() throws RegistryContentException;
/**
@@ -38,7 +38,7 @@ public interface RegistryLoader {
* @param physicalIRI
* @return
*/
- public Set<Registry> loadRegistriesEager(IRI physicalIRI);
+ Set<Registry> loadRegistriesEager(IRI physicalIRI);
// public void setPrintLoadedOntologies(boolean doPrint);
}
Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/registry/io/XDRegistrySource.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/registry/io/XDRegistrySource.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/registry/io/XDRegistrySource.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/registry/io/XDRegistrySource.java Tue Apr 5 14:51:54 2011
@@ -11,19 +11,19 @@ public interface XDRegistrySource {
*
* @return
*/
- public InputStream getInputStream();
+ InputStream getInputStream();
- public IRI getPhysicalIRI();
+ IRI getPhysicalIRI();
/**
* Each invocation will return a new Reader.
*
* @return
*/
- public Reader getReader();
+ Reader getReader();
- public boolean isInputStreamAvailable();
+ boolean isInputStreamAvailable();
- public boolean isReaderAvailable();
+ boolean isReaderAvailable();
}
Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/registry/models/RegistryItem.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/registry/models/RegistryItem.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/registry/models/RegistryItem.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/registry/models/RegistryItem.java Tue Apr 5 14:51:54 2011
@@ -4,22 +4,22 @@ import java.net.URL;
public interface RegistryItem {
- public abstract String getName();
+ String getName();
- public abstract RegistryLibrary getParent();
+ RegistryLibrary getParent();
- public abstract URL getURL();
+ URL getURL();
- public abstract boolean isLibrary();
+ boolean isLibrary();
- public abstract boolean isOntology();
+ boolean isOntology();
- public abstract void setName(String string);
+ void setName(String string);
- public abstract void setParent(RegistryLibrary parent);
+ void setParent(RegistryLibrary parent);
- public abstract void setURL(URL url);
+ void setURL(URL url);
- public abstract String toString();
+ String toString();
}
\ No newline at end of file
Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/Session.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/Session.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/Session.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/Session.java Tue Apr 5 14:51:54 2011
@@ -19,7 +19,7 @@ public interface Session extends Session
* @author alessandro
*
*/
- public enum State {
+ enum State {
/**
* Running session
*/
@@ -38,7 +38,7 @@ public interface Session extends Session
* Closes this KReS Session irreversibly. Most likely includes setting the
* state to ZOMBIE.
*/
- public void close() throws NonReferenceableSessionException;
+ void close() throws NonReferenceableSessionException;
/**
* Returns the unique Internationalized Resource Identifier (IRI) that
@@ -49,23 +49,23 @@ public interface Session extends Session
*
* @return the IRI that identifies this session
*/
- public IRI getID();
+ IRI getID();
/**
* Returns the current state of this KReS session.
*
* @return the state of this session
*/
- public State getSessionState();
+ State getSessionState();
/**
* Equivalent to <code>getState() == State.ACTIVE</code>.
*
* @return true iff this session is in the ACTIVE state
*/
- public boolean isActive();
+ boolean isActive();
- public void open() throws NonReferenceableSessionException;
+ void open() throws NonReferenceableSessionException;
/**
* Sets the KReS session as ACTIVE if <code>active</code> is true, INACTIVE
@@ -78,7 +78,7 @@ public interface Session extends Session
* the desired activity state for this session
* @return the resulting state of this KReS session
*/
- public State setActive(boolean active)
+ State setActive(boolean active)
throws NonReferenceableSessionException;
}
Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionEvent.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionEvent.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionEvent.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionEvent.java Tue Apr 5 14:51:54 2011
@@ -8,11 +8,11 @@ package org.apache.stanbol.ontologymanag
*/
public class SessionEvent {
- public static enum OperationType {
- ACTIVATE, CLOSE, CREATE, DEACTIVATE, KILL, STORE;
- };
+ public enum OperationType {
+ ACTIVATE, CLOSE, CREATE, DEACTIVATE, KILL, STORE
+ }
- /**
+ /**
* The KReS session affected by this event.
*/
private Session affectedSession;
Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionIDGenerator.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionIDGenerator.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionIDGenerator.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionIDGenerator.java Tue Apr 5 14:51:54 2011
@@ -21,7 +21,7 @@ public interface SessionIDGenerator {
*
* @return the newly generated session ID.
*/
- public IRI createSessionID();
+ IRI createSessionID();
/**
* Generates a new session ID that is different from any IRI in the
@@ -34,7 +34,7 @@ public interface SessionIDGenerator {
* to.
* @return the newly generated session ID.
*/
- public IRI createSessionID(Set<IRI> exclude);
+ IRI createSessionID(Set<IRI> exclude);
/**
* Returns the base IRI for all generated IDs to start with. It should be
@@ -43,7 +43,7 @@ public interface SessionIDGenerator {
* @param baseIRI
* the base IRI.
*/
- public IRI getBaseIRI();
+ IRI getBaseIRI();
/**
* Sets the base IRI for all generated IDs to start with. It should be used
@@ -52,5 +52,5 @@ public interface SessionIDGenerator {
* @param baseIRI
* the base IRI.
*/
- public void setBaseIRI(IRI baseIRI);
+ void setBaseIRI(IRI baseIRI);
}
Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionListenable.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionListenable.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionListenable.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionListenable.java Tue Apr 5 14:51:54 2011
@@ -10,12 +10,12 @@ public interface SessionListenable {
* @param listener
* the session listener to be added
*/
- public void addSessionListener(SessionListener listener);
+ void addSessionListener(SessionListener listener);
/**
* Clears the pool of registered session listeners.
*/
- public void clearSessionListeners();
+ void clearSessionListeners();
/**
* Returns all the registered session listeners. It is up to developers to
@@ -25,7 +25,7 @@ public interface SessionListenable {
*
* @return a collection of registered session listeners.
*/
- public Collection<SessionListener> getSessionListeners();
+ Collection<SessionListener> getSessionListeners();
/**
* Removes the given SessionListener from the pool of active listeners.
@@ -33,6 +33,6 @@ public interface SessionListenable {
* @param listener
* the session listener to be removed
*/
- public void removeSessionListener(SessionListener listener);
+ void removeSessionListener(SessionListener listener);
}
Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionListener.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionListener.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionListener.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionListener.java Tue Apr 5 14:51:54 2011
@@ -15,6 +15,6 @@ public interface SessionListener {
* @param event
* the session event.
*/
- public void sessionChanged(SessionEvent event);
+ void sessionChanged(SessionEvent event);
}
Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionManager.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionManager.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionManager.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/session/SessionManager.java Tue Apr 5 14:51:54 2011
@@ -22,7 +22,7 @@ import org.semanticweb.owlapi.model.IRI;
*/
public interface SessionManager extends SessionListenable {
- public Set<IRI> getRegisteredSessionIDs();
+ Set<IRI> getRegisteredSessionIDs();
/**
* Generates AND REGISTERS a new KReS session and assigns a unique session
@@ -30,7 +30,7 @@ public interface SessionManager extends
*
* @return the generated KReS session
*/
- public Session createSession();
+ Session createSession();
/**
* Generates AND REGISTERS a new KReS session and tries to assign it the
@@ -44,7 +44,7 @@ public interface SessionManager extends
* @throws DuplicateSessionIDException
* if a KReS session with that sessionID is already registered
*/
- public Session createSession(IRI sessionID)
+ Session createSession(IRI sessionID)
throws DuplicateSessionIDException;
/**
@@ -54,7 +54,7 @@ public interface SessionManager extends
* @param sessionID
* the IRI that uniquely identifies the session
*/
- public void destroySession(IRI sessionID);
+ void destroySession(IRI sessionID);
/**
* Retrieves the unique KReS session identified by <code>sessionID</code>.
@@ -63,14 +63,14 @@ public interface SessionManager extends
* the IRI that uniquely identifies the session
* @return the unique KReS session identified by <code>sessionID</code>
*/
- public Session getSession(IRI sessionID);
+ Session getSession(IRI sessionID);
/**
* Returns the ontology space associated with this session.
*
* @return the session space
*/
- public Set<SessionOntologySpace> getSessionSpaces(IRI sessionID)
+ Set<SessionOntologySpace> getSessionSpaces(IRI sessionID)
throws NonReferenceableSessionException;
/**
@@ -82,7 +82,7 @@ public interface SessionManager extends
* @param out
* the output stream to store the session
*/
- public void storeSession(IRI sessionID, OutputStream out)
+ void storeSession(IRI sessionID, OutputStream out)
throws NonReferenceableSessionException;
}
Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/xd/lang/Language.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/xd/lang/Language.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/xd/lang/Language.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/xd/lang/Language.java Tue Apr 5 14:51:54 2011
@@ -14,7 +14,7 @@ public enum Language {
EN("en"), IT("it"), FR("fr"), DE("de"), ES("es");
private String value = "";
- private Language(String s) {
+ Language(String s) {
this.value = s;
}
Modified: incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/xd/utils/XDAction.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/xd/utils/XDAction.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/xd/utils/XDAction.java (original)
+++ incubator/stanbol/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/xd/utils/XDAction.java Tue Apr 5 14:51:54 2011
@@ -1,5 +1,5 @@
package org.apache.stanbol.ontologymanager.ontonet.xd.utils;
public enum XDAction {
- SPECIALIZATION, ANNOTATION, IMPORT, REFRESH_REPOSITORY, FIND_PATTERNS, STOP, CLEAR, QUICK_SEARCH, FILTER;
+ SPECIALIZATION, ANNOTATION, IMPORT, REFRESH_REPOSITORY, FIND_PATTERNS, STOP, CLEAR, QUICK_SEARCH, FILTER
}
Modified: incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/JenaPersistenceProvider.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/JenaPersistenceProvider.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/JenaPersistenceProvider.java (original)
+++ incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/JenaPersistenceProvider.java Tue Apr 5 14:51:54 2011
@@ -6,18 +6,18 @@ import com.hp.hpl.jena.rdf.model.Model;
public interface JenaPersistenceProvider {
- public abstract boolean clear();
+ boolean clear();
- public abstract List<String> listModels();
+ List<String> listModels();
- public abstract Model createModel(String ontologyURI);
+ Model createModel(String ontologyURI);
- public abstract boolean hasModel(String ontologyURI);
+ boolean hasModel(String ontologyURI);
- public abstract Model getModel(String ontologyURI);
+ Model getModel(String ontologyURI);
- public abstract void removeModel(String ontologyURI);
+ void removeModel(String ontologyURI);
- public abstract boolean commit(Model model);
+ boolean commit(Model model);
}
Modified: incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/LockManager.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/LockManager.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/LockManager.java (original)
+++ incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/LockManager.java Tue Apr 5 14:51:54 2011
@@ -7,7 +7,7 @@ package org.apache.stanbol.ontologymanag
*/
public interface LockManager {
- public static String GLOBAL_SPACE = "GLOBAL_SPACE";
+ String GLOBAL_SPACE = "GLOBAL_SPACE";
/**
* Obtain a read lock for specified ontology
@@ -15,7 +15,7 @@ public interface LockManager {
* @param ontologyURI
* URI of the ontology
*/
- public abstract void obtainReadLockFor(String ontologyURI);
+ void obtainReadLockFor(String ontologyURI);
/**
* Release read lock for specified ontology
@@ -23,7 +23,7 @@ public interface LockManager {
* @param ontologyURI
* URI of the ontology
*/
- public abstract void releaseReadLockFor(String ontologyURI);
+ void releaseReadLockFor(String ontologyURI);
/**
* Obtain a write lock for specified ontology
@@ -31,13 +31,13 @@ public interface LockManager {
* @param ontologyURI
* URI of the ontology
*/
- public abstract void obtainWriteLockFor(String ontologyURI);
+ void obtainWriteLockFor(String ontologyURI);
/**
* Release write lock for specified ontology
*
* @param ontologyURI
*/
- public abstract void releaseWriteLockFor(String ontologyURI);
+ void releaseWriteLockFor(String ontologyURI);
}
\ No newline at end of file
Modified: incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/PersistenceStore.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/PersistenceStore.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/PersistenceStore.java (original)
+++ incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/PersistenceStore.java Tue Apr 5 14:51:54 2011
@@ -41,8 +41,8 @@ public interface PersistenceStore {
* the "description" of the ontology
* @throws Exception
*/
- public OntologyMetaInformation saveOntology(String ontologyContent,
- String ontologyURI, String encoding) throws Exception;
+ OntologyMetaInformation saveOntology(String ontologyContent,
+ String ontologyURI, String encoding) throws Exception;
/**
* Interface method to retrieve a particular ontology
@@ -58,8 +58,8 @@ public interface PersistenceStore {
* @return the ontology encoded in the given language
* @throws Exception
*/
- public String retrieveOntology(String ontologyURI, String language,
- boolean withInferredAxioms) throws Exception;
+ String retrieveOntology(String ontologyURI, String language,
+ boolean withInferredAxioms) throws Exception;
/**
*
@@ -75,8 +75,8 @@ public interface PersistenceStore {
* @return the main ontology merged with the external ontology
* @throws Exception
*/
- public String mergeOntology(String ontologyURI, String targetOntology,
- String targetOntologyURI, boolean withInferredAxioms)
+ String mergeOntology(String ontologyURI, String targetOntology,
+ String targetOntologyURI, boolean withInferredAxioms)
throws Exception;
/**
@@ -86,7 +86,7 @@ public interface PersistenceStore {
* list of OntologyMetaInformation)
* @throws Exception
*/
- public AdministeredOntologies retrieveAdministeredOntologies()
+ AdministeredOntologies retrieveAdministeredOntologies()
throws Exception;
/**
@@ -99,8 +99,8 @@ public interface PersistenceStore {
* the "description" of the ontology
* @throws Exception
*/
- public OntologyMetaInformation retrieveOntologyMetaInformation(
- String ontologyURI) throws Exception;
+ OntologyMetaInformation retrieveOntologyMetaInformation(
+ String ontologyURI) throws Exception;
/**
* Interface method to list all of the classes that the ontology contains
@@ -117,7 +117,7 @@ public interface PersistenceStore {
* cdc-42c8-8629-f2d7ecdbf16b)
* @throws Exception
*/
- public ClassesForOntology retrieveClassesOfOntology(String ontologyURI)
+ ClassesForOntology retrieveClassesOfOntology(String ontologyURI)
throws Exception;
/**
@@ -136,8 +136,8 @@ public interface PersistenceStore {
* datatypeProperties/36c453b5-f619-4828-82cb-2414c9749e87)
* @throws Exception
*/
- public DatatypePropertiesForOntology retrieveDatatypePropertiesOfOntology(
- String ontologyURI) throws Exception;
+ DatatypePropertiesForOntology retrieveDatatypePropertiesOfOntology(
+ String ontologyURI) throws Exception;
/**
* Interface method to list all of the object properties that the ontology
@@ -156,8 +156,8 @@ public interface PersistenceStore {
* -dbb3-4d4d-a7d9-187733ba238c)
* @throws Exception
*/
- public ObjectPropertiesForOntology retrieveObjectPropertiesOfOntology(
- String ontologyURI) throws Exception;
+ ObjectPropertiesForOntology retrieveObjectPropertiesOfOntology(
+ String ontologyURI) throws Exception;
/**
* Interface method to list all of the individuals that the ontology
@@ -175,8 +175,8 @@ public interface PersistenceStore {
* cad687efb/individuals/1aefd64c-8700-4f24-b705-9ced6caa6951)
* @throws Exception
*/
- public IndividualsForOntology retrieveIndividualsOfOntology(
- String ontologyURI) throws Exception;
+ IndividualsForOntology retrieveIndividualsOfOntology(
+ String ontologyURI) throws Exception;
/**
* Interface method to list the MetaInformation about a particular resource.
@@ -191,8 +191,8 @@ public interface PersistenceStore {
* IndividualMetaInformation
* @throws Exception
*/
- public ResourceMetaInformationType retrieveResourceWithURI(
- String resourceURI) throws Exception;
+ ResourceMetaInformationType retrieveResourceWithURI(
+ String resourceURI) throws Exception;
/**
* Interface method to get a Protege-like view of the particular ontology
@@ -207,8 +207,8 @@ public interface PersistenceStore {
* question and an unbounded array of the constraints on the class.
* @throws Exception
*/
- public ClassContext generateClassContext(String classURI,
- boolean withInferredAxioms) throws Exception;
+ ClassContext generateClassContext(String classURI,
+ boolean withInferredAxioms) throws Exception;
/**
* Interface method to get a Protege-like view of the particular data type
@@ -225,8 +225,8 @@ public interface PersistenceStore {
* also conveyed.
* @throws Exception
*/
- public DatatypePropertyContext generateDatatypePropertyContext(
- String datatypePropertyURI, boolean withInferredAxioms)
+ DatatypePropertyContext generateDatatypePropertyContext(
+ String datatypePropertyURI, boolean withInferredAxioms)
throws Exception;
/**
@@ -245,8 +245,8 @@ public interface PersistenceStore {
* conveyed.
* @throws Exception
*/
- public ObjectPropertyContext generateObjectPropertyContext(
- String objectPropertyURI, boolean withInferredAxioms)
+ ObjectPropertyContext generateObjectPropertyContext(
+ String objectPropertyURI, boolean withInferredAxioms)
throws Exception;
/**
@@ -262,8 +262,8 @@ public interface PersistenceStore {
* values of any properties associated with this individual.
* @throws Exception
*/
- public IndividualContext generateIndividualContext(String individualURI,
- boolean withInferredAxioms) throws Exception;
+ IndividualContext generateIndividualContext(String individualURI,
+ boolean withInferredAxioms) throws Exception;
/**
* Interface method to create a new class for a particular ontology
@@ -281,8 +281,8 @@ public interface PersistenceStore {
* a9ff-4cdc-42c8-8629-f2d7ecdbf16b).
* @throws Exception
*/
- public ClassMetaInformation generateClassForOntology(String ontologyURI,
- String classURI) throws Exception;
+ ClassMetaInformation generateClassForOntology(String ontologyURI,
+ String classURI) throws Exception;
/**
* Interface method to create a new data type property for a particular
@@ -301,8 +301,8 @@ public interface PersistenceStore {
* /datatypeProperties/36c453b5-f619-4828-82cb-2414c9749e87).
* @throws Exception
*/
- public PropertyMetaInformation generateDatatypePropertyForOntology(
- String ontologyURI, String datatypePropertyURI) throws Exception;
+ PropertyMetaInformation generateDatatypePropertyForOntology(
+ String ontologyURI, String datatypePropertyURI) throws Exception;
/**
* Interface method to create a new object property for a particular
@@ -320,8 +320,8 @@ public interface PersistenceStore {
* objectProperties /a2bf8f9a-dbb3-4d4d-a7d9-187733ba238c)
* @throws Exception
*/
- public PropertyMetaInformation generateObjectPropertyForOntology(
- String ontologyURI, String objectPropertyURI) throws Exception;
+ PropertyMetaInformation generateObjectPropertyForOntology(
+ String ontologyURI, String objectPropertyURI) throws Exception;
/**
* Interface method to create a new individual for a particular ontology
@@ -341,8 +341,8 @@ public interface PersistenceStore {
* /1aefd64c-8700-4f24-b705-9ced6caa6951)
* @throws Exception
*/
- public IndividualMetaInformation generateIndividualForOntology(
- String ontologyURI, String classURI, String individualURI)
+ IndividualMetaInformation generateIndividualForOntology(
+ String ontologyURI, String classURI, String individualURI)
throws Exception;
/**
@@ -355,7 +355,7 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean makeSubClassOf(String subClassURI, String superClassURI)
+ boolean makeSubClassOf(String subClassURI, String superClassURI)
throws Exception;
/**
@@ -368,7 +368,7 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean deleteSuperClass(String subClassURI, String superClassURI)
+ boolean deleteSuperClass(String subClassURI, String superClassURI)
throws Exception;
/**
@@ -382,7 +382,7 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean addEquivalentClass(String classURI, String equivalentClassURI)
+ boolean addEquivalentClass(String classURI, String equivalentClassURI)
throws Exception;
/**
@@ -396,8 +396,8 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean deleteEquivalentClass(String classURI,
- String equivalentClassURI) throws Exception;
+ boolean deleteEquivalentClass(String classURI,
+ String equivalentClassURI) throws Exception;
/**
* Interface method to *add* a new disjoint class association
@@ -410,7 +410,7 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean addDisjointClass(String classURI, String disjointClassURI)
+ boolean addDisjointClass(String classURI, String disjointClassURI)
throws Exception;
/**
@@ -424,7 +424,7 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean deleteDisjointClass(String classURI, String disjointClassURI)
+ boolean deleteDisjointClass(String classURI, String disjointClassURI)
throws Exception;
/**
@@ -438,7 +438,7 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean makeUnionClassOf(String classURI, List<String> unionClassURIs)
+ boolean makeUnionClassOf(String classURI, List<String> unionClassURIs)
throws Exception;
/**
@@ -452,7 +452,7 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean addUnionClass(String classURI, String unionClassURI)
+ boolean addUnionClass(String classURI, String unionClassURI)
throws Exception;
/**
@@ -466,7 +466,7 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean deleteUnionClass(String classURI, String unionClassURI)
+ boolean deleteUnionClass(String classURI, String unionClassURI)
throws Exception;
/**
@@ -479,8 +479,8 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean makeSubPropertyOf(String subPropertyURI,
- String superPropertyURI) throws Exception;
+ boolean makeSubPropertyOf(String subPropertyURI,
+ String superPropertyURI) throws Exception;
/**
* Interface method to *delete* a super property association
@@ -492,8 +492,8 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean deleteSuperPropertyAssertion(String subPropertyURI,
- String superPropertyURI) throws Exception;
+ boolean deleteSuperPropertyAssertion(String subPropertyURI,
+ String superPropertyURI) throws Exception;
/**
* Interface method to *set* the domain of an object or data type property
@@ -505,7 +505,7 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean setDomain(String propertyURI, List<String> domainURI)
+ boolean setDomain(String propertyURI, List<String> domainURI)
throws Exception;
/**
@@ -517,7 +517,7 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean addDomain(String propertyURI, String domainURI)
+ boolean addDomain(String propertyURI, String domainURI)
throws Exception;
/**
@@ -531,7 +531,7 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean deleteDomain(String propertyURI, String domainURI)
+ boolean deleteDomain(String propertyURI, String domainURI)
throws Exception;
/**
@@ -545,7 +545,7 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean setRange(String propertyURI, List<String> rangeURI)
+ boolean setRange(String propertyURI, List<String> rangeURI)
throws Exception;
/**
@@ -560,7 +560,7 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean addRange(String propertyURI, String rangeURI)
+ boolean addRange(String propertyURI, String rangeURI)
throws Exception;
/**
@@ -575,7 +575,7 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean deleteRange(String propertyURI, String rangeURI)
+ boolean deleteRange(String propertyURI, String rangeURI)
throws Exception;
/**
@@ -596,9 +596,9 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean setPropertyAttributes(String propertyURI,
- Boolean isFunctional, Boolean isTransitive, Boolean isSymmetric,
- Boolean isInverseFunctional) throws Exception;
+ boolean setPropertyAttributes(String propertyURI,
+ Boolean isFunctional, Boolean isTransitive, Boolean isSymmetric,
+ Boolean isInverseFunctional) throws Exception;
/**
* Interface method to *set* the property value of a particular individual
@@ -615,9 +615,9 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean assertPropertyValue(String individualURI,
- String propertyURI, String individualAsValueURI,
- String literalAsValue) throws Exception;
+ boolean assertPropertyValue(String individualURI,
+ String propertyURI, String individualAsValueURI,
+ String literalAsValue) throws Exception;
/**
* Interface method to *delete* the property assertion of a particular
@@ -636,9 +636,9 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean deletePropertyAssertion(String individualURI,
- String propertyURI, String individualAsValueURI,
- String literalAsValue) throws Exception;
+ boolean deletePropertyAssertion(String individualURI,
+ String propertyURI, String individualAsValueURI,
+ String literalAsValue) throws Exception;
/**
* Interface method to *add* a class for an individual
@@ -650,8 +650,8 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean addContainerClassForIndividual(String individualURI,
- String classURI) throws Exception;
+ boolean addContainerClassForIndividual(String individualURI,
+ String classURI) throws Exception;
/**
* Interface method to *delete* a class for an individual
@@ -663,8 +663,8 @@ public interface PersistenceStore {
* @return true if successful
* @throws Exception
*/
- public boolean deleteContainerClassForIndividual(String individualURI,
- String classURI) throws Exception;
+ boolean deleteContainerClassForIndividual(String individualURI,
+ String classURI) throws Exception;
/**
* Interface method to *delete* a particular ontology
@@ -673,7 +673,7 @@ public interface PersistenceStore {
* the URI of the ontology to delete
* @return true if successful (e.g. all required resources exit)
*/
- public boolean deleteOntology(String ontologyURI) throws Exception;
+ boolean deleteOntology(String ontologyURI) throws Exception;
/**
* Interface method to *delete* a class, property or individual
@@ -683,7 +683,7 @@ public interface PersistenceStore {
* @return true if successful (e.g. all required resources exit)
* @throws Exception
*/
- public boolean deleteResource(String resourceURI) throws Exception;
+ boolean deleteResource(String resourceURI) throws Exception;
/**
* Interface method to *delete* all registered ontologies together with
@@ -692,5 +692,5 @@ public interface PersistenceStore {
* @return true if successful
* @throws Exception
*/
- public boolean clearPersistenceStore() throws Exception;
+ boolean clearPersistenceStore() throws Exception;
}
Modified: incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/ResourceManager.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/ResourceManager.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/ResourceManager.java (original)
+++ incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/ResourceManager.java Tue Apr 5 14:51:54 2011
@@ -8,7 +8,7 @@ public interface ResourceManager {
* @param ontologyURI
* the URI of the ontology to be registered
*/
- public abstract void registerOntology(String ontologyURI);
+ void registerOntology(String ontologyURI);
/**
* For registration of the ontology class to the Resource Manager The Resource Manager assigns a unique
@@ -19,7 +19,7 @@ public interface ResourceManager {
* @param classURI
* the URI of the class that is being registered
*/
- public abstract void registerClass(String ontologyURI, String classURI);
+ void registerClass(String ontologyURI, String classURI);
/**
* For registration of the data type property to the Resource Manager The Resource Manager assigns a
@@ -30,7 +30,7 @@ public interface ResourceManager {
* @param dataPropertyURI
* the URI of the data type property that is being registered
*/
- public abstract void registerDatatypeProperty(String ontologyURI, String dataPropertyURI);
+ void registerDatatypeProperty(String ontologyURI, String dataPropertyURI);
/**
* For registration of the object property to the Resource Manager The Resource Manager assigns a unique
@@ -41,7 +41,7 @@ public interface ResourceManager {
* @param objectPropertyURI
* the URI of the object property that is being registered
*/
- public abstract void registerObjectProperty(String ontologyURI, String objectPropertyURI);
+ void registerObjectProperty(String ontologyURI, String objectPropertyURI);
/**
* For registration of the individual to the Resource Manager The Resource Manager assigns a unique URL
@@ -52,19 +52,19 @@ public interface ResourceManager {
* @param individualURI
* the URI of the individual that is being registered
*/
- public abstract void registerIndividual(String ontologyURI, String individualURI);
+ void registerIndividual(String ontologyURI, String individualURI);
- public abstract boolean hasOntology(String ontologyURI);
+ boolean hasOntology(String ontologyURI);
- public abstract String getOntologyPath(String ontologyURI);
+ String getOntologyPath(String ontologyURI);
- public abstract String getOntologyFullPath(String ontologyURI);
+ String getOntologyFullPath(String ontologyURI);
- public abstract String getResourceFullPath(String resourceURI);
+ String getResourceFullPath(String resourceURI);
- public abstract String getOntologyURIForPath(String ontologyPath);
+ String getOntologyURIForPath(String ontologyPath);
- public abstract String getResourceURIForPath(String ontologyPath, String resourcePath);
+ String getResourceURIForPath(String ontologyPath, String resourcePath);
/**
* Converts referenceable REST sub-path of a class, property or individual into URI
@@ -73,21 +73,21 @@ public interface ResourceManager {
* Path to be converted
* @return URI of the specified entity
*/
- public abstract String convertEntityRelativePathToURI(String entityPath);
+ String convertEntityRelativePathToURI(String entityPath);
- public abstract String getResourceType(String resourceURI);
+ String getResourceType(String resourceURI);
- public abstract void removeOntology(String ontologyURI);
+ void removeOntology(String ontologyURI);
- public abstract void removeResource(String resourceURI);
+ void removeResource(String resourceURI);
// FIXME:: make sure that this method returns the reference to the imported
// class!!!
- public abstract String resolveOntologyURIFromResourceURI(String resourceURI);
+ String resolveOntologyURIFromResourceURI(String resourceURI);
/**
* To be used together with Jena's cleanDB function which deletes all stored triples
*/
- public abstract void clearResourceManager();
+ void clearResourceManager();
}
\ No newline at end of file
Modified: incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/StoreSynchronizer.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/StoreSynchronizer.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/StoreSynchronizer.java (original)
+++ incubator/stanbol/trunk/ontologymanager/store/api/src/main/java/org/apache/stanbol/ontologymanager/store/api/StoreSynchronizer.java Tue Apr 5 14:51:54 2011
@@ -19,7 +19,7 @@ public interface StoreSynchronizer {
* <p>
* If not set the synchronizer should consider only deletion/addition of graphs.
*/
- public void synchronizeAll(boolean force);
+ void synchronizeAll(boolean force);
/**
* Synchronizes only specified graph. After synchronization the resource-graph mappings of the
@@ -28,12 +28,12 @@ public interface StoreSynchronizer {
* @param graphURI
* URI of the graph of which resources will be synchronized
*/
- public void synchronizeGraph(String graphURI);
+ void synchronizeGraph(String graphURI);
/**
* StoreSynchronizer is obtained through a factory and when its job is finished this method should be
* invoked to remove graph listeners.
*/
- public void clear();
+ void clear();
}
Modified: incubator/stanbol/trunk/ontologymanager/store/rest-client/src/main/java/org/apache/stanbol/ontologymanager/store/rest/client/RestClient.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/store/rest-client/src/main/java/org/apache/stanbol/ontologymanager/store/rest/client/RestClient.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/ontologymanager/store/rest-client/src/main/java/org/apache/stanbol/ontologymanager/store/rest/client/RestClient.java (original)
+++ incubator/stanbol/trunk/ontologymanager/store/rest-client/src/main/java/org/apache/stanbol/ontologymanager/store/rest/client/RestClient.java Tue Apr 5 14:51:54 2011
@@ -22,7 +22,7 @@ public interface RestClient {
* @param PsURL
* URL of the external Persistence Store.
*/
- public void setPsURL(String PsURL);
+ void setPsURL(String PsURL);
/**
* Interface method for registering an ontology to the persistence store
@@ -38,7 +38,7 @@ public interface RestClient {
* ontology
* @throws Exception
*/
- public OntologyMetaInformation saveOntology(String ontologyContent, String ontologyURI, String encoding) throws RestClientException;
+ OntologyMetaInformation saveOntology(String ontologyContent, String ontologyURI, String encoding) throws RestClientException;
/**
* Interface method to retrieve a particular ontology
@@ -53,7 +53,7 @@ public interface RestClient {
* @return the ontology encoded in the given language
* @throws RestClientException
*/
- public String retrieveOntology(String ontologyPath, String language, boolean withInferredAxioms) throws RestClientException;
+ String retrieveOntology(String ontologyPath, String language, boolean withInferredAxioms) throws RestClientException;
/**
* Interface method to return a list of all registered ontologies
@@ -62,7 +62,7 @@ public interface RestClient {
* OntologyMetaInformation)
* @throws RestClientException
*/
- public AdministeredOntologies retrieveAdministeredOntologies() throws RestClientException;
+ AdministeredOntologies retrieveAdministeredOntologies() throws RestClientException;
/**
* Interface method to return the OntologyMetaInformation element associated with a particular ontology
@@ -73,7 +73,7 @@ public interface RestClient {
* ontology
* @throws RestClientException
*/
- public OntologyMetaInformation retrieveOntologyMetaInformation(String ontologyPath) throws RestClientException;
+ OntologyMetaInformation retrieveOntologyMetaInformation(String ontologyPath) throws RestClientException;
/**
* Interface method to list all of the classes that the ontology contains
@@ -87,7 +87,7 @@ public interface RestClient {
* /784360a5-2194-4f4a-8fd6-14f4dbd34262/classes/3f5fa9ff-4 cdc-42c8-8629-f2d7ecdbf16b)
* @throws RestClientException
*/
- public ClassesForOntology retrieveClassesOfOntology(String ontologyPath) throws RestClientException;
+ ClassesForOntology retrieveClassesOfOntology(String ontologyPath) throws RestClientException;
/**
* Interface method to list all of the data type properties that the ontology contains
@@ -102,7 +102,7 @@ public interface RestClient {
* datatypeProperties/36c453b5-f619-4828-82cb-2414c9749e87)
* @throws RestClientException
*/
- public DatatypePropertiesForOntology retrieveDatatypePropertiesOfOntology(String ontologyPath) throws RestClientException;
+ DatatypePropertiesForOntology retrieveDatatypePropertiesOfOntology(String ontologyPath) throws RestClientException;
/**
* Interface method to list all of the object properties that the ontology contains
@@ -117,7 +117,7 @@ public interface RestClient {
* -dbb3-4d4d-a7d9-187733ba238c)
* @throws RestClientException
*/
- public ObjectPropertiesForOntology retrieveObjectPropertiesOfOntology(String ontologyPath) throws RestClientException;
+ ObjectPropertiesForOntology retrieveObjectPropertiesOfOntology(String ontologyPath) throws RestClientException;
/**
* Interface method to list all of the individuals that the ontology contains
@@ -132,7 +132,7 @@ public interface RestClient {
* cad687efb/individuals/1aefd64c-8700-4f24-b705-9ced6caa6951)
* @throws RestClientException
*/
- public IndividualsForOntology retrieveIndividualsOfOntology(String ontologyPath) throws RestClientException;
+ IndividualsForOntology retrieveIndividualsOfOntology(String ontologyPath) throws RestClientException;
/**
* Interface method to get a Protege-like view of the particular ontology class
@@ -146,7 +146,7 @@ public interface RestClient {
* class.
* @throws RestClientException
*/
- public ClassContext generateClassContext(String classPath, boolean withInferredAxioms) throws RestClientException;
+ ClassContext generateClassContext(String classPath, boolean withInferredAxioms) throws RestClientException;
/**
* Interface method to get a Protege-like view of the particular data type property
@@ -160,8 +160,8 @@ public interface RestClient {
* Finally, some attributes of the data type property (i.e. isFunctional) are also conveyed.
* @throws RestClientException
*/
- public DatatypePropertyContext generateDatatypePropertyContext(String datatypePropertyPath,
- boolean withInferredAxioms) throws RestClientException;
+ DatatypePropertyContext generateDatatypePropertyContext(String datatypePropertyPath,
+ boolean withInferredAxioms) throws RestClientException;
/**
* Interface method to get a Protege-like view of the particular object property
@@ -176,8 +176,8 @@ public interface RestClient {
* isTransitive, isSymmetric) are also conveyed.
* @throws RestClientException
*/
- public ObjectPropertyContext generateObjectPropertyContext(String objectPropertyPath,
- boolean withInferredAxioms) throws RestClientException;
+ ObjectPropertyContext generateObjectPropertyContext(String objectPropertyPath,
+ boolean withInferredAxioms) throws RestClientException;
/**
* Interface method to get a Protege-like view of the particular individual
@@ -191,7 +191,7 @@ public interface RestClient {
* of any properties associated with this individual.
* @throws RestClientException
*/
- public IndividualContext generateIndividualContext(String individualPath, boolean withInferredAxioms) throws RestClientException;
+ IndividualContext generateIndividualContext(String individualPath, boolean withInferredAxioms) throws RestClientException;
/**
* Interface method to create a new class for a particular ontology
@@ -206,7 +206,7 @@ public interface RestClient {
* a9ff-4cdc-42c8-8629-f2d7ecdbf16b).
* @throws RestClientException
*/
- public ClassMetaInformation generateClassForOntology(String ontologyPath, String classURI) throws RestClientException;
+ ClassMetaInformation generateClassForOntology(String ontologyPath, String classURI) throws RestClientException;
/**
* Interface method to create a new data type property for a particular ontology
@@ -221,8 +221,8 @@ public interface RestClient {
* /datatypeProperties/36c453b5-f619-4828-82cb-2414c9749e87).
* @throws RestClientException
*/
- public PropertyMetaInformation generateDatatypePropertyForOntology(String ontologyPath,
- String datatypePropertyURI) throws RestClientException;
+ PropertyMetaInformation generateDatatypePropertyForOntology(String ontologyPath,
+ String datatypePropertyURI) throws RestClientException;
/**
* Interface method to create a new object property for a particular ontology
@@ -237,8 +237,8 @@ public interface RestClient {
* /a2bf8f9a-dbb3-4d4d-a7d9-187733ba238c)
* @throws RestClientException
*/
- public PropertyMetaInformation generateObjectPropertyForOntology(String ontologyPath,
- String objectPropertyURI) throws RestClientException;
+ PropertyMetaInformation generateObjectPropertyForOntology(String ontologyPath,
+ String objectPropertyURI) throws RestClientException;
/**
* Interface method to create a new individual for a particular ontology
@@ -255,9 +255,9 @@ public interface RestClient {
* /1aefd64c-8700-4f24-b705-9ced6caa6951)
* @throws RestClientException
*/
- public IndividualMetaInformation generateIndividualForOntology(String ontologyPath,
- String classURI,
- String individualURI) throws RestClientException;
+ IndividualMetaInformation generateIndividualForOntology(String ontologyPath,
+ String classURI,
+ String individualURI) throws RestClientException;
/**
* Interface method to *add* a new super-sub class association
@@ -269,7 +269,7 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void makeSubClassOf(String subClassPath, String superClassURI) throws RestClientException;
+ void makeSubClassOf(String subClassPath, String superClassURI) throws RestClientException;
/**
* Interface method to *delete* a superclass association
@@ -281,7 +281,7 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void deleteSuperClass(String subClassPath, String superClassURI) throws RestClientException;
+ void deleteSuperClass(String subClassPath, String superClassURI) throws RestClientException;
/**
* Interface method to *add* a new equivalent class association
@@ -293,7 +293,7 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void addEquivalentClass(String classPath, String equivalentClassURI) throws RestClientException;
+ void addEquivalentClass(String classPath, String equivalentClassURI) throws RestClientException;
/**
* Interface method to *delete* a new equivalent class association
@@ -305,7 +305,7 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void deleteEquivalentClass(String classPath, String equivalentClassURI) throws RestClientException;
+ void deleteEquivalentClass(String classPath, String equivalentClassURI) throws RestClientException;
/**
* Interface method to *add* a new disjoint class association
@@ -317,7 +317,7 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void addDisjointClass(String classPath, String disjointClassURI) throws RestClientException;
+ void addDisjointClass(String classPath, String disjointClassURI) throws RestClientException;
/**
* Interface method to *delete* an existing disjoint class association
@@ -329,7 +329,7 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void deleteDisjointClass(String classPath, String disjointClassURI) throws RestClientException;
+ void deleteDisjointClass(String classPath, String disjointClassURI) throws RestClientException;
/**
* Interface method to *add* a particular class to union set of another class
@@ -341,7 +341,7 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void addUnionClass(String classPath, String unionClassURI) throws RestClientException;
+ void addUnionClass(String classPath, String unionClassURI) throws RestClientException;
/**
* Interface method to *delete* a particular class from the union set of another class
@@ -353,7 +353,7 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void deleteUnionClass(String classPath, String unionClassURI) throws RestClientException;
+ void deleteUnionClass(String classPath, String unionClassURI) throws RestClientException;
/**
* Interface method to *add* a new super-sub property association
@@ -365,7 +365,7 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void makeSubPropertyOf(String subPropertyPath, String superPropertyURI) throws RestClientException;
+ void makeSubPropertyOf(String subPropertyPath, String superPropertyURI) throws RestClientException;
/**
* Interface method to *delete* a super property association
@@ -377,7 +377,7 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void deleteSuperPropertyAssertion(String subPropertyPath, String superPropertyURI) throws RestClientException;
+ void deleteSuperPropertyAssertion(String subPropertyPath, String superPropertyURI) throws RestClientException;
/**
* Interface method to *add* multiple domains to domain set of a property
@@ -389,7 +389,7 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void addDomains(String propertyPath, List<String> domainURIs) throws RestClientException;
+ void addDomains(String propertyPath, List<String> domainURIs) throws RestClientException;
/**
* Interface method to *add* a domain to the domain set of an object and data type property
@@ -399,7 +399,7 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void addDomain(String propertyPath, String domainURI) throws RestClientException;
+ void addDomain(String propertyPath, String domainURI) throws RestClientException;
/**
* Interface method to *delete* a domain from the domain set of an object or data type property
@@ -411,7 +411,7 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void deleteDomain(String propertyPath, String domainURI) throws RestClientException;
+ void deleteDomain(String propertyPath, String domainURI) throws RestClientException;
/**
* Interface method to *add* multiple ranges to range set of a property
@@ -423,7 +423,7 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void addRanges(String propertyPath, List<String> rangeURIs) throws RestClientException;
+ void addRanges(String propertyPath, List<String> rangeURIs) throws RestClientException;
/**
* Interface method to *add* a range to range set of an object or data type property
@@ -435,7 +435,7 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void addRange(String propertyPath, String rangeURI) throws RestClientException;
+ void addRange(String propertyPath, String rangeURI) throws RestClientException;
/**
* Interface method to *delete* a range from range set of an object or data type property
@@ -447,7 +447,7 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void deleteRange(String propertyPath, String rangeURI) throws RestClientException;
+ void deleteRange(String propertyPath, String rangeURI) throws RestClientException;
/**
* Interface method to *set* the various property attributes (e.g. isFunctional, isTransitive, etc.)
@@ -466,11 +466,11 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void setPropertyAttributes(String propertyPath,
- Boolean isFunctional,
- Boolean isTransitive,
- Boolean isSymmetric,
- Boolean isInverseFunctional) throws RestClientException;
+ void setPropertyAttributes(String propertyPath,
+ Boolean isFunctional,
+ Boolean isTransitive,
+ Boolean isSymmetric,
+ Boolean isInverseFunctional) throws RestClientException;
/**
* Interface method to *set* the property value of a particular individual
@@ -486,10 +486,10 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void assertPropertyValue(String individualPath,
- String propertyURI,
- String individualAsValueURI,
- String literalAsValue) throws RestClientException;
+ void assertPropertyValue(String individualPath,
+ String propertyURI,
+ String individualAsValueURI,
+ String literalAsValue) throws RestClientException;
/**
* Interface method to *delete* the property assertion of a particular individual
@@ -506,10 +506,10 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void deletePropertyAssertion(String individualPath,
- String propertyURI,
- String individualAsValueURI,
- String literalAsValue) throws RestClientException;
+ void deletePropertyAssertion(String individualPath,
+ String propertyURI,
+ String individualAsValueURI,
+ String literalAsValue) throws RestClientException;
/**
* Interface method to *add* a class for an individual
@@ -521,7 +521,7 @@ public interface RestClient {
* @return true if successful (e.g. all required resources exit)
* @throws RestClientException
*/
- public void addContainerClassForIndividual(String individualPath, String classURI) throws RestClientException;
+ void addContainerClassForIndividual(String individualPath, String classURI) throws RestClientException;
/**
* Interface method to *delete* a class for an individual
@@ -533,7 +533,7 @@ public interface RestClient {
* @return true if successful
* @throws RestClientException
*/
- public void deleteContainerClassForIndividual(String individualPath, String classURI) throws RestClientException;
+ void deleteContainerClassForIndividual(String individualPath, String classURI) throws RestClientException;
/**
* Delete any resource on persistence store
@@ -542,7 +542,7 @@ public interface RestClient {
* REST path of the resource
* @throws RestClientException
*/
- public void deleteResource(String resourcePath) throws RestClientException;
+ void deleteResource(String resourcePath) throws RestClientException;
/**
* Interface method to *delete* a particular ontology
@@ -551,7 +551,7 @@ public interface RestClient {
* the Path of the ontology to delete
* @return true if successful (e.g. all required resources exit)
*/
- public void deleteOntology(String ontologyPath) throws RestClientException;
+ void deleteOntology(String ontologyPath) throws RestClientException;
/**
* Interface method to *delete* all registered ontologies together with their resources
@@ -559,7 +559,7 @@ public interface RestClient {
* @return true if successful
* @throws RestClientException
*/
- public void clearPersistenceStore() throws RestClientException;
+ void clearPersistenceStore() throws RestClientException;
/**
* Interface method to *merge* resources
@@ -572,5 +572,5 @@ public interface RestClient {
* base URI of the target ontology
* @throws RestClientException
*/
- public String mergeOntology(String ontologyPath, String targetOntology, String targetOntologyBaseURI) throws RestClientException;
+ String mergeOntology(String ontologyPath, String targetOntology, String targetOntologyBaseURI) throws RestClientException;
}
\ No newline at end of file
Modified: incubator/stanbol/trunk/reasoners/base/src/main/java/org/apache/stanbol/reasoners/base/api/ConsistentRefactorer.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/base/src/main/java/org/apache/stanbol/reasoners/base/api/ConsistentRefactorer.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/reasoners/base/src/main/java/org/apache/stanbol/reasoners/base/api/ConsistentRefactorer.java (original)
+++ incubator/stanbol/trunk/reasoners/base/src/main/java/org/apache/stanbol/reasoners/base/api/ConsistentRefactorer.java Tue Apr 5 14:51:54 2011
@@ -31,7 +31,7 @@ public interface ConsistentRefactorer ex
* @throws NoSuchRecipeException
* @throws InconcistencyException
*/
- public void consistentOntologyRefactoring(IRI refactoredOntologyIRI, IRI datasetURI, IRI recipeIRI) throws RefactoringException,
+ void consistentOntologyRefactoring(IRI refactoredOntologyIRI, IRI datasetURI, IRI recipeIRI) throws RefactoringException,
NoSuchRecipeException,
InconcistencyException;
@@ -50,7 +50,7 @@ public interface ConsistentRefactorer ex
* @throws NoSuchRecipeException
* @throws RefactoringException
*/
- public OWLOntology consistentOntologyRefactoring(OWLOntology inputOntology, IRI recipeIRI) throws RefactoringException,
+ OWLOntology consistentOntologyRefactoring(OWLOntology inputOntology, IRI recipeIRI) throws RefactoringException,
NoSuchRecipeException,
InconcistencyException;
Modified: incubator/stanbol/trunk/reasoners/base/src/main/java/org/apache/stanbol/reasoners/base/api/Reasoner.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/base/src/main/java/org/apache/stanbol/reasoners/base/api/Reasoner.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/reasoners/base/src/main/java/org/apache/stanbol/reasoners/base/api/Reasoner.java (original)
+++ incubator/stanbol/trunk/reasoners/base/src/main/java/org/apache/stanbol/reasoners/base/api/Reasoner.java Tue Apr 5 14:51:54 2011
@@ -19,7 +19,7 @@ public interface Reasoner {
* @param ontology {@link OWLOntology}
* @return the reasoner {@link OWLReasoner}.
*/
- public OWLReasoner getReasoner(OWLOntology ontology);
+ OWLReasoner getReasoner(OWLOntology ontology);
/**
* Runs a consistency check on the ontology.
@@ -27,7 +27,7 @@ public interface Reasoner {
* @param owlReasoner {@link OWLReasoner}
* @return true if the ontology is consistent, false otherwise.
*/
- public boolean consistencyCheck(OWLReasoner owlReasoner);
+ boolean consistencyCheck(OWLReasoner owlReasoner);
/**
@@ -36,6 +36,6 @@ public interface Reasoner {
* @param ruleOntology
* @return the inferred ontology
*/
- public OWLOntology runRules(OWLOntology ontology, OWLOntology ruleOntology);
+ OWLOntology runRules(OWLOntology ontology, OWLOntology ruleOntology);
}
Modified: incubator/stanbol/trunk/reengineer/base/src/main/java/org/apache/stanbol/reengineer/base/api/DataSource.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/base/src/main/java/org/apache/stanbol/reengineer/base/api/DataSource.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/reengineer/base/src/main/java/org/apache/stanbol/reengineer/base/api/DataSource.java (original)
+++ incubator/stanbol/trunk/reengineer/base/src/main/java/org/apache/stanbol/reengineer/base/api/DataSource.java Tue Apr 5 14:51:54 2011
@@ -24,7 +24,7 @@ public interface DataSource {
* Get the ID of the data source as it is represented in Semion
* @return the {@link String} representing the ID of the physical data source in Semion
*/
- public String getID();
+ String getID();
/**
* As a {@code DataSource} is only a representation of the data source in Semion, a method that returns the physical
@@ -32,7 +32,7 @@ public interface DataSource {
*
* @return the physical data source
*/
- public Object getDataSource();
+ Object getDataSource();
/**
* Data sources that Semion is able to manage have an integer that identifies the type of the data source.
@@ -47,5 +47,5 @@ public interface DataSource {
*
* @return the data source type
*/
- public int getDataSourceType();
+ int getDataSourceType();
}
Modified: incubator/stanbol/trunk/reengineer/base/src/main/java/org/apache/stanbol/reengineer/base/api/Reengineer.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/base/src/main/java/org/apache/stanbol/reengineer/base/api/Reengineer.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/reengineer/base/src/main/java/org/apache/stanbol/reengineer/base/api/Reengineer.java (original)
+++ incubator/stanbol/trunk/reengineer/base/src/main/java/org/apache/stanbol/reengineer/base/api/Reengineer.java Tue Apr 5 14:51:54 2011
@@ -34,7 +34,7 @@ public interface Reengineer {
*
* @return {@code int}
*/
- public int getReengineerType();
+ int getReengineerType();
/**
* The method enables to test if the Reengineer can perform the reengineering of a particular data source given as input.
@@ -42,7 +42,7 @@ public interface Reengineer {
* @param dataSource {@link DataSource}
* @return true if the Reengineer can perform the reengineering, false otherwise
*/
- public boolean canPerformReengineering(DataSource dataSource);
+ boolean canPerformReengineering(DataSource dataSource);
/**
* The method enables to test if the Reengineer can perform the reengineering of a particular data source type given as input.
@@ -50,9 +50,9 @@ public interface Reengineer {
* @param the data source type {@code int}
* @return true if the Reengineer can perform the reengineering, false otherwise
*/
- public boolean canPerformReengineering(int dataSourceType);
+ boolean canPerformReengineering(int dataSourceType);
- public boolean canPerformReengineering(OWLOntology schemaOntology);
+ boolean canPerformReengineering(OWLOntology schemaOntology);
/**
* The method enables to test if the Reengineer can perform the reengineering of a particular data source type given as input.
@@ -60,7 +60,7 @@ public interface Reengineer {
* @param the data source type {@code String}
* @return true if the Reengineer can perform the reengineering, false otherwise
*/
- public boolean canPerformReengineering(String dataSourceType) throws UnsupportedReengineerException;
+ boolean canPerformReengineering(String dataSourceType) throws UnsupportedReengineerException;
/**
* The data source (non-RDF) provided is reengineered to RDF. This operation produces an RDF data set that contains information
@@ -71,7 +71,7 @@ public interface Reengineer {
* @param dataSource {@link DataSource}
* @return the reengineered data set - {@link OWLOntology}
*/
- public OWLOntology reengineering(String graphNS, IRI outputIRI, DataSource dataSource) throws ReengineeringException;
+ OWLOntology reengineering(String graphNS, IRI outputIRI, DataSource dataSource) throws ReengineeringException;
/**
* The generation of the RDF containing the information about the schema of the data source is obtained passing to this method
@@ -82,7 +82,7 @@ public interface Reengineer {
* @param dataSource {@link DataSource}
* @return the {@link OWLOntology} of the data source shema
*/
- public OWLOntology schemaReengineering(String graphNS, IRI outputIRI, DataSource dataSource);
+ OWLOntology schemaReengineering(String graphNS, IRI outputIRI, DataSource dataSource);
/**
@@ -94,7 +94,7 @@ public interface Reengineer {
* @param dataSource {@link DataSource}
* @return the {@link OWLOntology} of the data source shema
*/
- public OWLOntology dataReengineering(String graphNS, IRI outputIRI, DataSource dataSource, OWLOntology schemaOntology) throws ReengineeringException;
+ OWLOntology dataReengineering(String graphNS, IRI outputIRI, DataSource dataSource, OWLOntology schemaOntology) throws ReengineeringException;
}
Modified: incubator/stanbol/trunk/reengineer/base/src/main/java/org/apache/stanbol/reengineer/base/api/ReengineerManager.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/base/src/main/java/org/apache/stanbol/reengineer/base/api/ReengineerManager.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/reengineer/base/src/main/java/org/apache/stanbol/reengineer/base/api/ReengineerManager.java (original)
+++ incubator/stanbol/trunk/reengineer/base/src/main/java/org/apache/stanbol/reengineer/base/api/ReengineerManager.java Tue Apr 5 14:51:54 2011
@@ -23,7 +23,7 @@ public interface ReengineerManager {
* @param semionReengineer {@link Reengineer}
* @return true if the reengineer is bound, false otherwise
*/
- public boolean bindReengineer(Reengineer semionReengineer);
+ boolean bindReengineer(Reengineer semionReengineer);
/**
* The {@link ReengineerManager} can remove a reengineer from the list of available reengineers. This is performed through the method
@@ -32,7 +32,7 @@ public interface ReengineerManager {
* @param semionReengineer {@link Reengineer}
* @return true if the reengineer is unbound, false otherwise
*/
- public boolean unbindReengineer(Reengineer semionReengineer);
+ boolean unbindReengineer(Reengineer semionReengineer);
/**
* The {@link ReengineerManager} can remove a reengineer from the list of available reengineers. This is performed through the method
@@ -41,7 +41,7 @@ public interface ReengineerManager {
* @param reenginnerType {@code int}
* @return true if the reengineer is unbound, false otherwise
*/
- public boolean unbindReengineer(int reenginnerType);
+ boolean unbindReengineer(int reenginnerType);
// /**
@@ -70,21 +70,21 @@ public interface ReengineerManager {
*
* @return the {@link Collection< Reengineer >} of active reengineers.
*/
- public Collection<Reengineer> listReengineers();
+ Collection<Reengineer> listReengineers();
/**
* Gets the number of active reengineers.
*
* @return the number of active reengineers.
*/
- public int countReengineers();
+ int countReengineers();
- public OWLOntology performReengineering(String graphNS, IRI outputIRI, DataSource dataSource) throws ReengineeringException;
+ OWLOntology performReengineering(String graphNS, IRI outputIRI, DataSource dataSource) throws ReengineeringException;
- public OWLOntology performSchemaReengineering(String graphNS, IRI outputIRI, DataSource dataSource) throws ReengineeringException;
+ OWLOntology performSchemaReengineering(String graphNS, IRI outputIRI, DataSource dataSource) throws ReengineeringException;
- public OWLOntology performDataReengineering(String graphNS, IRI outputIRI, DataSource dataSource, IRI schemaOntologyIRI) throws ReengineeringException, NoSuchOntologyInStoreException;
+ OWLOntology performDataReengineering(String graphNS, IRI outputIRI, DataSource dataSource, IRI schemaOntologyIRI) throws ReengineeringException, NoSuchOntologyInStoreException;
- public OWLOntology performDataReengineering(String graphNS, IRI outputIRI, DataSource dataSource, OWLOntology schemaOntology) throws ReengineeringException;
+ OWLOntology performDataReengineering(String graphNS, IRI outputIRI, DataSource dataSource, OWLOntology schemaOntology) throws ReengineeringException;
}
Modified: incubator/stanbol/trunk/reengineer/base/src/main/java/org/apache/stanbol/reengineer/base/api/settings/ConnectionSettings.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/base/src/main/java/org/apache/stanbol/reengineer/base/api/settings/ConnectionSettings.java?rev=1089070&r1=1089069&r2=1089070&view=diff
==============================================================================
--- incubator/stanbol/trunk/reengineer/base/src/main/java/org/apache/stanbol/reengineer/base/api/settings/ConnectionSettings.java (original)
+++ incubator/stanbol/trunk/reengineer/base/src/main/java/org/apache/stanbol/reengineer/base/api/settings/ConnectionSettings.java Tue Apr 5 14:51:54 2011
@@ -11,61 +11,60 @@ import java.io.Serializable;
*/
public interface ConnectionSettings extends Serializable{
-
/**
* Get the URL of the connection.
*
* @return the URL of the connection as a {@link String}.
*/
- public String getUrl();
+ String getUrl();
/**
* Get the name of the server on which the DB is running.
*
* @return the name of the server as a {@link String}.
*/
- public String getServerName();
+ String getServerName();
/**
* Get the port of the server on which the DB is running.
*
* @return the port of the server as a {@link String}.
*/
- public String getPortNumber();
+ String getPortNumber();
/**
* Get the name of the database.
*
* @return the port of the server as a {@link String}.
*/
- public String getDatabaseName();
+ String getDatabaseName();
/**
* Get the user name for the autenthication.
*
* @return the user name as a {@link String}.
*/
- public String getUserName();
+ String getUserName();
/**
* Get the password for the autenthication.
*
* @return the password as a {@link String}.
*/
- public String getPassword();
+ String getPassword();
/**
* Get the select method for querying.
*
* @return the select method as a {@link String}.
*/
- public String getSelectMethod();
+ String getSelectMethod();
/**
* Get the JDBC driver of the database.
*
* @return the JDBC driver as a {@link String}.
*/
- public String getJDBCDriver();
+ String getJDBCDriver();
}