package com.example.habitrack;

import java.util.ArrayList;

/**
 * Created by sshussai on 11/29/17.
 */

public class HabitTypeMetadata {

    private Integer localID;
    private String esID;
    private String title;
    private Boolean canBeScheduled;
    private ArrayList<Integer> schedule;


    public HabitTypeMetadata(Integer localID, String esID) {
        this.localID = localID;
        this.esID = esID;
    }

    public Integer getLocalID() {
        return localID;
    }

    public void setLocalID(Integer localID) {
        this.localID = localID;
    }

    public String getEsID() {
        return esID;
    }

    public void setEsID(String esID) {
        this.esID = esID;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Boolean getCanBeScheduled() {
        return canBeScheduled;
    }

    public void setCanBeScheduled(Boolean canBeScheduled) {
        this.canBeScheduled = canBeScheduled;
    }

    public ArrayList<Integer> getSchedule() {
        return schedule;
    }

    public void setSchedule(ArrayList<Integer> schedule) {
        this.schedule = schedule;
    }

    @Override
    public String toString() {
        return esID + "|" + localID + "|" + title;
    }
}

@@ -245,24 +245,60 @@
 eScheduled;%0A
+    private Boolean scheduledToday;%0A
     private 
@@ -439,32 +439,77 @@
 is.esID = esID;%0A
+        this.scheduledToday = Boolean.FALSE;%0A
     %7D%0A%0A    publi
@@ -1099,32 +1099,224 @@
 heduled;%0A    %7D%0A%0A
+    public Boolean getScheduledToday() %7B%0A        return scheduledToday;%0A    %7D%0A%0A    public void setScheduledToday(Boolean scheduledToday) %7B%0A        this.scheduledToday = scheduledToday;%0A    %7D%0A%0A
     public Array

add scheduledToday bool var for htmd