|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectorg.seasar.extension.dxo.converter.DatePropertyInfo
日時を表すプロパティの情報を保持するクラスです。
このクラスは、 複数の文字列型のプロパティからDateあるいはその派生クラス、
Calendar型のプロパティへ変換するための情報を保持します。
| フィールドの概要 | |
protected String |
format
日時のフォーマット |
protected org.seasar.framework.beans.PropertyDesc[] |
propertyDescs
変換元となるプロパティの配列 |
| コンストラクタの概要 | |
DatePropertyInfo(ConversionContext context,
String format,
org.seasar.framework.beans.PropertyDesc[] propertyDescs)
DatePropertyInfoのインスタンスを構築します。 |
|
| メソッドの概要 | |
Date |
getValue(Object source)
ソースオブジェクトの文字列型のプロパティから Dateオブジェクトに変換して返します。
|
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
protected String format
protected org.seasar.framework.beans.PropertyDesc[] propertyDescs
| コンストラクタの詳細 |
public DatePropertyInfo(ConversionContext context,
String format,
org.seasar.framework.beans.PropertyDesc[] propertyDescs)
DatePropertyInfoのインスタンスを構築します。
context - 変換コンテキストformat - フォーマットpropertyDescs - プロパティ記述子の配列| メソッドの詳細 |
public Date getValue(Object source)
Dateオブジェクトに変換して返します。
変換できなかった場合はnullを返します。
source - 変換元のオブジェクト
Dateオブジェクト
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||