/* * Isomorphic SmartGWT web presentation layer * Copyright 2000 and beyond Isomorphic Software, Inc. * * OWNERSHIP NOTICE * Isomorphic Software owns and reserves all rights not expressly granted in this source code, * including all intellectual property rights to the structure, sequence, and format of this code * and to all designs, interfaces, algorithms, schema, protocols, and inventions expressed herein. * * If you have any questions, please email
. * * This entire comment must accompany any portion of Isomorphic Software source code that is * copied or moved from this file. */ package com.smartgwtee.sample.showcase.server; //---------------------------------------------------------------------- // Flattened Beans example // // FlatUser Bean - to be managed by Hibernate //---------------------------------------------------------------------- import java.io.Serializable; public class FlatUser implements Serializable { protected Long userId; protected String firstName; protected String surname; protected String email; protected Address address = new Address(); public FlatUser() { } // Getters public Long getUserId() { return userId; } public String getFirstName() { return firstName; } public String getSurname() { return surname; } public String getEmail() { return email; } public Address getAddress() { return address; } // Setters public void setUserId(Long value) { userId = value; } public void setFirstName(String value) { firstName = value; } public void setSurname(String value) { surname = value; } public void setEmail(String value) { email = value; } public void setAddress(Address value) { address = value; } }