T
- パラメーターの型 public static class PreferredConstructor.Parameter<T,P extends PersistentProperty<P>> extends ObjectSE
コンストラクターと説明 |
---|
Parameter(StringSE name, TypeInformation<T> type, AnnotationSE[] annotations, PersistentEntity<T, P> entity) |
修飾子と型 | メソッドと説明 |
---|---|
boolean | equals(ObjectSE o) |
MergedAnnotations | getAnnotations() このパラメーターにアノテーションが付けられているマージされたアノテーション。 |
StringSE | getName() パラメーターの名前を返します。 |
ClassSE<T> | getRawType() パラメーターの未解決の型を返します。 |
StringSE | getSpelExpression() 実際のパラメーター値を設定するためにソースデータ構造を検索するときに使用されるキーを返します。 |
TypeInformation<T> | getType() パラメーターの TypeInformation を返します。 |
int | hashCode() |
boolean | hasSpelExpression() コンストラクターパラメーターが SpEL 式を備えているかどうかを返します。 |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public Parameter(@Nullable StringSE name, TypeInformation<T> type, AnnotationSE[] annotations, @Nullable PersistentEntity<T,P> entity)
TypeInformation
と Annotation
SE の配列で新しい PreferredConstructor.Parameter
を作成します。Value
アノテーションのアノテーションをインスペクションして、評価するキーまたは SpEL 式を検索します。name
- パラメーターの名前。null でもかまいません type
- null であってはなりません annotations
- null にすることはできませんが、空にすることができます entity
- null であってはなりません。public TypeInformation<T> getType()
TypeInformation
を返します。public MergedAnnotations getAnnotations()
public StringSE getSpelExpression()
public boolean hasSpelExpression()
public int hashCode()
ObjectSE
の hashCodeSE
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.