/** * Copyright (C) 2015 Born Informatik AG (www.born.ch) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.wte4j.examples.showcase.shared; import java.io.Serializable; import java.util.Date; import com.google.gwt.user.client.rpc.IsSerializable; public class OrderDataDto implements Serializable, IsSerializable { private static final long serialVersionUID = 1L; private long orderId; private String firstName; private String lastName; private String address; private String zip; private String City; private String country; private double amount; private Date orderDate; private Date deliveryDate; public OrderDataDto() { } public long getOrderId() { return orderId; } public void setOrderId(long orderId) { this.orderId = orderId; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getAddress() { return address; } public void setAddress(String address) { this.address = address; } public String getZip() { return zip; } public void setZip(String zip) { this.zip = zip; } public String getCity() { return City; } public void setCity(String city) { City = city; } public String getCountry() { return country; } public void setCountry(String country) { this.country = country; } public double getAmount() { return amount; } public void setAmount(double amount) { this.amount = amount; } public Date getOrderDate() { return orderDate; } public void setOrderDate(Date orderDate) { this.orderDate = orderDate; } public Date getDeliveryDate() { return deliveryDate; } public void setDeliveryDate(Date deliveryDate) { this.deliveryDate = deliveryDate; } }