edu.iastate.jtm
Class DuplicationChecker

java.lang.Object
  extended by edu.iastate.jtm.DuplicationChecker

public class DuplicationChecker
extends java.lang.Object

Author:
Jing Ding fcmodeler.pathbinder MetNet

Field Summary
(package private)  MySqlConnector db
           
 
Constructor Summary
DuplicationChecker(MySqlConnector db, java.lang.String table)
           
 
Method Summary
 int cache(int minPmid, int maxPmid)
           
 boolean check(int pmid, boolean set)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

db

MySqlConnector db
Constructor Detail

DuplicationChecker

public DuplicationChecker(MySqlConnector db,
                          java.lang.String table)
Method Detail

check

public boolean check(int pmid,
                     boolean set)

cache

public int cache(int minPmid,
                 int maxPmid)
          throws java.sql.SQLException
Throws:
java.sql.SQLException