private Integer postalCode = null;
private String city = "";
+ public Person() {
+
+ }
+
+ public Person(String firstName, String lastName, String email,
+ String phoneNumber, String streetAddress, int postalCode,
+ String city) {
+ setFirstName(firstName);
+ setLastName(lastName);
+ setEmail(email);
+ setPhoneNumber(phoneNumber);
+ setStreetAddress(streetAddress);
+ setPostalCode(postalCode);
+ setCity(city);
+ }
+
/**
* @return the firstName
*/
--- /dev/null
+package com.vaadin.tests.util;
+
+public class Product {
+
+ private String name;
+ private float price;
+ private String description;
+
+ public Product(String name, float price, String description) {
+ super();
+ this.name = name;
+ this.price = price;
+ this.description = description;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public float getPrice() {
+ return price;
+ }
+
+ public void setPrice(float price) {
+ this.price = price;
+ }
+
+}