/src/main/java/com/google/ie/dto/UserDetail.java

http://thoughtsite.googlecode.com/ · Java · 68 lines · 22 code · 13 blank · 33 comment · 0 complexity · b1182c746edace16308966cf42246740 MD5 · raw file

  1. /* Copyright 2010 Google Inc.
  2. *
  3. * Licensed under the Apache License, Version 2.0 (the "License");
  4. * you may not use this file except in compliance with the License.
  5. * You may obtain a copy of the License at
  6. *
  7. * http://www.apache.org/licenses/LICENSE-2.0
  8. *
  9. * Unless required by applicable law or agreed to in writing, software
  10. * distributed under the License is distributed on an "AS IS" BASIS.
  11. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. * See the License for the specific language governing permissions and
  13. * limitations under the License
  14. */
  15. package com.google.ie.dto;
  16. import com.google.ie.business.domain.Idea;
  17. import com.google.ie.business.domain.User;
  18. import java.io.Serializable;
  19. import java.util.List;
  20. /**
  21. * @author asirohi
  22. *
  23. */
  24. public class UserDetail implements Serializable {
  25. /**
  26. *
  27. */
  28. private static final long serialVersionUID = -4826284376243620102L;
  29. private User user;
  30. private List<Idea> ideasList;
  31. /**
  32. * @return the user
  33. */
  34. public User getUser() {
  35. return user;
  36. }
  37. /**
  38. * @param user the user to set
  39. */
  40. public void setUser(User user) {
  41. this.user = user;
  42. }
  43. /**
  44. * @return the ideasList
  45. */
  46. public List<Idea> getIdeasList() {
  47. return ideasList;
  48. }
  49. /**
  50. * @param ideasList the ideasList to set
  51. */
  52. public void setIdeasList(List<Idea> ideasList) {
  53. this.ideasList = ideasList;
  54. }
  55. }