Class JenaContainers

java.lang.Object
cz.cvut.kbss.ontodriver.jena.JenaContainers
All Implemented Interfaces:
Containers

public class JenaContainers extends Object implements Containers
  • Constructor Details

  • Method Details

    • readContainer

      public Collection<Axiom<?>> readContainer(ContainerDescriptor descriptor) throws OntoDriverException
      Description copied from interface: Containers
      Reads values from an RDF container specified by the given descriptor.
      Specified by:
      readContainer in interface Containers
      Parameters:
      descriptor - Container descriptor
      Returns:
      Collection of axioms representing the values in the container. The property of the axioms corresponds to the property specified in the container descriptor (i.e., property reference the container from the owner).
      Throws:
      OntoDriverException - If an ontology access error occurs
    • persistContainer

      public <T> void persistContainer(ContainerValueDescriptor<T> descriptor) throws OntoDriverException
      Description copied from interface: Containers
      Persists values to an RDF container specified by the given descriptor.
      Specified by:
      persistContainer in interface Containers
      Type Parameters:
      T - Container value type
      Parameters:
      descriptor - Container descriptor
      Throws:
      OntoDriverException - If an ontology access error occurs
    • updateContainer

      public <T> void updateContainer(ContainerValueDescriptor<T> descriptor) throws OntoDriverException
      Description copied from interface: Containers
      Updates values in an RDF container specified by the given descriptor.
      Specified by:
      updateContainer in interface Containers
      Type Parameters:
      T - Container value type
      Parameters:
      descriptor - Container descriptor
      Throws:
      OntoDriverException - If an ontology access error occurs