woolpack.typeconvert
クラス ToBeanConverter

java.lang.Object
  上位を拡張 woolpack.typeconvert.ToBeanConverter
すべての実装されたインタフェース:
Fn<ConvertContext,Void,RuntimeException>

public class ToBeanConverter
extends Object
implements Fn<ConvertContext,Void,RuntimeException>

Beanに変換する関数です。 変換元の型がMapの場合は各プロパティをConvertContext.getFn()で変換します。 変換元の型が別のBeanの場合は各プロパティをConvertContext.getFn()で変換します。 変換後の状態変化と変換前の状態変化は相互に伝播しません。


コンストラクタの概要
ToBeanConverter()
           
 
メソッドの概要
 Void exec(ConvertContext c)
          関数を実行します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ToBeanConverter

public ToBeanConverter()
メソッドの詳細

exec

public Void exec(ConvertContext c)
インタフェース Fn の記述:
関数を実行します。

定義:
インタフェース Fn<ConvertContext,Void,RuntimeException> 内の exec
パラメータ:
c - コンテキスト役。
戻り値:
返却値。


Copyright (C) 2006-2007 Takahiro Nakamura. All rights reserved.