jp.go.nict.langrid.wrapper.common.db.dao.table
クラス MappingTable

java.lang.Object
  上位を拡張 jp.go.nict.langrid.wrapper.common.db.dao.table.AbstractTable
      上位を拡張 jp.go.nict.langrid.wrapper.common.db.dao.table.MappingTable

public class MappingTable
extends AbstractTable


コンストラクタの概要
MappingTable(String tableName, String firstIdColumnName, String secondIdColumnName)
           
 
メソッドの概要
 void deleteForFirst(Connection connection, long id)
           
 void deleteForSecond(Connection connection, long id)
           
 String getFirstIdColumnName()
           
 String getSecondIdColumnName()
           
 void insert(Connection connection, long firstId, long secondId)
           
 
クラス jp.go.nict.langrid.wrapper.common.db.dao.table.AbstractTable から継承されたメソッド
clear, getTableName
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MappingTable

public MappingTable(String tableName,
                    String firstIdColumnName,
                    String secondIdColumnName)
メソッドの詳細

getFirstIdColumnName

public String getFirstIdColumnName()

getSecondIdColumnName

public String getSecondIdColumnName()

insert

public void insert(Connection connection,
                   long firstId,
                   long secondId)
            throws SQLException
例外:
SQLException

deleteForFirst

public void deleteForFirst(Connection connection,
                           long id)
                    throws SQLException
例外:
SQLException

deleteForSecond

public void deleteForSecond(Connection connection,
                            long id)
                     throws SQLException
例外:
SQLException