gggd.xml
クラス XsdElement

java.lang.Object
  拡張gggd.xml.XsdDefs
      拡張gggd.xml.XsdElement
すべての実装インタフェース:
java.lang.Cloneable

class XsdElement
extends XsdDefs

XsdElementクラス


フィールドの概要
(パッケージプライベート)  XsdDataType dataType
           
(パッケージプライベート)  org.w3c.dom.Node defs
           
(パッケージプライベート)  XsdExpandedStructure expandedStructure
           
(パッケージプライベート)  boolean isIndexed
           
(パッケージプライベート)  java.lang.String maxOccurs
           
(パッケージプライベート)  java.lang.String minOccurs
           
(パッケージプライベート)  java.lang.String name
           
(パッケージプライベート)  XsdElement self
           
(パッケージプライベート)  java.util.ArrayList sqlSubElements
           
(パッケージプライベート)  XsdSqlTable sqlTable
           
 
コンストラクタの概要
(パッケージプライベート) XsdElement(org.w3c.dom.Node defs)
          コンストラクタを定義します。
 
メソッドの概要
(パッケージプライベート)  XsdDataType baseDataType()
          XsdDataTypeクラスのインスタンスを検索します。
 java.lang.Object clone()
           
(パッケージプライベート)  java.util.ArrayList collectSqlTables(java.util.ArrayList result)
          XsdSqlTableクラスのインスタンスをリストに格納します。
(パッケージプライベート)  void convertToSqlColumn(XsdExpandedStructure parentStruct, XsdSqlTable table, java.lang.String tableXPath, java.lang.String columnXPath, java.util.ArrayList typeopts)
          SQLカラム定義に変換します。
(パッケージプライベート)  XsdSqlTable convertToSqlTable(XsdExpandedStructure parentStruct, java.lang.String tableXPath)
          SQLテーブル定義に変換します。
(パッケージプライベート)  void scan(XsdSchema topschema)
          XsdSchemaクラスのインスタンスをスキャンします。
(パッケージプライベート)  void setDefs(org.w3c.dom.Node defs)
          初期設定を行います。
(パッケージプライベート)  void setup(XsdElement xe)
          初期設定を行います。
 
クラス java.lang.Object から継承したメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

self

XsdElement self

dataType

XsdDataType dataType

minOccurs

java.lang.String minOccurs

maxOccurs

java.lang.String maxOccurs

isIndexed

boolean isIndexed

sqlTable

XsdSqlTable sqlTable

sqlSubElements

java.util.ArrayList sqlSubElements

expandedStructure

XsdExpandedStructure expandedStructure

defs

org.w3c.dom.Node defs

name

java.lang.String name
コンストラクタの詳細

XsdElement

XsdElement(org.w3c.dom.Node defs)
コンストラクタを定義します。

パラメータ:
defs - DOMノード
メソッドの詳細

setup

void setup(XsdElement xe)
初期設定を行います。

パラメータ:
xe - XsdElementクラスのインスタンス

baseDataType

XsdDataType baseDataType()
XsdDataTypeクラスのインスタンスを検索します。

戻り値:
XsdDataTypeクラスのインスタンス

scan

void scan(XsdSchema topschema)
    throws java.lang.Exception
XsdSchemaクラスのインスタンスをスキャンします。

パラメータ:
topschema - XsdSchemaクラスのインスタンス
例外:
java.lang.Exception - エラーが発生した場合にスローされる。

convertToSqlTable

XsdSqlTable convertToSqlTable(XsdExpandedStructure parentStruct,
                              java.lang.String tableXPath)
SQLテーブル定義に変換します。

パラメータ:
parentStruct - XsdExpandedStructureクラスのインスタンス
tableXPath - tableXPathの値
戻り値:
XsdSqlTableクラスのインスタンス

convertToSqlColumn

void convertToSqlColumn(XsdExpandedStructure parentStruct,
                        XsdSqlTable table,
                        java.lang.String tableXPath,
                        java.lang.String columnXPath,
                        java.util.ArrayList typeopts)
SQLカラム定義に変換します。

パラメータ:
parentStruct - XsdExpandedStructureクラスのインスタンス
table - XsdSqlTableクラスのインスタンス
tableXPath - tableXPathの値
columnXPath - columnXPathの値
typeopts - 制約リスト

collectSqlTables

java.util.ArrayList collectSqlTables(java.util.ArrayList result)
XsdSqlTableクラスのインスタンスをリストに格納します。

パラメータ:
result - 結果格納用リスト
戻り値:
実行結果

setDefs

void setDefs(org.w3c.dom.Node defs)
初期設定を行います。

パラメータ:
defs - DOMノード

clone

public java.lang.Object clone()