org.openrdf.elmo.rolemapper
Class DirectMapper<URI>

java.lang.Object
  extended by org.openrdf.elmo.rolemapper.DirectMapper<URI>

public class DirectMapper<URI>
extends Object

Tracks recorded roles and maps them to their subject type.

Author:
James Leigh

Constructor Summary
DirectMapper()
           
 
Method Summary
 Set<Class<?>> getDirectRoles(URI type)
           
 Set<URI> getDirectTypes(Class<?> role)
           
 void recordRole(Class<?> role, URI rdfType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectMapper

public DirectMapper()
Method Detail

getDirectRoles

public Set<Class<?>> getDirectRoles(URI type)

getDirectTypes

public Set<URI> getDirectTypes(Class<?> role)

recordRole

public void recordRole(Class<?> role,
                       URI rdfType)


Copyright © 2004-2007. All Rights Reserved.