/** This method builds the datastore from the information in the properties object. */ public void setProperties(Properties p) { super.setProperties(p); String desc = "base."; _updateMethod = setIntProperty(p.getProperty(desc + "updateMethod")); _checkConcurrency = setBoolProperty(p.getProperty(desc + "checkConcurrency")); _useBind = setBoolProperty(p.getProperty(desc + "useBind")); _maxRows = setIntProperty(p.getProperty(desc + "maxRows")); _remoteID = getStringProperty(p.getProperty(desc + "remoteID")); _dbms = getStringProperty(p.getProperty(desc + "DBMS")); }
/** This method will clear all rows in the dataStore. */ public synchronized void reset() { if (_retrieveInProgress) cancelRetrieve(); super.reset(); }