public synchronized List<StorableSubGraph> getSubGraphs() {
List<StorableSubGraph>ssg = new ArrayList<StorableSubGraph>(this.subGraphs);
return(ssg);
}
public synchronized Graph getGraph() {
Graph g = new Graph();
for(StorableSubGraph bufSubGraph : this.subGraphs) {
g.addSubGraph(bufSubGraph.getStorableId(), bufSubGraph.getSubGraph());
}
g.setName(this.name);
g.setRoot(this.rootSubGraphId);
return(g);
}