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, waitgetDomainType, getIdType, getRepositoryInterfacepublic AbstractRepositoryMetadata(Class<?> repositoryInterface)
AbstractRepositoryMetadata.repositoryInterface - must not be null and must be an interface.public Class<?> getReturnedDomainClass(Method method)
RepositoryMetadataMethod. Will extract the type from Collections and
Page as well.getReturnedDomainClass in interface RepositoryMetadataCopyright © 2012. All Rights Reserved.