インターフェース ElementDescriptor

すべての既知のサブインターフェース:
BeanDescriptorConstructorDescriptorContainerElementTypeDescriptorCrossParameterDescriptorExecutableDescriptorMethodDescriptorParameterDescriptorPropertyDescriptorReturnValueDescriptor

public interface ElementDescriptor
検証された要素(クラス、プロパティ、メソッドなど)について説明します。
作成者:
Emmanuel Bernard, Hardy Ferentschik, Gunnar Morling
  • メソッドの詳細

    • hasConstraints

      boolean hasConstraints()
      戻り値:
      クラス階層内のこの要素に少なくとも 1 つの制約宣言が存在する場合は true を返し、それ以外の場合は false を返します。
    • getElementClass

      ClassSE<?> getElementClass()
      戻り値:
      静的に定義された戻り型
    • getConstraintDescriptors

      SetSE<ConstraintDescriptor<?>> getConstraintDescriptors()
      クラス階層内のこの要素のすべての制約記述子を返すか、何も存在しない場合は空の Set を返します。
      戻り値:
      この要素の制約記述子の Set 
    • findConstraints

      制約を見つけて、特定の条件に制限する可能性があります。
      戻り値:
      ConstraintFinder オブジェクト