public class TestDAO extends Connection
Constructor and Description |
---|
TestDAO() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Test> |
getAllTests()
Función para obtener todos los tests almacenados en la BBDD
|
Test |
getTestById(int idTest)
Función para obtener todos los datos de un test a partir de su identificador único
|
java.util.List<Test> |
getTestByIdRobot(int idRobot)
Función para obtener todos los tests associados a un robot a partir del identificador único del robot
|
public Test getTestById(int idTest) throws org.hibernate.HibernateException
idTest
- identificador único del testorg.hibernate.HibernateException
public java.util.List<Test> getTestByIdRobot(int idRobot) throws org.hibernate.HibernateException
idRobot
- identificador único del robotorg.hibernate.HibernateException
public java.util.List<Test> getAllTests() throws org.hibernate.HibernateException
org.hibernate.HibernateException