Package test.reverspring.beans

Examples of test.reverspring.beans.BeanWithMap


import test.reverspring.beans.BeanWithConstructor;
import test.reverspring.beans.BeanWithMap;

public class TestMap extends TestCase {
  public void testMap() {
    BeanWithMap bean = new BeanWithMap();
    Map<String, Object> myMap = new LinkedHashMap<String, Object>();
    myMap.put("one", "firstString");
    myMap.put("two", 2);
    myMap.put("three", new BeanWithConstructor("ciao", null));
    bean.setMyMap(myMap);

    System.out.println();
    System.out.println(DescriptorGenerator.generateDescriptor(bean, "myBean"));
    System.out.println();
  }
View Full Code Here

TOP

Related Classes of test.reverspring.beans.BeanWithMap

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.