Package nom

Examples of nom.Catalog


      s.setAnStudiu(anStudiuTest);
      s.setEmail(emailTest);
      s.setNrMatricol(String.valueOf(i));
      s.setNume(numeTest + String.valueOf(i));
      s.setPrenume(prenumeTest + String.valueOf(i));
      Catalog c = new Catalog();
      c.setIdStudent(s.getIdStudent());
      c.setDataNotei(new Date());
      c.setIdObiect(idObiectTest + i);
      c.setNota(notaTest);
      c.setNrPrezente(nrPrezenteTest);
      s.getCatalog().add(c);
      Orar o = new Orar();
      o.setData(new Date());
      o.setIdObiect(idObiectTest + i);
      o.setIntervalOrar(intervalOrarTest);
View Full Code Here


      s.setAnStudiu(anStudiuTest);
      s.setEmail(emailTest);
      s.setNrMatricol(String.valueOf(i));
      s.setNume(numeTest + String.valueOf(i));
      s.setPrenume(prenumeTest + String.valueOf(i));
      Catalog c = new Catalog();
      c.setIdStudent(s.getIdStudent());
      c.setDataNotei(new Date());
      c.setIdObiect(idObiectTest + i);
      c.setNota(notaTest);
      c.setNrPrezente(nrPrezenteTest);
      s.getCatalog().add(c);
      Orar o = new Orar();
      o.setData(new Date());
      o.setIdObiect(idObiectTest + i);
      o.setIntervalOrar(intervalOrarTest);
View Full Code Here

  @SuppressWarnings("unchecked")
  public static void removeStudent(String nrMatricol) {
    List<Student> st = new ArrayList<Student>();
    Grupa g = new Grupa();
    Catalog c = new Catalog();
    EntityManagerFactory emf = Persistence
        .createEntityManagerFactory("modul3L2");
    em = emf.createEntityManager();
    em.getTransaction().begin();
    Query query = em.createQuery(
View Full Code Here

    return result;
  }
  public static List<StudentForm>  updateStudent(StudentForm student,String nrMatricol){
    List<Student> st = new ArrayList<Student>();
    
    Catalog c=new Catalog();
    EntityManagerFactory emf = Persistence
        .createEntityManagerFactory("modul3L2");
    em = emf.createEntityManager();
     em.getTransaction().begin();
    Query query = em
View Full Code Here

  public void addCatalog() {
    service.setCatalogAction("add");
    CatalogBean catalogNou = new CatalogBean();
    catalogNou.setSelected(true);
    catalogNou.setC(new Catalog());
    service.getCatalog().add(catalogNou);
   
  }
View Full Code Here

  public void addCatalog() {
    service.setCatalogAction("add");
    CatalogBean catalogNou = new CatalogBean();
    catalogNou.setSelected(true);
    catalogNou.setC(new Catalog());
    catalogNou.setId(String.valueOf(service.getCatalog().size()));
    catalogNou.getC().setIdObiect(service.getCatalog().get(0).getC().getIdObiect());
    catalogNou.getC().setIdStudent(service.getCatalog().get(0).getC().getIdStudent());
    service.getCatalog().add(catalogNou);
    showCatalog = false;
View Full Code Here

  @SuppressWarnings("unchecked")
  public static void removeStudent(String nrMatricol) {
    List<Student> st = new ArrayList<Student>();
    Grupa g = new Grupa();
    Catalog c = new Catalog();
    EntityManagerFactory emf = Persistence
        .createEntityManagerFactory("modul3L2");
    em = emf.createEntityManager();
    em.getTransaction().begin();
    Query query = em.createQuery(
View Full Code Here

  public void addCatalog() {
    service.setCatalogAction("add");
    CatalogBean catalogNou = new CatalogBean();
    catalogNou.setSelected(true);
    catalogNou.setC(new Catalog());
    service.getCatalog().add(catalogNou);
   
  }
View Full Code Here

  public void addCatalog() {
    service.setCatalogAction("add");
    CatalogBean catalogNou = new CatalogBean();
    catalogNou.setSelected(true);
    catalogNou.setC(new Catalog());
    service.getCatalog().add(catalogNou);
   
  }
View Full Code Here

  @SuppressWarnings("unchecked")
  public static void removeStudent(String nrMatricol) {
    List<Student> st = new ArrayList<Student>();
    Grupa g = new Grupa();
    Catalog c = new Catalog();
    EntityManagerFactory emf = Persistence
        .createEntityManagerFactory("modul3L2");
    em = emf.createEntityManager();
    em.getTransaction().begin();
    Query query = em.createQuery(
View Full Code Here

TOP

Related Classes of nom.Catalog

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.