Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. package org.opengts.util;
  2.  
  3. public class EmailCredentials {
  4. private String username;
  5. private String host;
  6. private String password;
  7. private String port;
  8. /**
  9. *
  10. */
  11. public EmailCredentials() {
  12.  
  13. }
  14. /**
  15. * @param username
  16. * @param host
  17. * @param password
  18. * @param port
  19. */
  20. public EmailCredentials(String username, String host, String password,
  21. String port) {
  22. super();
  23. this.username = username;
  24. this.host = host;
  25. this.password = password;
  26. this.port = port;
  27. }
  28. /**
  29. * @param username the username to set
  30. */
  31. public void setUsername(String username) {
  32. this.username = username;
  33. }
  34. /**
  35. * @return the username
  36. */
  37. public String getUsername() {
  38. return username;
  39. }
  40. /**
  41. * @param host the host to set
  42. */
  43. public void setHost(String host) {
  44. this.host = host;
  45. }
  46. /**
  47. * @return the host
  48. */
  49. public String getHost() {
  50. return host;
  51. }
  52. /**
  53. * @param password the password to set
  54. */
  55. public void setPassword(String password) {
  56. this.password = password;
  57. }
  58. /**
  59. * @return the password
  60. */
  61. public String getPassword() {
  62. return password;
  63. }
  64. /**
  65. * @param port the port to set
  66. */
  67. public void setPort(String port) {
  68. this.port = port;
  69. }
  70. /**
  71. * @return the port
  72. */
  73. public String getPort() {
  74. return port;
  75. }
  76.  
  77. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement