package org.vertexium.event;

import org.vertexium.ExtendedDataRowId;
import org.vertexium.Graph;

public class DeleteExtendedDataRowEvent extends GraphEvent {
    private final ExtendedDataRowId id;

    public DeleteExtendedDataRowEvent(Graph graph, ExtendedDataRowId id) {
        super(graph);
        this.id = id;
    }

    @Override
    public String toString() {
        return "DeleteExtendedDataRowEvent{" +
                "id=" + id +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        DeleteExtendedDataRowEvent that = (DeleteExtendedDataRowEvent) o;

        if (!id.equals(that.id)) {
            return false;
        }

        return true;
    }

    @Override
    public int hashCode() {
        return id.hashCode();
    }
}

@@ -312,32 +312,97 @@
 id = id;%0A    %7D%0A%0A
+    public ExtendedDataRowId getId() %7B%0A        return id;%0A    %7D%0A%0A
     @Override%0A  

add getId to DeleteExtendedDataRowEvent