public class DefaultRepositoryMetadata extends AbstractRepositoryMetadata
RepositoryMetadata
のデフォルトの実装。Repository
のジェネリクス型を調べて、ドメインと ID クラスについて調べます。コンストラクターと説明 |
---|
DefaultRepositoryMetadata(ClassSE<?> repositoryInterface) 指定されたリポジトリインターフェースの新しい DefaultRepositoryMetadata を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
ClassSE<?> | getDomainType() リポジトリが宣言されているドメインクラスを返します。 |
ClassSE<?> | getIdType() 指定されたクラスが宣言されている ID クラスを返します。 |
getAlternativeDomainTypes, getCrudMethods, getMetadata, getRepositoryInterface, getReturnedDomainClass, getReturnType, isPagingRepository, isReactiveRepository
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public DefaultRepositoryMetadata(ClassSE<?> repositoryInterface)
DefaultRepositoryMetadata
を作成します。repositoryInterface
- null であってはなりません。public ClassSE<?> getIdType()
RepositoryMetadata
public ClassSE<?> getDomainType()
RepositoryMetadata
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.