クラス ExpressionDependencies.ExpressionDependency
java.lang.ObjectSE
org.springframework.data.spel.ExpressionDependencies.ExpressionDependency
- 含まれているクラス:
- ExpressionDependencies
SpEL 式から参照されるメソッドまたはプロパティ / フィールドへの依存関係を記述する値オブジェクト。
- 導入:
- 2.4
- 作成者:
- Mark Paluch
メソッドのサマリー
修飾子と型メソッド説明booleanメソッドの新しいExpressionDependencies.ExpressionDependencyを作成します。forPropertyOrField(StringSE fieldOrPropertyName) プロパティまたはフィールドの新しいExpressionDependencies.ExpressionDependencyを作成します。inthashCode()booleanisMethod()booleanisNested()booleanbooleannest(int level) ネストしているlevelをExpressionDependencies.ExpressionDependencyに関連付けます。toString()
メソッドの詳細
forMethod
メソッドの新しいExpressionDependencies.ExpressionDependencyを作成します。- パラメーター:
methodName- メソッド名。- 戻り値:
methodNameへのメソッドの依存関係。
forPropertyOrField
public static ExpressionDependencies.ExpressionDependency forPropertyOrField(StringSE fieldOrPropertyName) プロパティまたはフィールドの新しいExpressionDependencies.ExpressionDependencyを作成します。- パラメーター:
fieldOrPropertyName- プロパティ / フィールド名。- 戻り値:
fieldOrPropertyNameへのメソッドの依存関係。
nest
ネストしているlevelをExpressionDependencies.ExpressionDependencyに関連付けます。戻り値- パラメーター:
level-- 戻り値:
isNested
public boolean isNested()isTopLevel
public boolean isTopLevel()isMethod
public boolean isMethod()isPropertyOrField
public boolean isPropertyOrField()getSymbol
equals
hashCode
public int hashCode()toString