クラス SimpleEntityPathResolver

java.lang.ObjectSE
org.springframework.data.querydsl.SimpleEntityPathResolver
実装されたすべてのインターフェース:
EntityPathResolver

public class SimpleEntityPathResolver extends ObjectSE implements EntityPathResolver
リフレクションと同じ型の静的フィールドを使用してクエリクラスを検索する EntityPathResolver の単純な実装。
作成者:
Oliver Gierke, Jens Schauder
  • フィールドの詳細

  • コンストラクターの詳細

    • SimpleEntityPathResolver

      public SimpleEntityPathResolver(StringSE querySuffix)
      指定されたクエリパッケージサフィックスを使用して新しい SimpleEntityPathResolver を作成します。
      パラメーター:
      querySuffix - null であってはなりません。
  • メソッドの詳細

    • createPath

      public <T> com.querydsl.core.types.EntityPath<T> createPath(ClassSE<T> domainClass)
      指定されたドメインクラスの EntityPath インスタンスを作成します。命名規則に一致するクラスを検索し(クラスの単純な名前、同じパッケージの前に Q を追加)、その中の同じ型の静的フィールドを見つけようとします。
      次で指定:
      インターフェース EntityPathResolvercreatePath 
      パラメーター:
      domainClass -
      戻り値: