@Indexed @Documented @Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface RepositoryDefinition
RepositoryDefinition will cause the same behaviour as extending Repository.Repository| Modifier and Type | Required Element and Description | 
|---|---|
| Class<?> | domainClassThe domain class the repository manages. | 
| Class<?> | idClassThe id class of the entity the repository manages. | 
public abstract Class<?> domainClass
Repository.Repositorypublic abstract Class<?> idClass
Repository.RepositoryCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.