public final class Property extends ObjectSE
java.beans.PropertyDescriptor
への依存を回避できるようにする JavaBeans プロパティの説明。java.beans
パッケージは、多くの環境(Android、Java ME など)では使用できないため、Spring のコア変換機能の移植性にとって望ましいものです。 プロパティの場所から TypeDescriptor
を構築するために使用されます。構築された TypeDescriptor
は、プロパティ型との間で変換するために使用できます。
TypeDescriptor(Property)
, TypeDescriptor.nested(Property, int)
コンストラクターと説明 |
---|
Property(ClassSE<?> objectType, MethodSE readMethod, MethodSE writeMethod) |
Property(ClassSE<?> objectType, MethodSE readMethod, MethodSE writeMethod, StringSE name) |
修飾子と型 | メソッドと説明 |
---|---|
boolean | equals(ObjectSE other) |
StringSE | getName() プロパティの名前: 例: |
ClassSE<?> | getObjectType() このプロパティを宣言するオブジェクトは、直接またはスーパークラスでオブジェクトを継承します。 |
MethodSE | getReadMethod() プロパティ getter メソッド: 例。 |
ClassSE<?> | getType() プロパティ型: 例。 |
MethodSE | getWriteMethod() プロパティ setter メソッド: 例。 |
int | hashCode() |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public Property(ClassSE<?> objectType, @Nullable MethodSE readMethod, @Nullable MethodSE writeMethod)
public ClassSE<?> getObjectType()
public StringSE getName()
public ClassSE<?> getType()
java.lang.String
public int hashCode()
ObjectSE
の hashCodeSE