* ============LICENSE_END============================================
* ECOMP is a trademark and service mark of AT&T Intellectual Property.
*/
-package org.onap.aai.champ;
+package org.onap.aai.champcore;
-import org.onap.aai.champ.graph.impl.ChampAPIImpl;
+import org.onap.aai.champcore.graph.impl.ChampAPIImpl;
public interface ChampAPI {
public static final class Factory {
private Factory() { throw new RuntimeException("Cannot instantiate ChampAPI.Factory"); }
- public static ChampAPI newInstance(ChampGraph.Type type) {
+ public static ChampAPI newInstance(String type) {
return new ChampAPIImpl(type);
}
}
public ChampGraph getGraph(String graphName);
- public ChampGraph.Type getType();
+ public String getType();
/**
* Shutdown the ChampAPI. It is up to the caller to synchronize access to the ChampAPI