public abstract class SchemaPersistingManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SchemaPersistingManager.ContradictorySchemaException
Signalizes that the schema information imposed by schema annotations found
contradicts the schema information that is already present in the triplestore.
|
static class |
SchemaPersistingManager.InconsistentAnnotationException
Signalizes that the schema annotations made are inconsistent.
|
| Constructor and Description |
|---|
SchemaPersistingManager(ObjectConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
persistSchema(org.reflections.Reflections types)
Persists the schema information implied by schema annotations to the default graph of the connected triplestore.
|
public SchemaPersistingManager(ObjectConnection connection)
connection - Connection to the triplestore that should receive schema information.public abstract void persistSchema(org.reflections.Reflections types)
throws org.openrdf.repository.RepositoryException,
SchemaPersistingManager.InconsistentAnnotationException
types - 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.SchemaPersistingManager.InconsistentAnnotationException - Thrown if the schema annotations are inconsistent.SchemaPersistingManager.ContradictorySchemaException - Thrown if the schema information imposed by annotations contradicts with
schema information that is already present in the connected triplestore.Copyright © 2017 Chair of Distributed Information Systems - University of Passau. All rights reserved.