diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/util/Address.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/util/Address.java | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/util/Address.java b/uitest/src/com/vaadin/tests/util/Address.java new file mode 100644 index 0000000000..5ef0669e1b --- /dev/null +++ b/uitest/src/com/vaadin/tests/util/Address.java @@ -0,0 +1,66 @@ +package com.vaadin.tests.util; + +import java.io.Serializable; + +@SuppressWarnings("serial") +public class Address implements Serializable { + + private String streetAddress = ""; + private Integer postalCode = null; + private String city = ""; + + public Address() { + } + + public Address(String streetAddress, int postalCode, String city) { + setStreetAddress(streetAddress); + setPostalCode(postalCode); + setCity(city); + } + + /** + * @return the streetAddress + */ + public String getStreetAddress() { + return streetAddress; + } + + /** + * @param streetAddress + * the streetAddress to set + */ + public void setStreetAddress(String streetAddress) { + this.streetAddress = streetAddress; + } + + /** + * @return the postalCode + */ + public Integer getPostalCode() { + return postalCode; + } + + /** + * @param postalCode + * the postalCode to set + */ + public void setPostalCode(Integer postalCode) { + this.postalCode = postalCode; + } + + /** + * @return the city + */ + public String getCity() { + return city; + } + + /** + * @param city + * the city to set + */ + public void setCity(String city) { + this.city = city; + } + +} |