Newer
Older
CitrusClient / app / src / main / java / com / example / citrusclient / Citrus.java
package com.example.citrusclient;

import android.app.Application;

public class Citrus extends Application {

    //データ保存
    private String token;
    private String accountId;
    private Integer curBookId;
    private Integer curYear;
    private Integer curMonth;
    private Integer curDay;
    private String curLookingAccountId;
    private Integer curLookingBookId;
    private String accountColor;
    //getter
    public String getToken(){
        return token;
    }
    public String getAccountId(){
        return accountId;
    }
    public Integer getCurBookId(){return curBookId;}
    public Integer getCurYear() {return curYear;}
    public Integer getCurMonth(){return curMonth;}
    public Integer getCurDay(){return curDay;}
    public String getCurLookingAccountId(){return curLookingAccountId;}
    public Integer getCurLookingBookId(){return curLookingBookId;}
    public String getAccountColor(){return accountColor;}

    //setter
    public void setToken(String token){
        this.token = token;
    }
    public void setAccountId(String accountId){
        this.accountId = accountId;
    }
    public void setCurBookId(Integer curBookId){this.curBookId = curBookId;}
    public void setCurYear(Integer curYear){this.curYear = curYear;}
    public void setCurMonth(Integer curMonth){this.curMonth = curMonth;}
    public void setCurDay(Integer curDay){this.curDay = curDay;}
    public void setCurLookingAccountId(String curLookingAccountId){this.curLookingAccountId = curLookingAccountId;}
    public void setCurLookingBookId(Integer curLookingBookId){this.curLookingBookId = curLookingBookId;}
    public void setAccountColor(String accountColor){this.accountColor = accountColor;}
}