org.openrdf.repository.object.composition
Class PropertyMapperFactory
java.lang.Object
org.openrdf.repository.object.composition.BehaviourFactory
org.openrdf.repository.object.composition.PropertyMapperFactory
public class PropertyMapperFactory
- extends BehaviourFactory
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 |
PropertyMapperFactory
public PropertyMapperFactory()
setPropertyMapperFactoryClass
public void setPropertyMapperFactoryClass(Class<? extends PropertySetFactory> propertyFactoryClass)
getReadMethod
public Method getReadMethod(Field field)
throws Exception
- Throws:
Exception
getWriteMethod
public Method getWriteMethod(Field field)
throws Exception
- Throws:
Exception
getJavaClassName
protected String getJavaClassName(Class<?> concept)
- Specified by:
getJavaClassName in class BehaviourFactory
isEnhanceable
protected boolean isEnhanceable(Class<?> concept)
throws ObjectStoreConfigException
- Specified by:
isEnhanceable in class BehaviourFactory
- Throws:
ObjectStoreConfigException
enhance
protected void enhance(ClassTemplate cc,
Class<?> concept)
throws Exception
- Specified by:
enhance in class BehaviourFactory
- Throws:
Exception
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-2009 James Leigh Services Inc.. All Rights Reserved.