boolean delete = false;
Tuple sourceTuple = null;
Object uo = null;
if (o instanceof TableEdgeItem) {
TableEdgeItem tei = (TableEdgeItem) o;
uo = tei.getTargetNode().get(Constants.USER_OBJECT);
}
if (o instanceof TableNodeItem) {
TableNodeItem tni = (TableNodeItem) o;
uo = tni.get(Constants.USER_OBJECT);