package vetoffice; import java.util.ArrayList; /** * This is the class that will describe the owner. * @author travis */ public class Owner { //attributes private String name; private ArrayList pets; //contrsutctor /** * @param name, dog */ public Owner(String name) { setName(name); //set the name of the owner System.out.println("Created Owner Object with name: " + this.name); } /** * Set the owner's name * @param name */ public void setName(String name) { this.name = name; } /** * @return owner's name. */ public String getName() { return this.name; } public void addDog(Dog dog) { Dog d = new Dog("name", true); pets.add(d); } }