Package org.openrdf.elmo.sesame

Implements the Elmo API for the Sesame RDF Repository.

See:
          Description

Class Summary
ElmoSingleQueryResult Converts the repository result into a single Bean.
ElmoTupleQueryResult Converts the repository result into an array of Objects.
InferencingPropertyFactory<E> Extends SesamePropertyFactory by creating ElmoProperty that update the equivalent and inverseOf predicates.`
InverseSesameProperty<E> A set for a given getResource(), predicate.
LocalizedSesameProperty SesameProperty used for localized properties.
SesameEntitySupport Stores the resource and manager for a bean and implements equals, hashCode, and toString.
SesameLiteralManager Converts between simple Java Objects and Strings.
SesameManager Handles operations of ElmoManager and EntityManager.
SesameManagerFactory Creates SesameBeanManagers.
SesameMemento Wraps the RepositoryMemento for used in Elmo.
SesamePersistenceProvider Used in META-INF/persistence.xml to indicate a SesameManager should be used.
SesameProperty<E> A set for a given getResource(), predicate.
SesamePropertyFactory<E> Creates ElmoProperty objects for a given predicate.
SesameQuery Implements ElmoQuery for use with SesameManager.
SesameResourceManager Determine the rdf:types of a Sesame Resource.
SesameRoleMapperFactory  
SesameTransaction JPA EntityTransaction interface for SesameBeanManager.
SesameTypeFactory Wraps a ValueFactory to be used as a generic rdf:type factory.
 

Package org.openrdf.elmo.sesame Description

Implements the Elmo API for the Sesame RDF Repository. The Class SesameManagerFactory assembles the services found in this package and in org.openrdf.elmo. It creates the ContextAwareConnection used by SesameManager and intializes it services.

SesameManager creates the new JavaBean instances, using SesameResourceManager to read and write the subject types to the repository. Then using RoleMapperImpl to map them to Java roles, which are composed together by ElmoClassCompositor.

The MapperClassFactory scans the roles before composition looking for rdf annotations and generates the byte-code for triple mapping. These generated classes will use a SesamePropertyFactory for each Bean property to create a new instance of SesameProperty for every bean instance.

The SesameProperty reads the property values using SesameManager to convert the rdf value into a literal via SesameLiteralManager or creates a Bean. The value is written to the repository by PropertyChanger.



Copyright © 2004-2008 Aduna. All Rights Reserved.