class EligibleCoupleDetailController {

    @JavascriptInterface
    public String get() {
        EligibleCouple eligibleCouple = allEligibleCouples.findByCaseID(caseId);

        ECDetail ecContext = new ECDetail(caseId, eligibleCouple.village(),
                eligibleCouple.subCenter(), eligibleCouple.ecNumber(),
                eligibleCouple.isHighPriority(), null, eligibleCouple.photoPath(),
                new ArrayList<Child>(),
                new CoupleDetails(eligibleCouple.wifeName(), eligibleCouple.husbandName(),
                        eligibleCouple.ecNumber(), eligibleCouple.isOutOfArea()),
                eligibleCouple.details()).
                addTimelineEvents(getEvents());

        return new Gson().toJson(ecContext);
    }

    public  EligibleCoupleDetailController(Context context, String caseId, AllEligibleCouples
            allEligibleCouples, AllTimelineEvents allTimelineEvents);

}