package vetoffice; /** * This class describes a veterenarian. * @author travis */ public class Veterinarian { private String name; //the name of the vet /** * @param name */ public Veterinarian(String name) { //set the name setName(name); //show the owner that was created. System.out.println("Create a veterinarian object with the name " + this.name); } /** * this will set the name of the vet * @param name */ private void setName(String name) { this.name = name; } /** * this will get the name of the vet. * @return */ public String getName() { return this.name; } /** * @param theDog */ public void tickCheck(Dog theDog) { System.out.println("Vet ran tick check on: " + theDog.getName() + " the result was: " + theDog.getTickResults()); Bill bill = new Bill(theDog.getOwner()); } /** * @param theDog */ public void bellyUpCheck(Fish fish) { System.out.println("Vet checked if " + fish.getName() + " was belly up the result was: " + fish.getBellyUpResults()); Bill bill = new Bill(fish.getOwner()); } }