I have an array of objects, and I want to use a setter function to update one of them. However, the array\'s type is of the parent class, which doesn\'t have the se