Annotation Interface RepositoryDefinition


@Indexed @Documented @Retention(RUNTIME) @Target(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:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The domain class the repository manages.
    The id class of the entity the repository manages.
  • Element Details

    • domainClass

      Class<?> domainClass
      The domain class the repository manages. Equivalent to the T type parameter in Repository.
      Returns:
      See Also:
    • idClass

      Class<?> idClass
      The id class of the entity the repository manages. Equivalent to the ID type parameter in Repository.
      Returns:
      See Also: