jp.ne.nifty.iga.tosiki.wizard.wiz
クラス JSourceCodeWizardAbstract

java.lang.Object
  |
  +--jp.ne.nifty.iga.tosiki.wizard.wiz.JSourceCodeWizardAbstract
すべての実装インタフェース:
java.lang.Comparable
直系の既知のサブクラス:
JSourceCodeWizard

public class JSourceCodeWizardAbstract
extends java.lang.Object
implements java.lang.Comparable

JSourceCodeWizard (abstract class of wizard) class
description: JSourceCodeWizard: abstract class of wizard
[Caution] This file is generated automaticaly by JSourceCodeWizard using XML define(s).
[Generaton Gap Pattern] Do not modify this class file
If you want modify this class, extends this class and modify subclass.

JSourceCodeWizard(abstract class of wizard) : JSourceCodeWizard: abstract class of wizard

項目名称 項目説明 長さ 小数部 Primary NOT NULL 詳細
channel class define notDefined[JSourceCodeWizardChannel]
field field define notDefined[java.util.ArrayList]
currentDirectory processing directory CHAR(-1)

バージョン:
2001.11.01
作成者:
Toshiki IGA

フィールドの概要
protected  JSourceCodeWizardChannel f_channel
          channel(class define)
型:JSourceCodeWizardChannel
デフォルト値:[new JSourceCodeWizardChannel()]
protected  java.lang.String f_currentDirectory
          currentDirectory(processing directory)
型:String
デフォルト値:["."]
protected  java.util.ArrayList f_field
          field(field define)
型:java.util.ArrayList
子供の型:JSourceCodeWizardField
デフォルト値:[new java.util.ArrayList()]
 
コンストラクタの概要
JSourceCodeWizardAbstract()
           
 
メソッドの概要
 int compareTo(JSourceCodeWizardAbstract arg)
          JSourceCodeWizard(abstract class of wizard) オブジェクト比較
 int compareTo(java.lang.Object arg)
          JSourceCodeWizard(abstract class of wizard) オブジェクト比較
 boolean equals(java.lang.Object obj)
          JSourceCodeWizard(abstract class of wizard) オブジェクトの比較
static java.lang.String fitRight(java.lang.String strInput, int iLength, char cFill)
          与えられた文字列を指定長さにぴったりに収まるよう加工するメソッド
2バイト1文字の文字は2文字としてカウントします。
 JSourceCodeWizardChannel getChannel()
          channel(class define) のgetter
型:JSourceCodeWizardChannel
デフォルト値:[new JSourceCodeWizardChannel()]
static JSourceCodeWizardChannel getChannelDefault()
           
static java.lang.String getChannelName()
           
static java.lang.String getChannelTitle()
           
 java.lang.String getChannelType()
           
static java.util.Comparator getComparator()
          JSourceCodeWizard(abstract class of wizard) オブジェクトのソート比較
 java.lang.String getCurrentDirectory()
          currentDirectory(processing directory) のgetter
型:String
デフォルト値:["."]
static java.lang.String getCurrentDirectoryDefault()
           
static java.lang.String getCurrentDirectoryName()
           
static java.lang.String getCurrentDirectoryTitle()
           
 java.lang.String getCurrentDirectoryType()
           
 java.lang.String getDisplayString()
          JSourceCodeWizard(abstract class of wizard) の表示用文字列の取得
 java.util.ArrayList getField()
          field(field define) のgetter
型:java.util.ArrayList
子供の型:JSourceCodeWizardField
デフォルト値:[new java.util.ArrayList()]
static java.util.ArrayList getFieldDefault()
           
static java.lang.String getFieldName()
           
static java.lang.String getFieldTitle()
           
 java.lang.String getFieldType()
           
static java.lang.String getTextNodeValue(org.w3c.dom.Node nodeLook)
          与えられたNodeに含まれる文字列を取り出します
static java.lang.String getWizardShortName()
          Get short name for Wizard
static java.lang.String padRight(java.lang.String strInput, int iLength, char cFill)
          与えられた文字列を指定長さまで右側に指定文字を埋めるメソッド
2バイト1文字の文字は2文字としてカウントします。
 void parse(JSourceCodeWizardAbstract arg)
          JSourceCodeWizard(abstract class of wizard) の読み込み
 void parse(org.w3c.dom.Node nodeLook)
          与えられたNodeをパースしてフィールドに代入します
 void parse(java.sql.ResultSet resultSet)
          JSourceCodeWizard(abstract class of wizard) のResultSet解析
 void parseCsv(java.lang.String strLine)
          与えられたCsv文字列をパースしてフィールドに代入します
 void parseTsv(java.lang.String strLine)
          与えられたTsv文字列をパースしてフィールドに代入します
 void parseXml(java.io.File fileXmlFile)
          与えられたXMLファイルをパースしてフィールドに代入します
 void serialize(org.w3c.dom.Document document, org.w3c.dom.Element elementParent)
          与えられたElementにフィールドを書き出します
 void serialize(JSourceCodeWizardAbstract arg)
          JSourceCodeWizard(abstract class of wizard) の書き出し
 void serializeCsv(java.io.File fileFile)
          与えられたCsvファイルに書き出しします
 void serializeCsv(java.io.Writer writer)
          与えられたCsvファイルに書き出しします
 void serializeTsv(java.io.File fileFile)
          与えられたTsvファイルに書き出しします
 void serializeTsv(java.io.Writer writer)
          与えられたTsvファイルに書き出しします
 void serializeXml(java.io.File fileXmlFile)
          与えられたXMLファイルに書き出しします
 void setChannel(JSourceCodeWizardChannel arg)
          setter for channel(class define)
型:JSourceCodeWizardChannel
デフォルト値:[new JSourceCodeWizardChannel()]
 void setCurrentDirectory(java.lang.String arg)
          setter for currentDirectory(processing directory)
型:String
デフォルト値:["."]
 void setField(java.util.ArrayList arg)
          setter for field(field define)
型:java.util.ArrayList
子供の型:JSourceCodeWizardField
デフォルト値:[new java.util.ArrayList()]
static void sqlCreateTable(java.sql.Connection conn)
          JSourceCodeWizard(abstract class of wizard) のDB表作成
 int sqlDelete(java.sql.Connection conn)
          JSourceCodeWizard(abstract class of wizard) のDB表行削除
static void sqlDropTable(java.sql.Connection conn)
          JSourceCodeWizard(abstract class of wizard) のDB表削除
 int sqlInsertInto(java.sql.Connection conn)
          JSourceCodeWizard(abstract class of wizard) のDB表挿入
static java.sql.PreparedStatement sqlSelect(java.sql.Connection conn)
          JSourceCodeWizard(abstract class of wizard) のDB表全検索
static java.util.ArrayList sqlSelectList(java.sql.Connection conn)
          JSourceCodeWizard(abstract class of wizard) のDB表全検索 List戻り値版
static java.sql.PreparedStatement sqlSelectWhereOrderBy(java.sql.Connection conn, java.lang.String strWhere, java.lang.Object[] params, java.lang.String strOrderBy)
          JSourceCodeWizard(abstract class of wizard) のDB表検索 WHERE版
 int sqlUpdate(java.sql.Connection conn)
          JSourceCodeWizard(abstract class of wizard) のDB表行更新
static java.lang.String subString(java.lang.String strInput, int iStart, int iLength)
          与えられた文字列の一部分を取得するメソッド 2バイト1文字の文字は2文字としてカウントします。
static int toInteger(java.lang.String strInput)
          与えられた文字列を可能な限り数字化します。
 void trimRight()
          JSourceCodeWizard(abstract class of wizard) の文字列フィールド右詰め
static java.lang.String trimRight(java.lang.String strInput)
          与えられた文字列の右側を切りつめるメソッド 半角空白と全角空白を切りつめます 【注意】このメソッドについては JSourceCodeWizardクラスが作成するひな形ソースコード の一部として利用されます。
protected  java.lang.String wizCsvNextToken(java.io.Reader reader)
           
protected  java.lang.String wizTsvNextToken(java.io.Reader reader)
           
 
クラス java.lang.Object から継承したメソッド
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

f_channel

protected JSourceCodeWizardChannel f_channel
channel(class define)
型:JSourceCodeWizardChannel
デフォルト値:[new JSourceCodeWizardChannel()]

f_field

protected java.util.ArrayList f_field
field(field define)
型:java.util.ArrayList
子供の型:JSourceCodeWizardField
デフォルト値:[new java.util.ArrayList()]

f_currentDirectory

protected java.lang.String f_currentDirectory
currentDirectory(processing directory)
型:String
デフォルト値:["."]
コンストラクタの詳細

JSourceCodeWizardAbstract

public JSourceCodeWizardAbstract()
メソッドの詳細

getWizardShortName

public static java.lang.String getWizardShortName()
Get short name for Wizard
戻り値:
String Short name

setChannel

public void setChannel(JSourceCodeWizardChannel arg)
setter for channel(class define)
型:JSourceCodeWizardChannel
デフォルト値:[new JSourceCodeWizardChannel()]
パラメータ:
JSourceCodeWizardChannel - arg channel(class define)

getChannel

public JSourceCodeWizardChannel getChannel()
channel(class define) のgetter
型:JSourceCodeWizardChannel
デフォルト値:[new JSourceCodeWizardChannel()]
戻り値:
JSourceCodeWizardChannel f_channel(class define)

getChannelName

public static java.lang.String getChannelName()

getChannelTitle

public static java.lang.String getChannelTitle()

getChannelType

public java.lang.String getChannelType()

getChannelDefault

public static JSourceCodeWizardChannel getChannelDefault()

setField

public void setField(java.util.ArrayList arg)
setter for field(field define)
型:java.util.ArrayList
子供の型:JSourceCodeWizardField
デフォルト値:[new java.util.ArrayList()]
パラメータ:
java.util.ArrayList - arg field(field define)

getField

public java.util.ArrayList getField()
field(field define) のgetter
型:java.util.ArrayList
子供の型:JSourceCodeWizardField
デフォルト値:[new java.util.ArrayList()]
戻り値:
java.util.ArrayList f_field(field define)

getFieldName

public static java.lang.String getFieldName()

getFieldTitle

public static java.lang.String getFieldTitle()

getFieldType

public java.lang.String getFieldType()

getFieldDefault

public static java.util.ArrayList getFieldDefault()

setCurrentDirectory

public void setCurrentDirectory(java.lang.String arg)
setter for currentDirectory(processing directory)
型:String
デフォルト値:["."]
パラメータ:
String - arg currentDirectory(processing directory)

getCurrentDirectory

public java.lang.String getCurrentDirectory()
currentDirectory(processing directory) のgetter
型:String
デフォルト値:["."]
戻り値:
String f_currentDirectory(processing directory)

getCurrentDirectoryName

public static java.lang.String getCurrentDirectoryName()

getCurrentDirectoryTitle

public static java.lang.String getCurrentDirectoryTitle()

getCurrentDirectoryType

public java.lang.String getCurrentDirectoryType()

getCurrentDirectoryDefault

public static java.lang.String getCurrentDirectoryDefault()

getDisplayString

public java.lang.String getDisplayString()
JSourceCodeWizard(abstract class of wizard) の表示用文字列の取得
戻り値:
表示用文字列

equals

public boolean equals(java.lang.Object obj)
JSourceCodeWizard(abstract class of wizard) オブジェクトの比較
オーバーライド:
クラス java.lang.Object 内の equals
パラメータ:
Object - obj 比較先オブジェクト
戻り値:
一致するかどうか

compareTo

public int compareTo(JSourceCodeWizardAbstract arg)
JSourceCodeWizard(abstract class of wizard) オブジェクト比較
戻り値:
int 比較結果

compareTo

public int compareTo(java.lang.Object arg)
JSourceCodeWizard(abstract class of wizard) オブジェクト比較
定義:
インタフェース java.lang.Comparable 内の compareTo
戻り値:
int 比較結果

getComparator

public static java.util.Comparator getComparator()
JSourceCodeWizard(abstract class of wizard) オブジェクトのソート比較
戻り値:
java.util.Comparator 比較ツール

trimRight

public void trimRight()
JSourceCodeWizard(abstract class of wizard) の文字列フィールド右詰め

parse

public void parse(JSourceCodeWizardAbstract arg)
JSourceCodeWizard(abstract class of wizard) の読み込み

serialize

public void serialize(JSourceCodeWizardAbstract arg)
JSourceCodeWizard(abstract class of wizard) の書き出し

parse

public void parse(java.sql.ResultSet resultSet)
           throws java.sql.SQLException
JSourceCodeWizard(abstract class of wizard) のResultSet解析
パラメータ:
ResultSet - 全項目の検索結果
例外:
SQLException -  

sqlCreateTable

public static void sqlCreateTable(java.sql.Connection conn)
                           throws java.sql.SQLException
JSourceCodeWizard(abstract class of wizard) のDB表作成
パラメータ:
Connection - 接続コネクション
例外:
SQLException -  

sqlDropTable

public static void sqlDropTable(java.sql.Connection conn)
                         throws java.sql.SQLException
JSourceCodeWizard(abstract class of wizard) のDB表削除
パラメータ:
Connection - 接続コネクション
例外:
SQLException -  

sqlInsertInto

public int sqlInsertInto(java.sql.Connection conn)
                  throws java.sql.SQLException
JSourceCodeWizard(abstract class of wizard) のDB表挿入
パラメータ:
Connection - 接続コネクション
戻り値:
テーブル挿入に成功した件数
例外:
SQLException -  

sqlSelect

public static java.sql.PreparedStatement sqlSelect(java.sql.Connection conn)
                                            throws java.sql.SQLException
JSourceCodeWizard(abstract class of wizard) のDB表全検索
パラメータ:
Connection - 接続コネクション
戻り値:
検索結果
例外:
SQLException -  

sqlSelectList

public static java.util.ArrayList sqlSelectList(java.sql.Connection conn)
                                         throws java.sql.SQLException
JSourceCodeWizard(abstract class of wizard) のDB表全検索 List戻り値版
パラメータ:
Connection - 接続コネクション
戻り値:
ArrayList 検索結果
例外:
SQLException -  

sqlSelectWhereOrderBy

public static java.sql.PreparedStatement sqlSelectWhereOrderBy(java.sql.Connection conn,
                                                               java.lang.String strWhere,
                                                               java.lang.Object[] params,
                                                               java.lang.String strOrderBy)
                                                        throws java.sql.SQLException
JSourceCodeWizard(abstract class of wizard) のDB表検索 WHERE版
パラメータ:
Connection - 接続コネクション
String - 条件. nullならパラメータ無し
Object[] - パラメータ. nullならパラメータ無し
String - ソート順. nullならソート無し
戻り値:
検索結果
例外:
SQLException -  

sqlDelete

public int sqlDelete(java.sql.Connection conn)
              throws java.sql.SQLException
JSourceCodeWizard(abstract class of wizard) のDB表行削除
パラメータ:
Connection - 接続コネクション
戻り値:
int 削除実行結果件数
例外:
SQLException -  

sqlUpdate

public int sqlUpdate(java.sql.Connection conn)
              throws java.sql.SQLException
JSourceCodeWizard(abstract class of wizard) のDB表行更新
パラメータ:
Connection - 接続コネクション
戻り値:
int 更新実行結果件数
例外:
SQLException -  

toInteger

public static final int toInteger(java.lang.String strInput)
与えられた文字列を可能な限り数字化します。
このメソッドは半角数字のみ有効です。 ただし単体テストしてみたところ、Integer.parseInt()は全角文字も 扱えてしまえる (つまり このめそっどでも利用可能な) 模様です。(at JDK1.3.1)
パラメータ:
String - strInput 入力文字列
戻り値:
int 抽出された数字

fitRight

public static final java.lang.String fitRight(java.lang.String strInput,
                                              int iLength,
                                              char cFill)
与えられた文字列を指定長さにぴったりに収まるよう加工するメソッド
2バイト1文字の文字は2文字としてカウントします。
【注意】このメソッドについては JSourceCodeWizardクラスが作成するひな形ソースコード の一部として利用されます。ご理解とご協力のほど どうぞよろしくお願いいたします。

なお、現在の実装では EUCにおいて半角カタカナが2バイトになる件について対応していません
パラメータ:
String - strInput 入力文字列
int - iLength 生成したい長さ
char - cFill 埋める文字
戻り値:
String 部分文字列

padRight

public static final java.lang.String padRight(java.lang.String strInput,
                                              int iLength,
                                              char cFill)
与えられた文字列を指定長さまで右側に指定文字を埋めるメソッド
2バイト1文字の文字は2文字としてカウントします。
【注意】このメソッドについては JSourceCodeWizardクラスが作成するひな形ソースコード の一部として利用されます。ご理解とご協力のほど どうぞよろしくお願いいたします。
パラメータ:
String - strInput 入力文字列
int - iLength 生成したい長さ
char - cFill 埋める文字。
戻り値:
String 部分文字列

trimRight

public static final java.lang.String trimRight(java.lang.String strInput)
与えられた文字列の右側を切りつめるメソッド 半角空白と全角空白を切りつめます 【注意】このメソッドについては JSourceCodeWizardクラスが作成するひな形ソースコード の一部として利用されます。ご理解とご協力のほど どうぞよろしくお願いいたします。
パラメータ:
String - strInput 入力文字列
戻り値:
String 切りつめ後文字列

subString

public static final java.lang.String subString(java.lang.String strInput,
                                               int iStart,
                                               int iLength)
与えられた文字列の一部分を取得するメソッド 2バイト1文字の文字は2文字としてカウントします。 Unicode的な動作は行いません。 文字が途中で分断される場合は その文字は省き 半角空白を埋めます。
【注意】このメソッドについては JSourceCodeWizardクラスが作成するひな形ソースコード の一部として利用されます。ご理解とご協力のほど どうぞよろしくお願いいたします。
パラメータ:
String - strInput 入力文字列
int - iStart 開始位置 (0オリジン)
int - iLength 取得長さ
戻り値:
String 部分文字列

parse

public void parse(org.w3c.dom.Node nodeLook)
与えられたNodeをパースしてフィールドに代入します
パラメータ:
Node - nodeLook 入力ノード

parseXml

public void parseXml(java.io.File fileXmlFile)
              throws java.io.IOException
与えられたXMLファイルをパースしてフィールドに代入します
パラメータ:
File - fileXmlFile 入力XMLファイル

serialize

public void serialize(org.w3c.dom.Document document,
                      org.w3c.dom.Element elementParent)
与えられたElementにフィールドを書き出します
パラメータ:
Document - document ドキュメント
Element - elementParent 親ノード

serializeXml

public void serializeXml(java.io.File fileXmlFile)
                  throws java.io.IOException
与えられたXMLファイルに書き出しします
パラメータ:
File - fileXmlFile 出力XMLファイル

getTextNodeValue

public static final java.lang.String getTextNodeValue(org.w3c.dom.Node nodeLook)
与えられたNodeに含まれる文字列を取り出します
パラメータ:
Node - nodeLook 入力ノード

parseCsv

public void parseCsv(java.lang.String strLine)
与えられたCsv文字列をパースしてフィールドに代入します
パラメータ:
String - strLine 入力行

wizCsvNextToken

protected java.lang.String wizCsvNextToken(java.io.Reader reader)

serializeCsv

public void serializeCsv(java.io.Writer writer)
                  throws java.io.IOException
与えられたCsvファイルに書き出しします
パラメータ:
File - fileFile 出力Csvファイル

serializeCsv

public void serializeCsv(java.io.File fileFile)
                  throws java.io.IOException
与えられたCsvファイルに書き出しします
パラメータ:
File - fileFile 出力Csvファイル

parseTsv

public void parseTsv(java.lang.String strLine)
与えられたTsv文字列をパースしてフィールドに代入します
パラメータ:
String - strLine 入力行

wizTsvNextToken

protected java.lang.String wizTsvNextToken(java.io.Reader reader)

serializeTsv

public void serializeTsv(java.io.Writer writer)
                  throws java.io.IOException
与えられたTsvファイルに書き出しします
パラメータ:
File - fileFile 出力Tsvファイル

serializeTsv

public void serializeTsv(java.io.File fileFile)
                  throws java.io.IOException
与えられたTsvファイルに書き出しします
パラメータ:
File - fileFile 出力Tsvファイル