ai.stapi.graphoperations.graphLoader.GraphLoaderFindAsObjectOutput Maven / Gradle / Ivy
package ai.stapi.graphoperations.graphLoader;
import ai.stapi.graph.inMemoryGraph.InMemoryGraphRepository;
import ai.stapi.identity.UniqueIdentifier;
import java.util.ArrayList;
import java.util.List;
public class GraphLoaderFindAsObjectOutput {
private final List data;
private final GraphLoaderFindAsGraphOutput graphLoaderFindAsGraphOutput;
public GraphLoaderFindAsObjectOutput() {
this(new ArrayList<>(), new ArrayList<>(), new InMemoryGraphRepository());
}
public GraphLoaderFindAsObjectOutput(
List data,
List foundGraphElementUUIDs,
InMemoryGraphRepository graph
) {
this.data = data;
this.graphLoaderFindAsGraphOutput = new GraphLoaderFindAsGraphOutput(foundGraphElementUUIDs, graph);
}
public List getData() {
return data;
}
public GraphLoaderFindAsGraphOutput getGraphLoaderFindAsGraphOutput() {
return graphLoaderFindAsGraphOutput;
}
}