X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=datarouter-prov%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fdmaap%2Fdatarouter%2Fprovisioning%2Fbeans%2FLOGJSONable.java;h=24f65b167adf7907f32ac3b932f467122866784c;hb=f20778ffa99aa9c6f30a0f84112a5392b259ea63;hp=943e21492427b9ccba6ad277867d9435f0f756e5;hpb=e4b20cc6f7c31f48ddd0de5bcd054b09a35cd510;p=dmaap%2Fdatarouter.git diff --git a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/LOGJSONable.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/LOGJSONable.java index 943e2149..24f65b16 100644 --- a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/LOGJSONable.java +++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/LOGJSONable.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. @@ -24,17 +24,20 @@ package org.onap.dmaap.datarouter.provisioning.beans; -import org.json.LOGJSONObject; +import org.onap.dmaap.datarouter.provisioning.utils.LOGJSONObject; /** - * An object that can be represented as a {@link JSONObject}. + * An object that can be represented as a {@link LOGJSONObject}. + * * @author Robert Eby * @version $Id: JSONable.java,v 1.1 2013/04/26 21:00:26 eby Exp $ */ +@FunctionalInterface public interface LOGJSONable { - /** - * Get a JSONObject representing this object. - * @return the JSONObject - */ - public LOGJSONObject asJSONObject(); + /** + * Get a JSONObject representing this object. + * + * @return the JSONObject + */ + LOGJSONObject asJSONObject(); }