Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. package ru.hse.events.client.adapterEvent;
  2.  
  3. import ru.hse.events.client.connection.entities.Event;
  4.  
  5. public class EventWithDelimiter {
  6.  
  7. public static final int EVENT_TYPE = 0;
  8. public static final int DELIMITER_TYPE = 1;
  9.  
  10. private Event event;
  11. private int type;
  12. private String dateType;
  13.  
  14. public EventWithDelimiter(String dateType, Event event, int type) {
  15. this.event = event;
  16. this.dateType = dateType;
  17. this.type = type;
  18. }
  19.  
  20. public Event getEvent() {
  21. return event;
  22. }
  23.  
  24. public void setEvent(Event event) {
  25. this.event = event;
  26. }
  27. public void setType(int type) {
  28. this.type = type;
  29. }
  30. public String getDateType() {
  31. return dateType;
  32. }
  33. public int getType() {
  34. return type;
  35. }
  36.  
  37. public void setDateType(String dateType) {
  38. this.dateType = dateType;
  39. }
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement