X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dmaap%2Fdatarouter.git;a=blobdiff_plain;f=datarouter-prov%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fdmaap%2Fdatarouter%2Fprovisioning%2Fbeans%2FInsertable.java;h=ed0815e8e3c522abae709912ce4c86ff1ec3bab4;hp=6a677ce347b545d6d535f92d5dcca8d7c6964023;hb=f20778ffa99aa9c6f30a0f84112a5392b259ea63;hpb=d6302cb0b3db8043598e8b6bc3dc5ed436f848cb 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..ed0815e8 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,6 +32,7 @@ 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. @@ -39,5 +40,5 @@ public interface Insertable { * @param c the JDBC Connection to use * @return true if the INSERT succeeded, false otherwise */ - public boolean doInsert(Connection c); + boolean doInsert(Connection c); }