|
Spring Data Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.repository.core.support.AbstractRepositoryMetadata
org.springframework.data.repository.core.support.DefaultRepositoryMetadata
public class DefaultRepositoryMetadata
Default implementation of RepositoryMetadata. Will inspect generic types of Repository to find out
about domain and id class.
| Constructor Summary | |
|---|---|
DefaultRepositoryMetadata(Class<?> repositoryInterface)
Creates a new DefaultRepositoryMetadata for the given repository interface. |
|
| Method Summary | |
|---|---|
Class<?> |
getDomainType()
Returns the domain class the repository is declared for. |
Class<? extends Serializable> |
getIdType()
Returns the id class the given class is declared for. |
Class<?> |
getRepositoryInterface()
Returns the repository interface. |
| Methods inherited from class org.springframework.data.repository.core.support.AbstractRepositoryMetadata |
|---|
getReturnedDomainClass |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultRepositoryMetadata(Class<?> repositoryInterface)
DefaultRepositoryMetadata for the given repository interface.
repositoryInterface - | Method Detail |
|---|
public Class<?> getRepositoryInterface()
RepositoryMetadata
public Class<?> getDomainType()
RepositoryMetadata
null if none found.public Class<? extends Serializable> getIdType()
RepositoryMetadata
null if none found.
|
Spring Data Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||