net.java.ao.schema.info
Class SimpleEntityInfoResolver

java.lang.Object
  extended by net.java.ao.schema.info.SimpleEntityInfoResolver
All Implemented Interfaces:
EntityInfoResolver

public class SimpleEntityInfoResolver
extends Object
implements EntityInfoResolver

A EntityInfoResolver which creates new EntityInfo instances on every invocation of resolve(Class)


Constructor Summary
SimpleEntityInfoResolver(NameConverters nameConverters, TypeManager typeManager)
           
 
Method Summary
<T extends RawEntity<K>,K>
EntityInfo<T,K>
resolve(Class<T> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleEntityInfoResolver

public SimpleEntityInfoResolver(NameConverters nameConverters,
                                TypeManager typeManager)
Method Detail

resolve

public <T extends RawEntity<K>,K> EntityInfo<T,K> resolve(Class<T> type)
Specified by:
resolve in interface EntityInfoResolver
Type Parameters:
T - the entity type
K - the type of the primary key for the entity
Parameters:
type - the entity interface
Returns:
the table information for the entity


Copyright © 2007-2014. All Rights Reserved.