Advertisement
Guest User

Untitled

a guest
Aug 20th, 2014
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. package com.accenture.domain;
  2.  
  3. import java.util.Date;
  4.  
  5. public class Order implements Item{
  6. private int clientId;
  7. private int status;
  8. private Date date;
  9.  
  10. public Order() {
  11.  
  12. }
  13.  
  14. public Order(int clientId, int status,Date date) {
  15. super();
  16. this.clientId = clientId;
  17. this.status = status;
  18. this.date = date;
  19. }
  20.  
  21. public int getClientId() {
  22. return clientId;
  23. }
  24.  
  25. public void setClientId(int clientId) {
  26. this.clientId = clientId;
  27. }
  28.  
  29. public int getStatus() {
  30. return status;
  31. }
  32.  
  33. public void setStatus(int status) {
  34. this.status = status;
  35. }
  36.  
  37. public Date getDate() {
  38. return date;
  39. }
  40.  
  41. public void setDate(Date date) {
  42. this.date = date;
  43. }
  44.  
  45. @Override
  46. public String toString() {
  47. return "Product [clientId=" + clientId + ", status=" + status + ", date=" + date
  48. + " ]";
  49. }
  50.  
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement