rubbish.db.relation
クラス TableMetaData

java.lang.Object
  拡張rubbish.db.relation.TableMetaData

public class TableMetaData
extends java.lang.Object


フィールドの概要
protected  java.util.Map children
           
protected  java.lang.String name
           
protected  java.util.Map parents
           
 
コンストラクタの概要
TableMetaData(java.lang.String name, java.sql.Connection conn, java.lang.String catalog, java.lang.String schema)
           
 
メソッドの概要
protected  void buildChildCondtions(java.lang.String childname, java.util.Map condtions, boolean reverse)
           
protected  void buildParentCondtions(java.lang.String parentname, java.util.Map condtions, boolean reverse)
           
 int compare(TableMetaData other)
           
 java.lang.String[] getChildren()
           
 java.util.Map getCondtions(java.lang.String othername, boolean reverse)
           
 java.util.Map getCondtions(TableMetaData other, boolean reverse)
           
 java.lang.String[] getParents()
           
 boolean isChild(java.lang.String parentname)
           
 boolean isChild(TableMetaData parent)
           
 boolean isParent(java.lang.String childname)
           
 boolean isParent(TableMetaData child)
           
protected  void loadChildren(java.sql.DatabaseMetaData dmd, java.lang.String catalog, java.lang.String schema)
           
protected  void loadParents(java.sql.DatabaseMetaData dmd, java.lang.String catalog, java.lang.String schema)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

name

protected java.lang.String name

parents

protected java.util.Map parents

children

protected java.util.Map children
コンストラクタの詳細

TableMetaData

public TableMetaData(java.lang.String name,
                     java.sql.Connection conn,
                     java.lang.String catalog,
                     java.lang.String schema)
              throws SQLRuntimeException
メソッドの詳細

loadParents

protected void loadParents(java.sql.DatabaseMetaData dmd,
                           java.lang.String catalog,
                           java.lang.String schema)
                    throws java.sql.SQLException
例外:
java.sql.SQLException

loadChildren

protected void loadChildren(java.sql.DatabaseMetaData dmd,
                            java.lang.String catalog,
                            java.lang.String schema)
                     throws java.sql.SQLException
例外:
java.sql.SQLException

getParents

public java.lang.String[] getParents()

getChildren

public java.lang.String[] getChildren()

isParent

public boolean isParent(java.lang.String childname)

isParent

public boolean isParent(TableMetaData child)

isChild

public boolean isChild(java.lang.String parentname)

isChild

public boolean isChild(TableMetaData parent)

compare

public int compare(TableMetaData other)
            throws SQLRuntimeException
例外:
SQLRuntimeException

getCondtions

public java.util.Map getCondtions(TableMetaData other,
                                  boolean reverse)

getCondtions

public java.util.Map getCondtions(java.lang.String othername,
                                  boolean reverse)

buildParentCondtions

protected void buildParentCondtions(java.lang.String parentname,
                                    java.util.Map condtions,
                                    boolean reverse)

buildChildCondtions

protected void buildChildCondtions(java.lang.String childname,
                                   java.util.Map condtions,
                                   boolean reverse)


Copyright © 2007 null. All Rights Reserved.