Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Spring Data Commons
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.data.repository.core
Interface RepositoryMetadata

All Known Subinterfaces:
  RepositoryInformation

All Known Implementing Classes:
  AnnotationRepositoryMetadata, DefaultRepositoryMetadata

    public interface RepositoryMetadata

Metadata for repository interfaces.

Author:
  Oliver Gierke

Method Summary
`Class<?>` | `getDomainClass()` Returns the domain class the repository is declared for.
`Class<?>` | `getIdClass()` Returns the id class the given class is declared for.
`Class<?>` | `getRepositoryInterface()` Returns the repository interface.

Method Detail

### getIdClass

    Class<?> getIdClass()

  Returns the id class the given class is declared for.

  Parameters:
    `clazz` -
  Returns:
    the id class of the entity managed by the repository for or `null` if none found.

### getDomainClass

    Class<?> getDomainClass()

  Returns the domain class the repository is declared for.

  Parameters:
    `clazz` -
  Returns:
    the domain class the repository is handling or `null` if none found.

### getRepositoryInterface

    Class<?> getRepositoryInterface()

  Returns the repository interface.

  Returns:

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Spring Data Commons
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011. All Rights Reserved.