org.seasar.doma.extension.gen
クラス SqlDesc

java.lang.Object
  上位を拡張 org.seasar.doma.extension.gen.SqlDesc

public class SqlDesc
extends Object

SQL記述です。

作成者:
taedium

フィールドの概要
protected  GenDialect dialect
          方言
protected  EntityDesc entityDesc
          エンティティ記述
protected  String fileName
          ファイル名
protected  String templateName
          テンプレート名
 
コンストラクタの概要
SqlDesc()
           
 
メソッドの概要
 EntityDesc getEntityDesc()
          エンティティ記述を返します。
 String getFileName()
          ファイル名 を返します。
 String getTemplateName()
          テンプレート名を返します。
 void setDialect(GenDialect dialect)
          方言を設定します。
 void setEntityDesc(EntityDesc entityDesc)
          エンティティ記述を設定します。
 void setFileName(String fileName)
          ファイル名を設定します。
 void setTemplateName(String templateName)
          テンプレート名を設定します。
 String toDate(String value)
          日付のリテラルに変換します。
 String toTime(String value)
          時刻のリテラルに変換します。
 String toTimestamp(String value)
          タイムスタンプのリテラルに変換します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

fileName

protected String fileName
ファイル名


templateName

protected String templateName
テンプレート名


entityDesc

protected EntityDesc entityDesc
エンティティ記述


dialect

protected GenDialect dialect
方言

導入されたバージョン:
1.11.0
コンストラクタの詳細

SqlDesc

public SqlDesc()
メソッドの詳細

getFileName

public String getFileName()
ファイル名 を返します。

戻り値:
ファイル名

setFileName

public void setFileName(String fileName)
ファイル名を設定します。

パラメータ:
fileName - ファイル名

getTemplateName

public String getTemplateName()
テンプレート名を返します。

戻り値:
テンプレート名

setTemplateName

public void setTemplateName(String templateName)
テンプレート名を設定します。

パラメータ:
templateName - テンプレート名

getEntityDesc

public EntityDesc getEntityDesc()
エンティティ記述を返します。

戻り値:
エンティティ記述

setEntityDesc

public void setEntityDesc(EntityDesc entityDesc)
エンティティ記述を設定します。

パラメータ:
entityDesc - エンティティ記述

setDialect

public void setDialect(GenDialect dialect)
方言を設定します。

パラメータ:
dialect - 方言
導入されたバージョン:
1.11.0

toTime

public String toTime(String value)
時刻のリテラルに変換します。

パラメータ:
value - 値
戻り値:
時刻のリテラル
導入されたバージョン:
1.11.0

toDate

public String toDate(String value)
日付のリテラルに変換します。

パラメータ:
value - 値
戻り値:
日付のリテラル
導入されたバージョン:
1.11.0

toTimestamp

public String toTimestamp(String value)
タイムスタンプのリテラルに変換します。

パラメータ:
value - 値
戻り値:
タイムスタンプのリテラル
導入されたバージョン:
1.11.0


Copyright © 2009-2013 The Seasar Foundation. All Rights Reserved.