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.3KB

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