Is there any reason this method and the getter couldn't be added to the Chicken class itself?  Allowing changes at any time, rather than just when it lays eggs.