Package org.magicbox.domain

Examples of org.magicbox.domain.UtenteUltraLight


  public void setUp() throws Exception {}
 
  public void tearDown() throws Exception {}
 
  public void testCostruttoreVuoto() {
    UtenteUltraLight utente = new UtenteUltraLightImpl();
    assertTrue(utente.getId() == -1);
    assertTrue(-1 == utente.getIdGruppo());
    assertNull(utente.getNominativo());

  }
View Full Code Here


    assertNull(utente.getNominativo());

  }
 
  public void testCostruttorePieno() {
    UtenteUltraLight utente = new UtenteUltraLightImpl("paolino paperino",1,2);
    assertEquals(2,utente.getId());
    assertEquals(1,utente.getIdGruppo());
    assertEquals("paolino paperino",utente.getNominativo());
  }
View Full Code Here

                    executor.startBatch();
                    Iterator<String> iter = ids.iterator();

                    while (iter.hasNext()) {
                        UtenteUltraLight utente = new UtenteUltraLightImpl("", idGruppo, Long.parseLong(iter.next().toString()));
                        executor.insert("updateGruppoUtente", utente);
                    }
                    ris = executor.executeBatch();
                } catch (SQLException e) {
                    Logger log = Logger.getLogger(this.getClass());
View Full Code Here

TOP

Related Classes of org.magicbox.domain.UtenteUltraLight

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.