Package entidades

Examples of entidades.Matricula


   public void CargaRetiroAlumno() { 
     System.out.println(retiroAlumno.getStrCodigoAlumno());
          try {
        alumno = alumnoService.obtenerAlumno(retiroAlumno);
       
        Matricula matricula =  matriculaoService.obtenerMatriculaAlumno(alumno);
       
        seccionProgramada = matriculaoService.obtenerSecProAlumno(matricula);
       
      } catch (Exception e) {
        // TODO Auto-generated catch block
View Full Code Here


   
    System.out.println("Codigo Alumno" + alumno.getStrCodigoAlumno());
   
    em = emf.createEntityManager();
   
    Matricula matricula = null;

    Query q = em.createQuery("SELECT m FROM Matricula m WHERE m.alumno.strCodigoAlumno = ?1");
    q.setParameter(1, alumno.getStrCodigoAlumno());
   
    matricula = (Matricula) q.getSingleResult();
   
    em.close();
   
    if(matricula!=null){
      System.out.println("Codigo Matricula :" + matricula.getIntIdMatricula());
      return matricula;
    }else{
      return null;
    }
   
View Full Code Here

           
            valor = "";
           
            alumno = alumnoService.obtenerAlumno(exoneracionAlumno);
         
        Matricula matricula =  matriculaService.obtenerMatriculaAlumno(alumno);
         
        seccionProgramada = matriculaService.obtenerSecProAlumno(matricula);
       
        asignaturasXgrado = asignaturaService.obtenerAsignaturasXGradoRetiro(seccionProgramada);
       
View Full Code Here

    } catch (Exception e1) {
      System.out.println("Error al buscar seccion programada ... ");
      e1.printStackTrace();
    }
   
    Matricula mattempo=new Matricula();
    Calendar c2 = new GregorianCalendar();
    mattempo.setAlumno(nuevoAlumno);
    mattempo.setDtFecMat(new Date(c2.getTimeInMillis()));
    mattempo.setSeccionprogramada(sbuscada);
    //aki
    Calendarioacademico calendatempo=new Calendarioacademico();
    calendatempo.setStrCodcalendario("2012");
    mattempo.setCalendarioacademico(calendatempo);
   
    try {
      for (Method m : nuevoAlumno.getClass().getMethods()){
        if((m.getName().startsWith("getStr"))||(m.getName().startsWith("getInt"))){
          System.out.println("Alumno - "+m.getName().substring(6).toUpperCase() + " : " +  m.invoke(nuevoAlumno));
View Full Code Here

TOP

Related Classes of entidades.Matricula

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.