/* 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.srcmodel; /** * @author <a href="mailto:tom.fennelly@gmail.com">tom.fennelly@gmail.com</a> */ public class Header { private Long customerNumber = 1234L; private String customerName = "Buzz Lightyear"; private Priority priority = Priority.HIGH; public Long getCustomerNumber() { return customerNumber; } public void setCustomerNumber(Long customerNumber) { this.customerNumber = customerNumber; } public String getCustomerName() { return customerName; } public void setCustomerName(String customerName) { this.customerName = customerName; } /** * @return the priority */ public Priority getPriority() { return priority; } /** * @param priority the priority to set */ public void setPriority(Priority priority) { this.priority = priority; } @Override public String toString() { StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("customerNumber: " + customerNumber + ", "); stringBuilder.append("customerName: " + customerName + ", "); stringBuilder.append("priority: " + priority); return stringBuilder.toString(); } }