/* * Milyn - Copyright (C) 2006 - 2010 * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License (version 2.1) as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. * * See the GNU Lesser General Public License for more details: * http://www.gnu.org/licenses/lgpl.txt */ package example; public class LogEvent { private String transactionId; private String customerId; private String nationality; public LogEvent() { } public LogEvent(String transactionId, String customerId, String nationality) { this.transactionId = transactionId; this.customerId = customerId; this.nationality = nationality; } public String getTransactionId() { return transactionId; } public void setTransactionId(String transactionId) { this.transactionId = transactionId; } public String getCustomerId() { return customerId; } public void setCustomerId(String customerId) { this.customerId = customerId; } public String getNationality() { return nationality; } public void setNationality(String nationality) { this.nationality = nationality; } public String toString() { return "LogEvent [CustomerId=" + customerId + ", nationality=" + nationality + ", transactionId=" + transactionId + "]"; } }