class TableEvent extends Event {

    @Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        TableEvent other = (TableEvent) obj;
        if (other.getCommand() == null && this.getCommand() != null) {
            return false;
        } else if (other.getCommand() != null && this.getCommand() == null) {
            return false;
        }

        return other.getCommand().equals(this.getCommand()) && other.actionId.equals(actionId) && other.rowId == rowId;
    }

    public  TableEvent(final String command, final int rowId, final String actionId);

}