return d;
}
private void update() {
if (entity instanceof NodeBacked) {
NodeBacked nodeBacked = (NodeBacked) entity;
final EntityState<NodeBacked, Node> entityState = nodeBacked.getEntityState();
updateValue(entityState);
}
if (entity instanceof RelationshipBacked) {
RelationshipBacked relationshipBacked = (RelationshipBacked) entity;
updateValue(relationshipBacked.getEntityState());