public abstract class AbstractRepositoryMetadata extends Object implements RepositoryMetadata
RepositoryMetadata
implementations.Constructor and Description |
---|
AbstractRepositoryMetadata(Class<?> repositoryInterface)
Creates a new
AbstractRepositoryMetadata . |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getReturnedDomainClass(Method method)
Returns the domain class returned by the given
Method . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDomainType, getIdType, getRepositoryInterface
public AbstractRepositoryMetadata(Class<?> repositoryInterface)
AbstractRepositoryMetadata
.repositoryInterface
- must not be null and must be an interface.public Class<?> getReturnedDomainClass(Method method)
RepositoryMetadata
Method
. Will extract the type from Collection
s and
Page
as well.getReturnedDomainClass
in interface RepositoryMetadata
Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.