Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Spring Data Commons
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.springframework.data.repository
Annotation Type RepositoryDefinition

    @Documented
    @Retention(value=RUNTIME)
    @Target(value=TYPE)
    @Inherited
    public @interface RepositoryDefinition

Annotation to demarcate interfaces a repository proxy shall be created for. Annotating an interface with `RepositoryDefinition` will cause the same behaviour as extending `Repository`.

Author:
  Oliver Gierke
See Also:
  `Repository`

Required Element Summary
`Class<?>` | `domainClass` The domain class the repository manages.
`Class<? extends Serializable>` | `idClass` The id class of the entity the repository manages.

Element Detail

### domainClass

    public abstract Class<?> domainClass

  The domain class the repository manages. Equivalent to the T type parameter in `Repository`.

  Returns:
  See Also:
    `Repository`

### idClass

    public abstract Class<? extends Serializable> idClass

  The id class of the entity the repository manages. Equivalent to the ID type parameter in `Repository`.

  Returns:
  See Also:
    `Repository`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Spring Data Commons
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2011. All Rights Reserved.