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 org.openrdf.repository.object.composition.BehaviourFactory |
createBehaviourTemplate, createClassTemplate, findBehaviour, findImplementations, findImplementations, findImplementations, getImplementingClasses, isBaseClass, isOverridden, setBaseClasses, setClassDefiner, setPropertyMapper |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyMapperFactory
public PropertyMapperFactory()
getMapperClassNameFor
public static String getMapperClassNameFor(Class<?> concept)
getLoadedMethod
public static String getLoadedMethod(Field field)
throws Exception
- Throws:
Exception
getReadMethod
public static String getReadMethod(Field field)
throws Exception
- Throws:
Exception
getWriteMethod
public static String getWriteMethod(Field field)
throws Exception
- 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)
isEnhanceable
protected boolean isEnhanceable(Class<?> concept)
throws ObjectStoreConfigException
- Specified by:
isEnhanceable in class BehaviourFactory
- Throws:
ObjectStoreConfigException
getJavaClassName
protected String getJavaClassName(Class<?> concept)
- Overrides:
getJavaClassName in class BehaviourFactory
enhance
protected void enhance(ClassTemplate cc,
Class<?> concept)
throws Exception
- Overrides:
enhance in class BehaviourFactory
- Throws:
Exception
Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.