X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=datarouter-prov%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fdmaap%2Fdatarouter%2Fprovisioning%2Fbeans%2FSyncable.java;h=6b9eb42a97cdcbe11c56b02919ff2592c757d9fd;hb=refs%2Fchanges%2F23%2F60023%2F3;hp=8e6b9c9cb73705c0a43b07ddfed68184d2c03e28;hpb=13639e1b05d8c8b5b1e9efd543573834501aefaa;p=dmaap%2Fdatarouter.git diff --git a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Syncable.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Syncable.java index 8e6b9c9c..6b9eb42a 100644 --- a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Syncable.java +++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Syncable.java @@ -7,9 +7,9 @@ * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at - * * + * * * * http://www.apache.org/licenses/LICENSE-2.0 - * * + * * * * Unless required by applicable law or agreed to in writing, software * * distributed under the License is distributed on an "AS IS" BASIS, * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -37,21 +37,22 @@ import org.json.JSONObject; * @version $Id: Syncable.java,v 1.1 2013/07/05 13:48:05 eby Exp $ */ public abstract class Syncable implements Deleteable, Insertable, Updateable, JSONable { - @Override - abstract public JSONObject asJSONObject(); + @Override + abstract public JSONObject asJSONObject(); - @Override - abstract public boolean doUpdate(Connection c); + @Override + abstract public boolean doUpdate(Connection c); - @Override - abstract public boolean doInsert(Connection c); + @Override + abstract public boolean doInsert(Connection c); - @Override - abstract public boolean doDelete(Connection c); + @Override + abstract public boolean doDelete(Connection c); - /** - * Get the "natural key" for this object type, as a String. - * @return the key - */ - abstract public String getKey(); + /** + * Get the "natural key" for this object type, as a String. + * + * @return the key + */ + abstract public String getKey(); }