org.openrdf.repository.object.managers.helpers
Class TypeMapper
java.lang.Object
org.openrdf.repository.object.managers.helpers.TypeMapper
- All Implemented Interfaces:
- Cloneable
public class TypeMapper
- extends Object
- implements Cloneable
Tracks recorded roles and maps them to their subject type.
- Author:
- James Leigh
TypeMapper
public TypeMapper()
clone
public TypeMapper clone()
- Overrides:
clone in class Object
findType
public URI findType(Class<?> role)
- Finds the rdfs:Class for this Java Class>.
- Parameters:
javaClass -
- Returns:
- URI of the rdf:Class> for this Java Class> or null.
recordRole
public void recordRole(Class<?> role,
URI rdfType)
Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.