org.seasar.extension.jdbc.gen.internal.util
クラス ColumnUtil

java.lang.Object
  上位を拡張 org.seasar.extension.jdbc.gen.internal.util.ColumnUtil

public class ColumnUtil
extends java.lang.Object

カラムに関するユーティリティクラスです。

作成者:
taedium

コンストラクタの概要
protected ColumnUtil()
           
 
メソッドの概要
static java.lang.String formatDataType(java.lang.String dataType, int length, int precision, int scale)
          カラムのデータ型をフォーマットします。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ColumnUtil

protected ColumnUtil()
メソッドの詳細

formatDataType

public static java.lang.String formatDataType(java.lang.String dataType,
                                              int length,
                                              int precision,
                                              int scale)
カラムのデータ型をフォーマットします。

カラムのデータ型に含まれる置換文字を置き換えます。

パラメータ:
dataType - カラムのデータ型
length - 長さ
precision - 精度
scale - スケール
戻り値:
フォーマットされたカラムのデータ型


Copyright © 2004-2014 The Seasar Foundation. All Rights Reserved.