View Javadoc
1   package org.argeo.support.freemarker;
2   
3   /**
4    * Product bean; note that it must be a public class!
5    */
6   public class Product {
7   
8   	private String url;
9   	private String name;
10  
11  	// As per the JavaBeans spec., this defines the "url" bean property
12  	// It must be public!
13  	public String getUrl() {
14  		return url;
15  	}
16  
17  	public void setUrl(String url) {
18  		this.url = url;
19  	}
20  
21  	// As per the JavaBean spec., this defines the "name" bean property
22  	// It must be public!
23  	public String getName() {
24  		return name;
25  	}
26  
27  	public void setName(String name) {
28  		this.name = name;
29  	}
30  
31  }