public class CarServiceWithMultiAnnotationImpl extends Object implements CarService
| Constructor and Description |
|---|
CarServiceWithMultiAnnotationImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCar(Car car) |
void |
deleteCar(String id) |
Car |
getCar(String id) |
Collection<Car> |
getCars() |
void |
setEm(javax.persistence.EntityManager em) |
void |
setEmf(javax.persistence.EntityManagerFactory emf) |
void |
setEms(EmSupplier ems) |
void |
updateCar(Car car) |
public Car getCar(String id)
getCar in interface CarServicepublic void addCar(Car car)
addCar in interface CarServicepublic Collection<Car> getCars()
getCars in interface CarServicepublic void updateCar(Car car)
updateCar in interface CarServicepublic void deleteCar(String id)
deleteCar in interface CarServicepublic void setEm(javax.persistence.EntityManager em)
public void setEmf(javax.persistence.EntityManagerFactory emf)
public void setEms(EmSupplier ems)
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.