Class Owner
java.lang.Object
petclinic.util.BaseEntity
petclinic.util.Person
petclinic.owners.Owner
- All Implemented Interfaces:
Serializable
-
Field Summary
Fields inherited from class BaseEntity
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetCity()Return the Pet with the given name, or null if none found for this Owner.getPets()voidsetAddress(String address) voidvoidsetTelephone(String telephone) Methods inherited from class Person
getFirstName, getLastName, setFirstName, setLastName
-
Constructor Details
-
Owner
public Owner()
-
-
Method Details
-
getAddress
-
setAddress
-
getCity
-
setCity
-
getTelephone
-
setTelephone
-
getPets
-
addPet
-
getPet
-