org.openrdf.elmo.rolemapper
Class TypeMapper<URI>
java.lang.Object
org.openrdf.elmo.rolemapper.TypeMapper<URI>
public class TypeMapper<URI>
- extends Object
Tracks recorded roles and maps them to their subject type.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeMapper
public TypeMapper()
findTypes
public Collection<URI> findTypes(Class<?> javaClass,
Collection<URI> rdfTypes)
findType
public URI findType(Class<?> role)
- Finds the rdf: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-2008 Aduna. All Rights Reserved.