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.

Potus.java 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. /*
  2. * Copyright 2000-2014 Vaadin Ltd.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  5. * use this file except in compliance with the License. You may obtain a copy of
  6. * 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, WITHOUT
  12. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  13. * License for the specific language governing permissions and limitations under
  14. * the License.
  15. */
  16. package com.vaadin.tests.declarative;
  17. import java.util.Date;
  18. /**
  19. *
  20. * @since
  21. * @author Vaadin Ltd
  22. */
  23. public class Potus {
  24. private String firstName;
  25. private String lastName;
  26. private String party;
  27. private Date tookOffice;
  28. private Date leftOffice;
  29. /**
  30. * @return the firstName
  31. */
  32. public String getFirstName() {
  33. return firstName;
  34. }
  35. /**
  36. * @param firstName
  37. * the firstName to set
  38. */
  39. public void setFirstName(String firstName) {
  40. this.firstName = firstName;
  41. }
  42. /**
  43. * @return the lastName
  44. */
  45. public String getLastName() {
  46. return lastName;
  47. }
  48. /**
  49. * @param lastName
  50. * the lastName to set
  51. */
  52. public void setLastName(String lastName) {
  53. this.lastName = lastName;
  54. }
  55. /**
  56. * @return the party
  57. */
  58. public String getParty() {
  59. return party;
  60. }
  61. /**
  62. * @param party
  63. * the party to set
  64. */
  65. public void setParty(String party) {
  66. this.party = party;
  67. }
  68. /**
  69. * @return the tookOffice
  70. */
  71. public Date getTookOffice() {
  72. return tookOffice;
  73. }
  74. /**
  75. * @param tookOffice
  76. * the tookOffice to set
  77. */
  78. public void setTookOffice(Date tookOffice) {
  79. this.tookOffice = tookOffice;
  80. }
  81. /**
  82. * @return the leftOffice
  83. */
  84. public Date getLeftOffice() {
  85. return leftOffice;
  86. }
  87. /**
  88. * @param leftOffice
  89. * the leftOffice to set
  90. */
  91. public void setLeftOffice(Date leftOffice) {
  92. this.leftOffice = leftOffice;
  93. }
  94. }