|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.finaluna.api.type.util.FinalunaTypeConvertUtil
@Rcsid(value="$Revision: 38309 $ $Date: 2010-03-18 17:14:55 +0900 $") public class FinalunaTypeConvertUtil
FINALUNA型間の相互変換を行うための型変換ユーティリティクラス。
FINALUNA型⇔FINALUNA型相互変換のユーティリティ処理を実装する。
| フィールドの概要 | |
|---|---|
private static FinalunaTypeConvertUtilDelegate |
convertUtil
変換用インスタンス。 |
| コンストラクタの概要 | |
|---|---|
private |
FinalunaTypeConvertUtil()
コンストラクタ。 |
| メソッドの概要 | |
|---|---|
static void |
setFinalunaTypeConvertUtil(FinalunaTypeConvertUtilDelegate convertUtilDelegate)
変換処理実装インスタンスを設定する。 |
static DateAndTimeType |
toDateAndTimeType(DateType target)
DateTypeをDateAndTimeTypeに変換する。 |
static DateAndTimeType |
toDateAndTimeType(StringCode target)
StringCodeをDateAndTimeTypeに変換する。 |
static DateAndTimeType |
toDateAndTimeType(TimestampType target)
TimestampTypeをDateAndTimeTypeに変換する。 |
static DateType |
toDateType(DateAndTimeType target)
DateAndTimeTypeをDateTypeに変換する。 |
static DateType |
toDateType(StringCode target)
StringCodeをDateTypeに変換する。 |
static DateType |
toDateType(TimestampType target)
TimestampTypeをDateTypeに変換する。 |
static DecimalType |
toDecimalType(IntegerType target)
IntegerTypeをDecimalTypeに変換する。 |
static DecimalType |
toDecimalType(StringCode target)
StringCodeをDecimalTypeに変換する。 |
static DecimalType |
toDecimalTypeExact(StringCode target)
StringCodeをDecimalTypeに変換する。 |
static IntegerType |
toIntegerType(StringCode target)
StringCodeをIntegerTypeに変換する。 |
static IntegerType |
toIntegerTypeExact(StringCode target)
StringCodeをIntegerTypeに変換する。 |
static TimestampType |
toTimestampType(DateAndTimeType target)
DateAndTimeTypeをTimestampTypeに変換する。 |
static TimestampType |
toTimestampType(DateType target)
DateTypeをTimestampTypeに変換する。 |
static TimestampType |
toTimestampType(StringCode target)
StringCodeをTimestampTypeに変換する。 |
static TimeType |
toTimeType(DateAndTimeType target)
DateAndTimeTypeをTimeTypeに変換する。 |
static TimeType |
toTimeType(StringCode target)
StringCodeをTimeTypeに変換する。 |
static TimeType |
toTimeType(TimestampType target)
TimestampTypeをTimeTypeに変換する。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
private static FinalunaTypeConvertUtilDelegate convertUtil
| コンストラクタの詳細 |
|---|
private FinalunaTypeConvertUtil()
| メソッドの詳細 |
|---|
public static IntegerType toIntegerType(StringCode target)
StringCodeをIntegerTypeに変換する。
target - 変換前のオブジェクト
public static IntegerType toIntegerTypeExact(StringCode target)
throws FinalunaApplException
StringCodeをIntegerTypeに変換する。
変換に際し失われた情報がある場合、FinalunaApplExceptionがスローされる。
target - 変換前のオブジェクト
FinalunaApplException - 変換に際し失われた情報がある場合public static DecimalType toDecimalType(StringCode target)
StringCodeをDecimalTypeに変換する。
target - 変換前のオブジェクト
public static DecimalType toDecimalType(IntegerType target)
IntegerTypeをDecimalTypeに変換する。
target - 変換前のオブジェクト
public static DecimalType toDecimalTypeExact(StringCode target)
throws FinalunaApplException
StringCodeをDecimalTypeに変換する。
変換に際し失われた情報がある場合、FinalunaApplExceptionがスローされる。
target - 変換前のオブジェクト
FinalunaApplException - 変換に際し失われた情報がある場合public static DateAndTimeType toDateAndTimeType(StringCode target)
StringCodeをDateAndTimeTypeに変換する。
target - 変換前のオブジェクト
public static DateAndTimeType toDateAndTimeType(DateType target)
DateTypeをDateAndTimeTypeに変換する。
時分秒は00:00:00で設定する。
target - 変換前のオブジェクト
public static DateAndTimeType toDateAndTimeType(TimestampType target)
TimestampTypeをDateAndTimeTypeに変換する。
ナノ秒は切り捨てる。
target - 変換前のオブジェクト
public static DateType toDateType(StringCode target)
StringCodeをDateTypeに変換する。
target - 変換前のオブジェクト
public static DateType toDateType(DateAndTimeType target)
DateAndTimeTypeをDateTypeに変換する。
時分秒は切り捨てる。
target - 変換前のオブジェクト
public static DateType toDateType(TimestampType target)
TimestampTypeをDateTypeに変換する。
時分秒ナノ秒は切り捨てる。
target - 変換前のオブジェクト
public static TimestampType toTimestampType(StringCode target)
StringCodeをTimestampTypeに変換する。
target - 変換前のオブジェクト
public static TimestampType toTimestampType(DateAndTimeType target)
DateAndTimeTypeをTimestampTypeに変換する。
ナノ秒は000000000で設定する。
target - 変換前のオブジェクト
public static TimestampType toTimestampType(DateType target)
DateTypeをTimestampTypeに変換する。
時分秒ナノ秒は00:00:00:000000000で設定する。
target - 変換前のオブジェクト
public static TimeType toTimeType(StringCode target)
StringCodeをTimeTypeに変換する。
target - 変換前のオブジェクト
public static TimeType toTimeType(DateAndTimeType target)
DateAndTimeTypeをTimeTypeに変換する。
DateAndTimeTypeの時分秒の情報を返す。
target - 変換前のオブジェクト
public static TimeType toTimeType(TimestampType target)
TimestampTypeをTimeTypeに変換する。
TimestampTypeの時分秒の情報を返す。
target - 変換前のオブジェクト
public static void setFinalunaTypeConvertUtil(FinalunaTypeConvertUtilDelegate convertUtilDelegate)
convertUtilDelegate - 変換処理実装インスタンス
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||