* * Licensed under the Apache License, Version 2.0 (the "License");\r
* * you may not use this file except in compliance with the License.\r
* * You may obtain a copy of the License at\r
- * * \r
+ * *\r
* * http://www.apache.org/licenses/LICENSE-2.0\r
- * * \r
+ * *\r
* * Unless required by applicable law or agreed to in writing, software\r
* * distributed under the License is distributed on an "AS IS" BASIS,\r
* * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
* @version $Id: Syncable.java,v 1.1 2013/07/05 13:48:05 eby Exp $\r
*/\r
public abstract class Syncable implements Deleteable, Insertable, Updateable, JSONable {\r
- @Override\r
- abstract public JSONObject asJSONObject();\r
+ @Override\r
+ abstract public JSONObject asJSONObject();\r
\r
- @Override\r
- abstract public boolean doUpdate(Connection c);\r
+ @Override\r
+ abstract public boolean doUpdate(Connection c);\r
\r
- @Override\r
- abstract public boolean doInsert(Connection c);\r
+ @Override\r
+ abstract public boolean doInsert(Connection c);\r
\r
- @Override\r
- abstract public boolean doDelete(Connection c);\r
+ @Override\r
+ abstract public boolean doDelete(Connection c);\r
\r
- /**\r
- * Get the "natural key" for this object type, as a String.\r
- * @return the key\r
- */\r
- abstract public String getKey();\r
+ /**\r
+ * Get the "natural key" for this object type, as a String.\r
+ *\r
+ * @return the key\r
+ */\r
+ abstract public String getKey();\r
}\r