public class Property extends ObjectSE
FieldSE および / または PropertyDescriptorSE によるプロパティの概念を抽象化する値オブジェクト。| 修飾子と型 | メソッドと説明 |
|---|---|
boolean | equals(ObjectSE obj) |
OptionalSE<FieldSE> | getField() |
OptionalSE<MethodSE> | getGetter() プロパティの getter が利用可能で、プロパティの型と一致する場合に返します。 |
StringSE | getName() プロパティの名前を返します。 |
OptionalSE<MethodSE> | getSetter() プロパティの setter が利用可能で、その最初の(唯一の)パラメーターがプロパティの型と一致する場合に返します。 |
ClassSE<?> | getType() プロパティの型を返します。 |
OptionalSE<MethodSE> | getWither() プロパティのウィザーが利用可能な場合、その最初の(唯一の)パラメーターがプロパティの型と一致する場合に、そのウィザーを返します。 |
boolean | hasAccessor() プロパティが getter または setter を公開するかどうかを返します。 |
int | hashCode() |
boolean | isFieldBacked() プロパティがフィールドによって裏付けられているかどうかを返します。 |
static Property | of(TypeInformation<?> type, FieldSE field) 指定されたフィールドを基にする新しい Property を作成します。 |
static Property | of(TypeInformation<?> type, FieldSE field, PropertyDescriptorSE descriptor) |
static Property | of(TypeInformation<?> type, PropertyDescriptorSE descriptor) 指定された PropertyDescriptorSE の新しい Property を作成します。 |
static boolean | supportsStandalone(PropertyDescriptorSE descriptor) 指定された PropertyDescriptorSE が Property インスタンスのスタンドアロン作成でサポートされているかどうかを返します。 |
StringSE | toString() |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic static Property of(TypeInformation<?> type, FieldSE field)
Property を作成します。type - 所有型。null であってはなりません。field - null であってはなりません。public static Property of(TypeInformation<?> type, FieldSE field, PropertyDescriptorSE descriptor)
type - 所有型。null であってはなりません。field - null であってはなりません。descriptor - null であってはなりません。public static Property of(TypeInformation<?> type, PropertyDescriptorSE descriptor)
PropertyDescriptorSE の新しい Property を作成します。指定されたプロパティが適切なプロパティを表していない場合、作成は失敗する可能性があります。type - 所有型。null であってはなりません。descriptor - null であってはなりません。supportsStandalone(PropertyDescriptor)public static boolean supportsStandalone(PropertyDescriptorSE descriptor)
PropertyDescriptorSE が Property インスタンスのスタンドアロン作成でサポートされているかどうかを返します。descriptor -public boolean isFieldBacked()
public OptionalSE<MethodSE> getGetter()
public OptionalSE<MethodSE> getSetter()
public OptionalSE<MethodSE> getWither()
public boolean hasAccessor()
public StringSE getName()
public ClassSE<?> getType()
public int hashCode()
ObjectSE の hashCodeSE public StringSE toString()
ObjectSE の toStringSE public OptionalSE<FieldSE> getField()
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.