result.putAll(nodeMetadata.getProperties());
return new NavigationEntry( result);
}
else if (metadata instanceof EdgeMetadata)
{
EdgeMetadata edgeMetadata = (EdgeMetadata) metadata;
Properties result = new Properties();
String id = edgeMetadata.getId();
if (id == null) id = "";
result.put(NavigationEdge.ID, id);
result.putAll(edgeMetadata.getProperties());
return new NavigationEdge( result);
}
else if (metadata instanceof HyperEdgeMetadata)
{
//TODO fill