You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ProjectMember.java 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /*
  2. * Copyright 1999-2004 The Apache Software Foundation.
  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. /* $Id$ */
  17. package embedding.model;
  18. /**
  19. * This bean represents a project member.
  20. */
  21. public class ProjectMember {
  22. private String name;
  23. private String function;
  24. private String email;
  25. /**
  26. * Default no-parameter constructor.
  27. */
  28. public ProjectMember() {
  29. }
  30. /**
  31. * Convenience constructor.
  32. * @param name name of the project member
  33. * @param function function in the team
  34. * @param email email address
  35. */
  36. public ProjectMember(String name, String function, String email) {
  37. setName(name);
  38. setFunction(function);
  39. setEmail(email);
  40. }
  41. /**
  42. * Returns the name.
  43. * @return String the name
  44. */
  45. public String getName() {
  46. return name;
  47. }
  48. /**
  49. * Returns the function.
  50. * @return String the function
  51. */
  52. public String getFunction() {
  53. return function;
  54. }
  55. /**
  56. * Returns the email address.
  57. * @return String the email address
  58. */
  59. public String getEmail() {
  60. return email;
  61. }
  62. /**
  63. * Sets the name.
  64. * @param name The name to set
  65. */
  66. public void setName(String name) {
  67. this.name = name;
  68. }
  69. /**
  70. * Sets the function.
  71. * @param function The function to set
  72. */
  73. public void setFunction(String function) {
  74. this.function = function;
  75. }
  76. /**
  77. * Sets the email address.
  78. * @param email The email address to set
  79. */
  80. public void setEmail(String email) {
  81. this.email = email;
  82. }
  83. }