public synchronized Edge getEdge() {
Edge e = new Edge(this.source.getVertex(), this.target.getVertex(), this.id);
for(StorableAttribute bufAttribute : this.attributes) {
Attribute attr = bufAttribute.getAttribute();
if(attr != null) {
e.addAttribute(attr.getName(), attr.getValue());
}
}
return(e);
}
public synchronized List<Attribute> getAttributes() {