org.opennms.netmgt.dao.db
Class InstallerDb.AutoIntegerIdMapStore

java.lang.Object
  extended by org.opennms.netmgt.dao.db.InstallerDb.AutoIntegerIdMapStore
All Implemented Interfaces:
ColumnChangeReplacement
Enclosing class:
InstallerDb

public class InstallerDb.AutoIntegerIdMapStore
extends Object
implements ColumnChangeReplacement


Nested Class Summary
 class InstallerDb.AutoIntegerIdMapStore.MultiColumnKey
           
 
Constructor Summary
InstallerDb.AutoIntegerIdMapStore(int initialValue, String[] indexColumns)
           
 
Method Summary
 boolean addColumnIfColumnIsNew()
           
 void close()
           
 Integer getColumnReplacement(ResultSet rs, Map<String,ColumnChange> columnChanges)
           
 Integer getIntegerForColumns(ResultSet rs, Map<String,ColumnChange> columnChanges, String[] columns, boolean noMatchOkay)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstallerDb.AutoIntegerIdMapStore

public InstallerDb.AutoIntegerIdMapStore(int initialValue,
                                         String[] indexColumns)
Method Detail

getColumnReplacement

public Integer getColumnReplacement(ResultSet rs,
                                    Map<String,ColumnChange> columnChanges)
                             throws SQLException
Specified by:
getColumnReplacement in interface ColumnChangeReplacement
Throws:
SQLException

addColumnIfColumnIsNew

public boolean addColumnIfColumnIsNew()
Specified by:
addColumnIfColumnIsNew in interface ColumnChangeReplacement

getIntegerForColumns

public Integer getIntegerForColumns(ResultSet rs,
                                    Map<String,ColumnChange> columnChanges,
                                    String[] columns,
                                    boolean noMatchOkay)
                             throws SQLException
Throws:
SQLException

close

public void close()
Specified by:
close in interface ColumnChangeReplacement


Copyright © 2009. All Rights Reserved.