X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=datarouter-prov%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fdmaap%2Fdatarouter%2Fprovisioning%2Fbeans%2FInsertable.java;h=135c079d8b6318a8ee11d68c80b53b33f7671c32;hb=1ccd9c36ba12849148f9eb73e8ff2ffe4ade5870;hp=6a677ce347b545d6d535f92d5dcca8d7c6964023;hpb=4261823d84c2b911b68cdf4cb4dc3be429ebe285;p=dmaap%2Fdatarouter.git diff --git a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Insertable.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Insertable.java index 6a677ce3..135c079d 100644 --- a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Insertable.java +++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Insertable.java @@ -32,12 +32,14 @@ import java.sql.Connection; * @author Robert Eby * @version $Id: Insertable.java,v 1.2 2013/05/29 14:44:36 eby Exp $ */ + +@FunctionalInterface public interface Insertable { /** * Insert this object into the DB. * - * @param c the JDBC Connection to use + * @param conn the JDBC Connection to use * @return true if the INSERT succeeded, false otherwise */ - public boolean doInsert(Connection c); + boolean doInsert(Connection conn); }