public GraphAttribute createAttribute(String name, GraphCollection value, Graph graph ){ GraphAttribute ga=new GraphAttributeImp(name,((GraphCollectionImp)value).getValue(),((GraphImp)graph).getGraph(),ids); return ga; }
Object nvalue=((GraphAttributeImp)ga).getValue(); if (nvalue instanceof GraphCollection){ nvalue=((GraphCollectionImp)nvalue).getValue(); Class nvalueclass=((TypedVector)nvalue).getType(); Class entclass=this.ent.getClass();