public class OWLSchemaPersistingManager extends SchemaPersistingManager
SchemaPersistingManager.ContradictorySchemaException, SchemaPersistingManager.InconsistentAnnotationException| Constructor and Description |
|---|
OWLSchemaPersistingManager(ObjectConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
persistSchema(org.reflections.Reflections types)
Persists the schema information implied by schema annotations to the default graph of the connected triplestore.
|
public OWLSchemaPersistingManager(ObjectConnection connection)
connection - Connection to the triplestore that should receive schema information.public void persistSchema(org.reflections.Reflections types)
throws SchemaPersistingManager.InconsistentAnnotationException,
org.openrdf.repository.RepositoryException
persistSchema in class SchemaPersistingManagertypes - The types which methods and field should be scanned for schema information.org.openrdf.repository.RepositoryException - Thrown if an error occurs while persisting schema information.InconsistentAnnotationException - Thrown if the schema annotations are inconsistent.ContradictorySchemaException - Thrown if the schema information imposed by annotations contradicts with
schema information that is already present in the connected triplestore.SchemaPersistingManager.InconsistentAnnotationExceptionCopyright © 2017 Chair of Distributed Information Systems - University of Passau. All rights reserved.