com.spun.util.persistence.DatabaseObjectDeletor Maven / Gradle / Ivy
package com.spun.util.persistence;
import com.spun.util.database.DatabaseObject;
import java.sql.Statement;
public class DatabaseObjectDeletor implements Deletor
{
private Statement stmt;
public DatabaseObjectDeletor(Statement stmt)
{
this.stmt = stmt;
}
public void delete(T delete)
{
delete.deleteFromDatabase(stmt);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy