01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * 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 426576 2006-07-28 15:44:37Z jeremias $ */
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: * Default no-parameter constructor.
33: */
34: public ProjectMember() {
35: }
36:
37: /**
38: * Convenience constructor.
39: * @param name name of the project member
40: * @param function function in the team
41: * @param email email address
42: */
43: public ProjectMember(String name, String function, String email) {
44: setName(name);
45: setFunction(function);
46: setEmail(email);
47: }
48:
49: /**
50: * Returns the name.
51: * @return String the name
52: */
53: public String getName() {
54: return name;
55: }
56:
57: /**
58: * Returns the function.
59: * @return String the function
60: */
61: public String getFunction() {
62: return function;
63: }
64:
65: /**
66: * Returns the email address.
67: * @return String the email address
68: */
69: public String getEmail() {
70: return email;
71: }
72:
73: /**
74: * Sets the name.
75: * @param name The name to set
76: */
77: public void setName(String name) {
78: this .name = name;
79: }
80:
81: /**
82: * Sets the function.
83: * @param function The function to set
84: */
85: public void setFunction(String function) {
86: this .function = function;
87: }
88:
89: /**
90: * Sets the email address.
91: * @param email The email address to set
92: */
93: public void setEmail(String email) {
94: this.email = email;
95: }
96:
97: }
|