public boolean equals(Object toCompare) {
        if(toCompare == null) return false;
        if(!(toCompare instanceof TableMarkerMvMapping)) return false;
        TableMarkerMvMapping mapping = (TableMarkerMvMapping) toCompare;
        if(mapping.getMvId() == mvId && mapping.getTableMarkerId() == tableMarkerId)  return true;
        return false;
    }