| /** |
| * |
| * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) |
| * |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Florian Pirchner <florian.pirchner@gmail.com> - Initial implementation |
| */ |
| package org.eclipse.osbp.vaadin.addons.suggesttext.sample; |
| |
| import java.util.UUID; |
| |
| public class Person { |
| |
| private String uuid = UUID.randomUUID().toString(); |
| |
| private String firstname; |
| |
| private String lastname; |
| |
| public Person(String firstname, String lastname) { |
| super(); |
| this.firstname = firstname; |
| this.lastname = lastname; |
| } |
| |
| public String getUuid() { |
| return uuid; |
| } |
| |
| public void setUuid(String uuid) { |
| this.uuid = uuid; |
| } |
| |
| 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; |
| } |
| |
| @Override |
| public String toString() { |
| return "Person [uuid=" + uuid + ", firstname=" + firstname + ", lastname=" + lastname + "]"; |
| } |
| |
| } |