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