クラス BeanPropertyParameterSource

java.lang.ObjectSE
org.springframework.integration.jpa.support.parametersource.BeanPropertyParameterSource
実装済みのインターフェース一覧:
ParameterSource

public class BeanPropertyParameterSource extends ObjectSE implements ParameterSource
導入:
2.2
作成者:
Gunnar Hillert, Gary Russell, Ngoc Nhan, Artem Bilan
  • コンストラクターの詳細

    • BeanPropertyParameterSource

      public BeanPropertyParameterSource(ObjectSE object)
      指定された Bean の新しい BeanPropertySqlParameterSource を作成します。
      パラメーター:
      object - ラップする Bean インスタンス
  • 方法の詳細

    • hasValue

      public boolean hasValue(StringSE paramName)
      インターフェースからコピーされた説明: ParameterSource
      指定された名前付きパラメーターに値があるかどうかを判別します。
      次で指定:
      インターフェース ParameterSource 内の hasValue 
      パラメーター:
      paramName - パラメーターの名前
      戻り値:
      値が定義されているかどうか
    • getValue

      public @Nullable ObjectSE getValue(StringSE paramName)
      インターフェースからコピーされた説明: ParameterSource
      リクエストされた名前付きパラメーターのパラメーター値を返します。
      次で指定:
      インターフェース ParameterSource 内の getValue 
      パラメーター:
      paramName - パラメーターの名前
      戻り値:
      指定されたパラメーターの値
    • getReadablePropertyNames

      public StringSE[] getReadablePropertyNames()
      ラップされた Bean のプロパティ名へのアクセスを提供します。PropertyAccessor インターフェースで提供されるサポートを使用します。
      戻り値:
      すべての既知のプロパティ名を含む配列