org.springframework.samples.petclinic.owners.pets
Class StubPetRepository
java.lang.Object
org.springframework.samples.petclinic.owners.pets.StubPetRepository
- All Implemented Interfaces:
- PetRepository
@Repository
public class StubPetRepository
- extends Object
- implements PetRepository
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StubPetRepository
public StubPetRepository()
getPet
public Pet getPet(Long owner,
String name)
- Specified by:
getPet
in interface PetRepository
savePet
public void savePet(Pet pet)
- Specified by:
savePet
in interface PetRepository
Copyright © 2009 SpringSource, Inc. All Rights Reserved.