org.springframework.samples.petclinic
Class Vet

java.lang.Object
  extended by org.springframework.samples.petclinic.BaseEntity
      extended by org.springframework.samples.petclinic.Person
          extended by org.springframework.samples.petclinic.Vet

public class Vet
extends Person

Simple JavaBean domain object representing a veterinarian.

Author:
Ken Krebs, Juergen Hoeller, Sam Brannen, Arjen Poutsma

Constructor Summary
Vet()
           
 
Method Summary
 void addSpecialty(Specialty specialty)
           
 int getNrOfSpecialties()
           
 java.util.List<Specialty> getSpecialties()
           
protected  java.util.Set<Specialty> getSpecialtiesInternal()
           
protected  void setSpecialtiesInternal(java.util.Set<Specialty> specialties)
           
 
Methods inherited from class org.springframework.samples.petclinic.Person
getFirstName, getLastName, setFirstName, setLastName
 
Methods inherited from class org.springframework.samples.petclinic.BaseEntity
getId, isNew, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Vet

public Vet()
Method Detail

setSpecialtiesInternal

protected void setSpecialtiesInternal(java.util.Set<Specialty> specialties)

getSpecialtiesInternal

protected java.util.Set<Specialty> getSpecialtiesInternal()

getSpecialties

public java.util.List<Specialty> getSpecialties()

getNrOfSpecialties

public int getNrOfSpecialties()

addSpecialty

public void addSpecialty(Specialty specialty)


Copyright © 2010. All Rights Reserved.