Newer
Older
CitrusClient / app / src / main / java / com / example / citrusclient / Citrus.java
  1. package com.example.citrusclient;
  2.  
  3. import android.app.Application;
  4.  
  5. public class Citrus extends Application {
  6.  
  7. //データ保存
  8. private String token;
  9. private String accountId;
  10. private Integer curBookId;
  11. private Integer curYear;
  12. private Integer curMonth;
  13. private Integer curDay;
  14. private String curLookingAccountId;
  15. private Integer curLookingBookId;
  16. //getter
  17. public String getToken(){
  18. return token;
  19. }
  20. public String getAccountId(){
  21. return accountId;
  22. }
  23. public Integer getCurBookId(){return curBookId;}
  24. public Integer getCurYear() {return curYear;}
  25. public Integer getCurMonth(){return curMonth;}
  26. public Integer getCurDay(){return curDay;}
  27. public String getCurLookingAccountId(){return curLookingAccountId;}
  28. public Integer getCurLookingBookId(){return curLookingBookId;}
  29. //setter
  30. public void setToken(String token){
  31. this.token = token;
  32. }
  33. public void setAccountId(String accountId){
  34. this.accountId = accountId;
  35. }
  36. public void setCurBookId(Integer curBookId){this.curBookId = curBookId;}
  37. public void setCurYear(Integer curYear){this.curYear = curYear;}
  38. public void setCurMonth(Integer curMonth){this.curMonth = curMonth;}
  39. public void setCurDay(Integer curDay){this.curDay = curDay;}
  40. public void setCurLookingAccountId(String curLookingAccountId){this.curLookingAccountId = curLookingAccountId;}
  41. public void setCurLookingBookId(Integer curLookingBookId){this.curLookingBookId = curLookingBookId;}
  42. }