@Published(tag="architect")
public interface Convertor
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| <T> Object | convert(ValidationContext<T> context,
       String propertyName,
       Object value,
       Annotation format)変換を行う。 | 
| Class<?> | getTargetClass()変換対象のクラスを取得する。 | 
| <T> boolean | isConvertible(ValidationContext<T> context,
             String propertyName,
             Object propertyDisplayName,
             Object value,
             Annotation format)変換可否のプレチェックを行う。 | 
Class<?> getTargetClass()
<T> boolean isConvertible(ValidationContext<T> context, String propertyName, Object propertyDisplayName, Object value, Annotation format)
T - バリデーション結果で取得できる型context - ValidationContextpropertyName - プロパティ名propertyDisplayName - プロパティの表示名オブジェクトvalue - 変換可否のプレチェックを行う値format - フォーマットを指定するアノテーション(指定がない場合null)<T> Object convert(ValidationContext<T> context, String propertyName, Object value, Annotation format)
T - バリデーション結果で取得できる型context - ValidationContextpropertyName - プロパティ名value - 変換する値(データ型は様々な形式がありえる。)format - フォーマットを指定するアノテーション(指定がない場合null)