org.openrdf.elmo.impl
Class ElmoMapperClassFactory
java.lang.Object
org.openrdf.elmo.impl.ElmoMapperClassFactory
- All Implemented Interfaces:
- ImplementationResolver
public class ElmoMapperClassFactory
- extends Object
- implements ImplementationResolver
Properties that have the rdf or localname annotation are replaced with
getters and setters that access the Sesame Repository directly.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElmoMapperClassFactory
public ElmoMapperClassFactory()
setClassDefiner
public void setClassDefiner(ClassFactory definer)
setElmoPropertyFactoryClass
public void setElmoPropertyFactoryClass(Class<? extends ElmoPropertyFactory> propertyFactoryClass)
findImplementations
public Collection<Class<?>> findImplementations(Collection<Class<?>> interfaces)
- Description copied from interface:
ImplementationResolver
- Resolves mapper classes that will map any annotated property in the interfaces.
- Specified by:
findImplementations in interface ImplementationResolver
- Parameters:
interfaces - concepts with @rdf annotated properties
- Returns:
- A collection concrete mapping behaviours.
getClassType
public static Class<?> getClassType(Method method)
getContentClassType
public static Class<?> getContentClassType(Method method)
getTypeArguments
public static Type[] getTypeArguments(Method method)
getContentTypeArguments
public static Type[] getContentTypeArguments(Method method)
Copyright © 2004-2008 Aduna. All Rights Reserved.