AnimalService.java
431 Bytes
package fr.plil.sio.examen.services;
import fr.plil.sio.examen.api.Animal;
import fr.plil.sio.examen.api.Owner;
public interface AnimalService {
/**
* Create an animal attached to an owner
*/
Animal create(String name, Owner owner);
/**
* Delete an animal and ALL comment associated.
*
* TODO: complete this method.
*/
void delete(Animal animal);
}