EdgeImpl extends ElementImpl implements Edge { @Override public Table getTable() { if (graphStore != null) { return graphStore.edgeTable; } return null; } EdgeImpl(Object id, GraphStore graphStore, NodeImpl source, NodeImpl target, int type, double weight, boolean directed);  EdgeImpl(Object id, NodeImpl source, NodeImpl target, int type, double weight, boolean directed); @Override NodeImpl getSource(); @Override NodeImpl getTarget(); @Override double getWeight(); @Override boolean hasDynamicWeight(); @Override void setWeight(double weight, double timestamp); @Override void setWeight(double weight, Interval interval); @Override double getWeight(double timestamp); @Override double getWeight(Interval interval); @Override double getWeight(GraphView view); @Override Iterable<Map.Entry> getWeights(); @Override int getType(); @Override Object getTypeLabel(); @Override void setWeight(double weight); int getNextOutEdge(); int getNextInEdge(); int getPreviousOutEdge(); int getPreviousInEdge(); @Override int getStoreId(); void setStoreId(int id); long getLongId(); @Override boolean isDirected(); @Override boolean isSelfLoop(); @Override Table getTable(); @Override float r(); @Override float g(); @Override float b(); @Override float alpha(); @Override TextPropertiesImpl getTextProperties(); @Override int getRGBA(); @Override Color getColor(); @Override void setR(float r); @Override void setG(float g); @Override void setB(float b); @Override void setAlpha(float a); @Override void setColor(Color color);  }
@Test public void testGetTable() { GraphStore graphStore = GraphGenerator.generateTinyGraphStore(); for (Edge e : graphStore.getEdges()) { Assert.assertSame(e.getTable(), graphStore.getModel().getEdgeTable()); } }