org.openrdf.elmo.impl
Class AbstractBehaviourClassFactory

java.lang.Object
  extended by org.openrdf.elmo.impl.AbstractBehaviourClassFactory
All Implemented Interfaces:
ImplementationResolver

public class AbstractBehaviourClassFactory
extends Object
implements ImplementationResolver


Field Summary
static String CLASS_PREFIX
           
 
Constructor Summary
AbstractBehaviourClassFactory()
           
 
Method Summary
 Collection<Class<?>> findImplementations(Collection<Class<?>> classes)
          Resolves mapper classes that will map any annotated property in the interfaces.
 Method getReadMethod(Field field)
           
 Method getWriteMethod(Field field)
           
 void setClassDefiner(ClassFactory definer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_PREFIX

public static final String CLASS_PREFIX
See Also:
Constant Field Values
Constructor Detail

AbstractBehaviourClassFactory

public AbstractBehaviourClassFactory()
Method Detail

setClassDefiner

public void setClassDefiner(ClassFactory definer)

findImplementations

public Collection<Class<?>> findImplementations(Collection<Class<?>> classes)
Description copied from interface: ImplementationResolver
Resolves mapper classes that will map any annotated property in the interfaces.

Specified by:
findImplementations in interface ImplementationResolver
Parameters:
classes - concepts with @rdf annotated properties
Returns:
A collection concrete mapping behaviours.

getReadMethod

public Method getReadMethod(Field field)
Specified by:
getReadMethod in interface ImplementationResolver

getWriteMethod

public Method getWriteMethod(Field field)
Specified by:
getWriteMethod in interface ImplementationResolver


Copyright © 2004-2008 Aduna. All Rights Reserved.