Package test.reverspring.beans

Examples of test.reverspring.beans.Indirizzo


public class TestBeanSet extends TestCase {
  public void testAddBeanDescriptor() {
    Persona persona = new Persona();
    persona.nome = "luigi";
    persona.setCongnome("Dell'Aquila");
    persona.setIndirizzo(new Indirizzo());
    persona.getIndirizzo().setVia("via di casa mia");
    persona.getIndirizzo().setCivico(1);
    persona.getIndirizzo().setProprietario(persona);

    BeanSet set = new BeanSet();
View Full Code Here


public class TestDescriptorGenerator extends TestCase {
  public void testGenerateDescriptor() {
    Persona persona = new Persona();
    persona.nome = "luigi";
    persona.setCongnome("Dell'Aquila");
    persona.setIndirizzo(new Indirizzo());
    persona.getIndirizzo().setVia("via di casa mia");
    persona.getIndirizzo().setCivico(1);
    persona.getIndirizzo().setProprietario(persona);
    System.out.println();
    System.out.println(DescriptorGenerator.generateDescriptor(persona, "personaId"));
View Full Code Here

TOP

Related Classes of test.reverspring.beans.Indirizzo

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.