001/* 002 * Copyright 2006-2010 the original author or authors. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * https://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.springframework.batch.sample.domain.mail; 017 018/** 019 * @author Dan Garrette 020 * @author Dave Syer 021 * 022 * @since 2.1 023 */ 024public class User { 025 private int id; 026 private String name; 027 private String email; 028 029 public User() { 030 } 031 032 public User( int id, String name, String email ) { 033 this.id = id; 034 this.name = name; 035 this.email = email; 036 } 037 038 public int getId() { 039 return id; 040 } 041 042 public void setId( int id ) { 043 this.id = id; 044 } 045 046 public String getName() { 047 return name; 048 } 049 050 public void setName( String name ) { 051 this.name = name; 052 } 053 054 public String getEmail() { 055 return email; 056 } 057 058 public void setEmail( String email ) { 059 this.email = email; 060 } 061}