org.openrdf.repository.object.managers
Class PropertyMapper

java.lang.Object
  extended by org.openrdf.repository.object.managers.PropertyMapper

public class PropertyMapper
extends Object

Reads in property mapping files and determines which properties should be eagarly loaded.

Author:
James Leigh

Constructor Summary
PropertyMapper(ClassLoader cl, boolean readTypes)
           
 
Method Summary
 Map<String,String> findEagerProperties(Class<?> type)
           
 Collection<Field> findFields(Class<?> concept)
           
 Collection<Field> findFunctionalFields(Class<?> type)
           
 Collection<PropertyDescriptor> findFunctionalProperties(Class<?> type)
           
 String findPredicate(Field field)
           
 String findPredicate(PropertyDescriptor pd)
           
 Collection<PropertyDescriptor> findProperties(Class<?> concept)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyMapper

public PropertyMapper(ClassLoader cl,
                      boolean readTypes)
Method Detail

findFields

public Collection<Field> findFields(Class<?> concept)

findProperties

public Collection<PropertyDescriptor> findProperties(Class<?> concept)

findPredicate

public String findPredicate(Field field)

findPredicate

public String findPredicate(PropertyDescriptor pd)

findFunctionalProperties

public Collection<PropertyDescriptor> findFunctionalProperties(Class<?> type)

findFunctionalFields

public Collection<Field> findFunctionalFields(Class<?> type)

findEagerProperties

public Map<String,String> findEagerProperties(Class<?> type)
Returns:
map of name to uri


Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.