package com.example.habitrack;

/**
 * Created by sshussai on 10/21/17.
 */


public class HabitEvent {
    String word = "hello";

    private String title;
    private boolean status;
    private int eventsDone;
    private int totalEventCount;

    public String getTitle(){
        return this.title;
    }

    public float getProgress(){
        return 100*(eventsDone/totalEventCount);
    }

    public boolean getStatus(){
        return false;
    }
    
    public String get_my_Word() {
        return word;
    }
}

package com.example.habitrack;

/**
 * Created by sshussai on 10/21/17.
 */


public class HabitEvent {
    String word = "hello";

    private String title;
    private String comment;
    private boolean status;
    private int eventsDone;
    private int totalEventCount;

    public HabitEvent(String title) {
        this.title = title;
    }

    public String getTitle(){
        return this.title;
    }

    public String getComment(){
        return this.comment;
    }

    public float getProgress(){
        return 100*(eventsDone/totalEventCount);
    }

    public boolean getStatus(){
        return false;
    }

    public String get_my_Word() {
        return word;
    }
}

Add constructor to HabitEvent Entity