Newer
Older
NemophilaClient / app / src / main / java / com / example / nemophila / Nemophila.java
package com.example.nemophila;

import android.app.Application;

import com.example.nemophila.entities.Shop;

public class Nemophila extends Application {
    private String name;
    private String uid;
    private String token;
    private Shop currentShop;
    private double currentLongitude;
    private double currentLatitude;

    //Getter

    public String getName() {
        return name;
    }
    public String getUid() {
        return uid;
    }
    public String getToken() {
        return token;
    }
    public Shop getCurrentShop() {
        return currentShop;
    }
    public double getCurrentLongitude() {
        return currentLongitude;
    }
    public double getCurrentLatitude() {
        return currentLatitude;
    }

    //Setter
    public void setName(String name) {
        this.name = name;
    }
    public void setUid(String uid) {
        this.uid = uid;
    }
    public void setToken(String token) {
        this.token = token;
    }
    public void setCurrentShop(Shop currentShop) {
        this.currentShop = currentShop;
    }
    public void setCurrentLongitude(double currentLongitude) {
        this.currentLongitude = currentLongitude;
    }
    public void setCurrentLatitude(double currentLatitude) {
        this.currentLatitude = currentLatitude;
    }
}