public void addPet(Pet pet) {
        getPetsInternal().add(pet);
        pet.setOwner(this);
    }
Simple JavaBean domain object representing an owner.

@author Ken Krebs
@author Juergen Hoeller
@author Sam Brannen
@author Michael Isvy
src/main/java/org/springframework/samples/petclinic/model/Owner.java