View Javadoc

1   /*
2    * Copyright 2006-2010 the original author or authors.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.springframework.batch.sample.domain.mail;
17  
18  /**
19   * @author Dan Garrette
20   * @author Dave Syer
21   * 
22   * @since 2.1
23   */
24  public class User {
25      private int id;
26      private String name;
27      private String email;
28  
29      public User() {
30      }
31  
32      public User( int id, String name, String email ) {
33          this.id = id;
34          this.name = name;
35          this.email = email;
36      }
37  
38      public int getId() {
39          return id;
40      }
41  
42      public void setId( int id ) {
43          this.id = id;
44      }
45  
46      public String getName() {
47          return name;
48      }
49  
50      public void setName( String name ) {
51          this.name = name;
52      }
53  
54      public String getEmail() {
55          return email;
56      }
57  
58      public void setEmail( String email ) {
59          this.email = email;
60      }
61  }