インターフェース OperationParameter


public interface OperationParameter
単一の操作パラメーター。
導入:
2.0.0
作成者:
Phillip Webb, Moritz Halbritter
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    <T extends AnnotationSE>
    T
    getAnnotation(ClassSE<T> annotation)
    そのようなアノテーションが存在する場合は指定された型のこの要素のアノテーションを返し、そうでない場合は null を返します。
    パラメーター名を返します。
    パラメーター型を返します。
    boolean
    パラメーターが必須の場合に戻ります(null 値を受け入れません)。
  • メソッドの詳細

    • getName

      StringSE getName()
      パラメーター名を返します。
      戻り値:
      名前
    • getType

      ClassSE<?> getType()
      パラメーター型を返します。
      戻り値:
    • isMandatory

      boolean isMandatory()
      パラメーターが必須の場合に戻ります(null 値を受け入れません)。
      戻り値:
      パラメーターが必須の場合
    • getAnnotation

      <T extends AnnotationSE> T getAnnotation(ClassSE<T> annotation)
      そのようなアノテーションが存在する場合は指定された型のこの要素のアノテーションを返し、そうでない場合は null を返します。
      型パラメーター:
      T - アノテーションの型
      パラメーター:
      annotation - アノテーションのクラス
      戻り値:
      アノテーション値
      導入:
      2.7.8