@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<?> |
domainClass
The domain class the repository manages.
|
Class<?> |
idClass
The id class of the entity the repository manages.
|
public abstract Class<?> domainClass
Repository
.Repository
public abstract Class<?> idClass
Repository
.Repository
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.