Package org.milyn.javabean.performance.model

Examples of org.milyn.javabean.performance.model.Customer


    /* (non-Javadoc)
     * @see freemarker.template.TemplateSequenceModel#get(int)
     */
    public TemplateModel get(int nmb) throws TemplateModelException {
     
      Customer c = new Customer();
     
      c.person = new Person();
      c.person.surname = "surname-" + nmb;
      c.person.firstname = "firstname-" + nmb;
      c.person.gender = (nmb % 2 == 0)? "m" : "f";
View Full Code Here


    /* (non-Javadoc)
     * @see freemarker.template.TemplateSequenceModel#get(int)
     */
    public TemplateModel get(int nmb) throws TemplateModelException {
     
      Customer c = new Customer();
     
      c.person = new Person();
      c.person.surname = "surname-" + nmb;
     
      return BeansWrapper.getDefaultInstance().wrap(c);
View Full Code Here

TOP

Related Classes of org.milyn.javabean.performance.model.Customer

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.