]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.core/src/org/argeo/fm/Product.java
Start using FreeMarker
[lgpl/argeo-commons.git] / org.argeo.core / src / org / argeo / fm / Product.java
diff --git a/org.argeo.core/src/org/argeo/fm/Product.java b/org.argeo.core/src/org/argeo/fm/Product.java
new file mode 100644 (file)
index 0000000..a57ae0d
--- /dev/null
@@ -0,0 +1,31 @@
+package org.argeo.fm;
+
+/**
+ * Product bean; note that it must be a public class!
+ */
+public class Product {
+
+       private String url;
+       private String name;
+
+       // As per the JavaBeans spec., this defines the "url" bean property
+       // It must be public!
+       public String getUrl() {
+               return url;
+       }
+
+       public void setUrl(String url) {
+               this.url = url;
+       }
+
+       // As per the JavaBean spec., this defines the "name" bean property
+       // It must be public!
+       public String getName() {
+               return name;
+       }
+
+       public void setName(String name) {
+               this.name = name;
+       }
+
+}
\ No newline at end of file