インタフェース
org.seasar.doma.converter.Converter の使用

Converter を使用しているパッケージ
org.seasar.doma.converter 値を特定の型へ変換するコンバーターを提供します。 
org.seasar.doma.copy エンティティ、JavaBeans、 Map のオブジェクトをコピーするクラスを提供します。 
 

org.seasar.doma.converter での Converter の使用
 

Converter を実装している org.seasar.doma.converter のクラス
 class BigDecimalConverter
          BigDecimal へのコンバーターです。
 class BigIntegerConverter
          BigInteger へのコンバーターです。
 class BooleanConverter
          Boolean へのコンバーターです。
 class ByteConverter
          Byte へのコンバーターです。
 class DateConverter
          Date へのコンバーターです。
 class DoubleConverter
          Double へのコンバーターです。
 class FloatConverter
          Float へのコンバーターです。
 class IntegerConverter
          Integer へのコンバーターです。
 class LongConverter
          Long へのコンバーターです。
 class ShortConverter
          Short へのコンバーターです。
 class StringConverter
          String へのコンバーターです。
 class TimeConverter
          Time へのコンバーターです。
 class TimestampConverter
          Timestamp へのコンバーターです。
 class UtilDateConverter
          Date へのコンバーターです。
 

org.seasar.doma.copy での Converter の使用
 

Converter 型の型パラメータを持つ org.seasar.doma.copy のフィールド
protected  Map<String,Converter<?>> CopyOptions.converterMap
          プロパティ名をキー、コンバーターを値とするマップ
protected  Map<Class<?>,Converter<?>> BuiltinCopyUtilDelegate.converterMap
          変換先のクラスをキー、コンバーターを値とするマップ
 

Converter を返す org.seasar.doma.copy のメソッド
protected  Converter<?> BuiltinCopyUtilDelegate.findConverter(String propertyName, Class<?> destPropertyClass, CopyOptions copyOptions)
          コンバーターを探します。
 Converter<?> CopyOptions.getConverter(String propertyName)
          プロパティ名に対応付けられたコンバーターを返します。
 

Converter 型のパラメータを持つ org.seasar.doma.copy のメソッド
protected  Object BuiltinCopyUtilDelegate.convert(Converter<?> converter, Class<?> srcClass, String srcPropertyName, Object srcPropertyValue, CopyOptions copyOptions)
          値を変換します。
 CopyOptions CopyOptions.converter(Converter<?> converter, String... propertyNames)
          特定のプロパティに明示的にコンバーターを指定します。
 



Copyright © 2009 The Seasar Foundation. All Rights Reserved.