package com.drillster.api2.group;

import java.util.Date;
import java.util.List;

import com.drillster.api2.objective.ObjectiveEvaluation;
import com.drillster.api21.practice.Drill;


public class GroupDrillResult implements GroupDrillableResult {

	private String id;
	private Drill drill;
	private int proficiency;
	private int timeSpent;
	private List<ObjectiveEvaluation> evaluations;
	private Date lastPracticed;

	@Override public String getId() { return this.id; }
    public Drill getDrill() { return this.drill; }
	@Override public int getProficiency() { return this.proficiency; }
	@Override public int getTimeSpent() { return this.timeSpent; }
	@Override public List<ObjectiveEvaluation> getEvaluations() { return this.evaluations; }
	@Override public Date getLastPracticed() { return lastPracticed; }

	@Override public GroupDrillResult setId(String id) { this.id = id; return this; }
	public GroupDrillableResult setDrill(Drill drill) { this.drill = drill ; return this; }
	@Override public GroupDrillResult setProficiency(int proficiency) { this.proficiency = proficiency; return this; }
	@Override public GroupDrillResult setTimeSpent(int timeSpent) { this.timeSpent = timeSpent; return this; }
	@Override public GroupDrillResult setEvaluations(List<ObjectiveEvaluation> evaluations) { this.evaluations = evaluations; return this; }
	@Override public GroupDrillResult setLastPracticed(Date lastPracticed) { this.lastPracticed = lastPracticed; return this; }

}
