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