1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements.  See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License.  You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 /* $Id: ProjectMember.java 679326 2008-07-24 09:35:34Z vhennebert $ */
19 
20 package embedding.model;
21 
22 /**
23  * This bean represents a project member.
24  */
25 public class ProjectMember {
26 
27     private String name;
28     private String function;
29     private String email;
30 
31 
32     /**
33      * Default no-parameter constructor.
34      */
ProjectMember()35     public ProjectMember() {
36     }
37 
38 
39     /**
40      * Convenience constructor.
41      * @param name name of the project member
42      * @param function function in the team
43      * @param email email address
44      */
ProjectMember(String name, String function, String email)45     public ProjectMember(String name, String function, String email) {
46         setName(name);
47         setFunction(function);
48         setEmail(email);
49     }
50 
51     /**
52      * Returns the name.
53      * @return String the name
54      */
getName()55     public String getName() {
56         return name;
57     }
58 
59 
60     /**
61      * Returns the function.
62      * @return String the function
63      */
getFunction()64     public String getFunction() {
65         return function;
66     }
67 
68 
69     /**
70      * Returns the email address.
71      * @return String the email address
72      */
getEmail()73     public String getEmail() {
74         return email;
75     }
76 
77 
78     /**
79      * Sets the name.
80      * @param name The name to set
81      */
setName(String name)82     public void setName(String name) {
83         this.name = name;
84     }
85 
86 
87     /**
88      * Sets the function.
89      * @param function The function to set
90      */
setFunction(String function)91     public void setFunction(String function) {
92         this.function = function;
93     }
94 
95 
96     /**
97      * Sets the email address.
98      * @param email The email address to set
99      */
setEmail(String email)100     public void setEmail(String email) {
101         this.email = email;
102     }
103 
104 }
105