org.openrdf.elmo
Interface ElmoEntityResolver

All Known Implementing Classes:
ElmoEntityCompositor

public interface ElmoEntityResolver

Resolves the collection of roles into an Elmo JavaBean class.

Author:
James Leigh

Method Summary
 Class<?> resolveRoles(Class<?>[] roles)
          Finds or creates a class that implements all the concepts and behaviours in roles.
 

Method Detail

resolveRoles

Class<?> resolveRoles(Class<?>[] roles)
Finds or creates a class that implements all the concepts and behaviours in roles. The returned class must implement all interfaces in the list and implement all interfaces that are implemented by the classes in the list.

Parameters:
roles - Array of concepts and behaviours
Returns:
Class that implements all the roles given.


Copyright © 2004-2008 Aduna. All Rights Reserved.