/*
 * Generated by JasperReports - 12/23/15 9:14 PM
 */
import net.sf.jasperreports.engine.*;
import net.sf.jasperreports.engine.fill.*;

import java.util.*;
import java.math.*;
import java.text.*;
import java.io.*;
import java.net.*;

import gov.va.med.fw.util.*;
import net.sf.jasperreports.engine.*;
import java.util.*;
import net.sf.jasperreports.engine.data.*;
import org.springframework.core.io.*;


/**
 *
 */
public class total_vets_by_enrollment_status_summary_1450930481164_399355 extends JREvaluator
{


    /**
     *
     */
    private JRFillParameter parameter_startDate = null;
    private JRFillParameter parameter_JASPER_REPORT = null;
    private JRFillParameter parameter_REPORT_TIME_ZONE = null;
    private JRFillParameter parameter_Type = null;
    private JRFillParameter parameter_REPORT_FILE_RESOLVER = null;
    private JRFillParameter parameter_REPORT_PARAMETERS_MAP = null;
    private JRFillParameter parameter_endDate = null;
    private JRFillParameter parameter_REPORT_CONTEXT = null;
    private JRFillParameter parameter_REPORT_CLASS_LOADER = null;
    private JRFillParameter parameter_REPORT_DATA_SOURCE = null;
    private JRFillParameter parameter_REPORT_URL_HANDLER_FACTORY = null;
    private JRFillParameter parameter_IS_IGNORE_PAGINATION = null;
    private JRFillParameter parameter_REPORT_MAX_COUNT = null;
    private JRFillParameter parameter_REPORT_TEMPLATES = null;
    private JRFillParameter parameter_REPORT_LOCALE = null;
    private JRFillParameter parameter_REPORT_VIRTUALIZER = null;
    private JRFillParameter parameter_SORT_FIELDS = null;
    private JRFillParameter parameter_REPORT_SCRIPTLET = null;
    private JRFillParameter parameter_runDate = null;
    private JRFillParameter parameter_REPORT_CONNECTION = null;
    private JRFillParameter parameter_Title = null;
    private JRFillParameter parameter_FILTER = null;
    private JRFillParameter parameter_JASPER_REPORTS_CONTEXT = null;
    private JRFillParameter parameter_REPORT_FORMAT_FACTORY = null;
    private JRFillParameter parameter_DISPLAY_STATUS = null;
    private JRFillParameter parameter_REPORT_RESOURCE_BUNDLE = null;
    private JRFillField field_site = null;
    private JRFillField field_visn = null;
    private JRFillField field_site_total = null;
    private JRFillField field_grand_total = null;
    private JRFillField field_visn_total = null;
    private JRFillVariable variable_PAGE_NUMBER = null;
    private JRFillVariable variable_COLUMN_NUMBER = null;
    private JRFillVariable variable_REPORT_COUNT = null;
    private JRFillVariable variable_PAGE_COUNT = null;
    private JRFillVariable variable_COLUMN_COUNT = null;
    private JRFillVariable variable_VISN_COUNT = null;
    private JRFillVariable variable_Site_COUNT = null;


    /**
     *
     */
    public void customizedInit(
        Map pm,
        Map fm,
        Map vm
        )
    {
        initParams(pm);
        initFields(fm);
        initVars(vm);
    }


    /**
     *
     */
    private void initParams(Map pm)
    {
        parameter_startDate = (JRFillParameter)pm.get("startDate");
        parameter_JASPER_REPORT = (JRFillParameter)pm.get("JASPER_REPORT");
        parameter_REPORT_TIME_ZONE = (JRFillParameter)pm.get("REPORT_TIME_ZONE");
        parameter_Type = (JRFillParameter)pm.get("Type");
        parameter_REPORT_FILE_RESOLVER = (JRFillParameter)pm.get("REPORT_FILE_RESOLVER");
        parameter_REPORT_PARAMETERS_MAP = (JRFillParameter)pm.get("REPORT_PARAMETERS_MAP");
        parameter_endDate = (JRFillParameter)pm.get("endDate");
        parameter_REPORT_CONTEXT = (JRFillParameter)pm.get("REPORT_CONTEXT");
        parameter_REPORT_CLASS_LOADER = (JRFillParameter)pm.get("REPORT_CLASS_LOADER");
        parameter_REPORT_DATA_SOURCE = (JRFillParameter)pm.get("REPORT_DATA_SOURCE");
        parameter_REPORT_URL_HANDLER_FACTORY = (JRFillParameter)pm.get("REPORT_URL_HANDLER_FACTORY");
        parameter_IS_IGNORE_PAGINATION = (JRFillParameter)pm.get("IS_IGNORE_PAGINATION");
        parameter_REPORT_MAX_COUNT = (JRFillParameter)pm.get("REPORT_MAX_COUNT");
        parameter_REPORT_TEMPLATES = (JRFillParameter)pm.get("REPORT_TEMPLATES");
        parameter_REPORT_LOCALE = (JRFillParameter)pm.get("REPORT_LOCALE");
        parameter_REPORT_VIRTUALIZER = (JRFillParameter)pm.get("REPORT_VIRTUALIZER");
        parameter_SORT_FIELDS = (JRFillParameter)pm.get("SORT_FIELDS");
        parameter_REPORT_SCRIPTLET = (JRFillParameter)pm.get("REPORT_SCRIPTLET");
        parameter_runDate = (JRFillParameter)pm.get("runDate");
        parameter_REPORT_CONNECTION = (JRFillParameter)pm.get("REPORT_CONNECTION");
        parameter_Title = (JRFillParameter)pm.get("Title");
        parameter_FILTER = (JRFillParameter)pm.get("FILTER");
        parameter_JASPER_REPORTS_CONTEXT = (JRFillParameter)pm.get("JASPER_REPORTS_CONTEXT");
        parameter_REPORT_FORMAT_FACTORY = (JRFillParameter)pm.get("REPORT_FORMAT_FACTORY");
        parameter_DISPLAY_STATUS = (JRFillParameter)pm.get("DISPLAY_STATUS");
        parameter_REPORT_RESOURCE_BUNDLE = (JRFillParameter)pm.get("REPORT_RESOURCE_BUNDLE");
    }


    /**
     *
     */
    private void initFields(Map fm)
    {
        field_site = (JRFillField)fm.get("site");
        field_visn = (JRFillField)fm.get("visn");
        field_site_total = (JRFillField)fm.get("site_total");
        field_grand_total = (JRFillField)fm.get("grand_total");
        field_visn_total = (JRFillField)fm.get("visn_total");
    }


    /**
     *
     */
    private void initVars(Map vm)
    {
        variable_PAGE_NUMBER = (JRFillVariable)vm.get("PAGE_NUMBER");
        variable_COLUMN_NUMBER = (JRFillVariable)vm.get("COLUMN_NUMBER");
        variable_REPORT_COUNT = (JRFillVariable)vm.get("REPORT_COUNT");
        variable_PAGE_COUNT = (JRFillVariable)vm.get("PAGE_COUNT");
        variable_COLUMN_COUNT = (JRFillVariable)vm.get("COLUMN_COUNT");
        variable_VISN_COUNT = (JRFillVariable)vm.get("VISN_COUNT");
        variable_Site_COUNT = (JRFillVariable)vm.get("Site_COUNT");
    }


    /**
     *
     */
    public Object evaluate(int id) throws Throwable
    {
        Object value = null;

        switch (id)
        {
            case 0 : 
            {
                value = "Total Enrolled Veterans by Enrollment Status"; //$JR_EXPR_ID=0$
                break;
            }
            case 1 : 
            {
                value = DateUtils.createCalendar( 2005, 9, 25 ).getTime(); //$JR_EXPR_ID=1$
                break;
            }
            case 2 : 
            {
                value = DateUtils.createCalendar( 2005, 10, 15 ).getTime(); //$JR_EXPR_ID=2$
                break;
            }
            case 3 : 
            {
                value = Calendar.getInstance().getTime(); //$JR_EXPR_ID=3$
                break;
            }
            case 4 : 
            {
                value = "Summary Report"; //$JR_EXPR_ID=4$
                break;
            }
            case 5 : 
            {
                value = Boolean.FALSE; //$JR_EXPR_ID=5$
                break;
            }
            case 6 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=6$
                break;
            }
            case 7 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=7$
                break;
            }
            case 8 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=8$
                break;
            }
            case 9 : 
            {
                value = new java.lang.Integer(0); //$JR_EXPR_ID=9$
                break;
            }
            case 10 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=10$
                break;
            }
            case 11 : 
            {
                value = new java.lang.Integer(0); //$JR_EXPR_ID=11$
                break;
            }
            case 12 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=12$
                break;
            }
            case 13 : 
            {
                value = new java.lang.Integer(0); //$JR_EXPR_ID=13$
                break;
            }
            case 14 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=14$
                break;
            }
            case 15 : 
            {
                value = new java.lang.Integer(0); //$JR_EXPR_ID=15$
                break;
            }
            case 16 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=16$
                break;
            }
            case 17 : 
            {
                value = new java.lang.Integer(0); //$JR_EXPR_ID=17$
                break;
            }
            case 18 : 
            {
                value = ((java.lang.String)field_visn.getValue()); //$JR_EXPR_ID=18$
                break;
            }
            case 19 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_visn.getValue()) != null ); //$JR_EXPR_ID=19$
                break;
            }
            case 20 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_visn.getValue()) != null ); //$JR_EXPR_ID=20$
                break;
            }
            case 21 : 
            {
                value = ((java.lang.String)field_visn.getValue()); //$JR_EXPR_ID=21$
                break;
            }
            case 22 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_visn.getValue()) != null ); //$JR_EXPR_ID=22$
                break;
            }
            case 23 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_visn.getValue()) != null && ((java.lang.String)field_site.getValue()) != null ); //$JR_EXPR_ID=23$
                break;
            }
            case 24 : 
            {
                value = ((java.lang.String)field_visn.getValue()) + " Total:   " + ((java.lang.Integer)field_visn_total.getValue()); //$JR_EXPR_ID=24$
                break;
            }
            case 25 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_site.getValue()) == null ); //$JR_EXPR_ID=25$
                break;
            }
            case 26 : 
            {
                value = "Total:   " + ((java.lang.Integer)field_visn_total.getValue()); //$JR_EXPR_ID=26$
                break;
            }
            case 27 : 
            {
                value = ((java.lang.String)field_site.getValue()); //$JR_EXPR_ID=27$
                break;
            }
            case 28 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_site.getValue()) != null ); //$JR_EXPR_ID=28$
                break;
            }
            case 29 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_site.getValue()) != null ); //$JR_EXPR_ID=29$
                break;
            }
            case 30 : 
            {
                value = ((java.lang.String)field_site.getValue()); //$JR_EXPR_ID=30$
                break;
            }
            case 31 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_site.getValue()) != null ); //$JR_EXPR_ID=31$
                break;
            }
            case 32 : 
            {
                value = ((java.lang.Integer)field_site_total.getValue()); //$JR_EXPR_ID=32$
                break;
            }
            case 33 : 
            {
                value = (new ClassPathResource("vaseal.gif")).getInputStream(); //$JR_EXPR_ID=33$
                break;
            }
            case 34 : 
            {
                value = ((java.lang.String)parameter_Title.getValue()); //$JR_EXPR_ID=34$
                break;
            }
            case 35 : 
            {
                value = "Title"; //$JR_EXPR_ID=35$
                break;
            }
            case 36 : 
            {
                value = ((java.util.Date)parameter_startDate.getValue()); //$JR_EXPR_ID=36$
                break;
            }
            case 37 : 
            {
                value = ((java.util.Date)parameter_endDate.getValue()); //$JR_EXPR_ID=37$
                break;
            }
            case 38 : 
            {
                value = ((java.util.Date)parameter_runDate.getValue()); //$JR_EXPR_ID=38$
                break;
            }
            case 39 : 
            {
                value = ((java.lang.String)parameter_Type.getValue()); //$JR_EXPR_ID=39$
                break;
            }
            case 40 : 
            {
                value = ((java.lang.Boolean)parameter_DISPLAY_STATUS.getValue()); //$JR_EXPR_ID=40$
                break;
            }
            case 41 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_site.getValue()) == null ); //$JR_EXPR_ID=41$
                break;
            }
            case 42 : 
            {
                value = ((net.sf.jasperreports.engine.data.JRXmlDataSource) ((net.sf.jasperreports.engine.JRDataSource)parameter_REPORT_DATA_SOURCE.getValue())).dataSource("/Veterans/Total/Veteran[id='" + ((java.lang.String)field_visn.getValue()) + "']"); //$JR_EXPR_ID=42$
                break;
            }
            case 43 : 
            {
                value = "total_vets_by_enrollment_status_subreport.jasper"; //$JR_EXPR_ID=43$
                break;
            }
            case 44 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_site.getValue()) != null ); //$JR_EXPR_ID=44$
                break;
            }
            case 45 : 
            {
                value = ((net.sf.jasperreports.engine.data.JRXmlDataSource) ((net.sf.jasperreports.engine.JRDataSource)parameter_REPORT_DATA_SOURCE.getValue())).dataSource("/Veterans/Total/Veteran[id='" + ((java.lang.String)field_site.getValue()) + "']"); //$JR_EXPR_ID=45$
                break;
            }
            case 46 : 
            {
                value = "total_vets_by_enrollment_status_subreport.jasper"; //$JR_EXPR_ID=46$
                break;
            }
            case 47 : 
            {
                value = "Page " + ((java.lang.Integer)variable_PAGE_NUMBER.getValue()) + " of "; //$JR_EXPR_ID=47$
                break;
            }
            case 48 : 
            {
                value = "" + ((java.lang.Integer)variable_PAGE_NUMBER.getValue()) + ""; //$JR_EXPR_ID=48$
                break;
            }
            case 49 : 
            {
                value = "Page " + ((java.lang.Integer)variable_PAGE_NUMBER.getValue()) + " of "; //$JR_EXPR_ID=49$
                break;
            }
            case 50 : 
            {
                value = "" + ((java.lang.Integer)variable_PAGE_NUMBER.getValue()) + ""; //$JR_EXPR_ID=50$
                break;
            }
            case 51 : 
            {
                value = ((java.lang.Integer)field_grand_total.getValue()); //$JR_EXPR_ID=51$
                break;
            }
           default :
           {
           }
        }
        
        return value;
    }


    /**
     *
     */
    public Object evaluateOld(int id) throws Throwable
    {
        Object value = null;

        switch (id)
        {
            case 0 : 
            {
                value = "Total Enrolled Veterans by Enrollment Status"; //$JR_EXPR_ID=0$
                break;
            }
            case 1 : 
            {
                value = DateUtils.createCalendar( 2005, 9, 25 ).getTime(); //$JR_EXPR_ID=1$
                break;
            }
            case 2 : 
            {
                value = DateUtils.createCalendar( 2005, 10, 15 ).getTime(); //$JR_EXPR_ID=2$
                break;
            }
            case 3 : 
            {
                value = Calendar.getInstance().getTime(); //$JR_EXPR_ID=3$
                break;
            }
            case 4 : 
            {
                value = "Summary Report"; //$JR_EXPR_ID=4$
                break;
            }
            case 5 : 
            {
                value = Boolean.FALSE; //$JR_EXPR_ID=5$
                break;
            }
            case 6 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=6$
                break;
            }
            case 7 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=7$
                break;
            }
            case 8 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=8$
                break;
            }
            case 9 : 
            {
                value = new java.lang.Integer(0); //$JR_EXPR_ID=9$
                break;
            }
            case 10 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=10$
                break;
            }
            case 11 : 
            {
                value = new java.lang.Integer(0); //$JR_EXPR_ID=11$
                break;
            }
            case 12 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=12$
                break;
            }
            case 13 : 
            {
                value = new java.lang.Integer(0); //$JR_EXPR_ID=13$
                break;
            }
            case 14 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=14$
                break;
            }
            case 15 : 
            {
                value = new java.lang.Integer(0); //$JR_EXPR_ID=15$
                break;
            }
            case 16 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=16$
                break;
            }
            case 17 : 
            {
                value = new java.lang.Integer(0); //$JR_EXPR_ID=17$
                break;
            }
            case 18 : 
            {
                value = ((java.lang.String)field_visn.getOldValue()); //$JR_EXPR_ID=18$
                break;
            }
            case 19 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_visn.getOldValue()) != null ); //$JR_EXPR_ID=19$
                break;
            }
            case 20 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_visn.getOldValue()) != null ); //$JR_EXPR_ID=20$
                break;
            }
            case 21 : 
            {
                value = ((java.lang.String)field_visn.getOldValue()); //$JR_EXPR_ID=21$
                break;
            }
            case 22 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_visn.getOldValue()) != null ); //$JR_EXPR_ID=22$
                break;
            }
            case 23 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_visn.getOldValue()) != null && ((java.lang.String)field_site.getOldValue()) != null ); //$JR_EXPR_ID=23$
                break;
            }
            case 24 : 
            {
                value = ((java.lang.String)field_visn.getOldValue()) + " Total:   " + ((java.lang.Integer)field_visn_total.getOldValue()); //$JR_EXPR_ID=24$
                break;
            }
            case 25 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_site.getOldValue()) == null ); //$JR_EXPR_ID=25$
                break;
            }
            case 26 : 
            {
                value = "Total:   " + ((java.lang.Integer)field_visn_total.getOldValue()); //$JR_EXPR_ID=26$
                break;
            }
            case 27 : 
            {
                value = ((java.lang.String)field_site.getOldValue()); //$JR_EXPR_ID=27$
                break;
            }
            case 28 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_site.getOldValue()) != null ); //$JR_EXPR_ID=28$
                break;
            }
            case 29 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_site.getOldValue()) != null ); //$JR_EXPR_ID=29$
                break;
            }
            case 30 : 
            {
                value = ((java.lang.String)field_site.getOldValue()); //$JR_EXPR_ID=30$
                break;
            }
            case 31 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_site.getOldValue()) != null ); //$JR_EXPR_ID=31$
                break;
            }
            case 32 : 
            {
                value = ((java.lang.Integer)field_site_total.getOldValue()); //$JR_EXPR_ID=32$
                break;
            }
            case 33 : 
            {
                value = (new ClassPathResource("vaseal.gif")).getInputStream(); //$JR_EXPR_ID=33$
                break;
            }
            case 34 : 
            {
                value = ((java.lang.String)parameter_Title.getValue()); //$JR_EXPR_ID=34$
                break;
            }
            case 35 : 
            {
                value = "Title"; //$JR_EXPR_ID=35$
                break;
            }
            case 36 : 
            {
                value = ((java.util.Date)parameter_startDate.getValue()); //$JR_EXPR_ID=36$
                break;
            }
            case 37 : 
            {
                value = ((java.util.Date)parameter_endDate.getValue()); //$JR_EXPR_ID=37$
                break;
            }
            case 38 : 
            {
                value = ((java.util.Date)parameter_runDate.getValue()); //$JR_EXPR_ID=38$
                break;
            }
            case 39 : 
            {
                value = ((java.lang.String)parameter_Type.getValue()); //$JR_EXPR_ID=39$
                break;
            }
            case 40 : 
            {
                value = ((java.lang.Boolean)parameter_DISPLAY_STATUS.getValue()); //$JR_EXPR_ID=40$
                break;
            }
            case 41 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_site.getOldValue()) == null ); //$JR_EXPR_ID=41$
                break;
            }
            case 42 : 
            {
                value = ((net.sf.jasperreports.engine.data.JRXmlDataSource) ((net.sf.jasperreports.engine.JRDataSource)parameter_REPORT_DATA_SOURCE.getValue())).dataSource("/Veterans/Total/Veteran[id='" + ((java.lang.String)field_visn.getOldValue()) + "']"); //$JR_EXPR_ID=42$
                break;
            }
            case 43 : 
            {
                value = "total_vets_by_enrollment_status_subreport.jasper"; //$JR_EXPR_ID=43$
                break;
            }
            case 44 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_site.getOldValue()) != null ); //$JR_EXPR_ID=44$
                break;
            }
            case 45 : 
            {
                value = ((net.sf.jasperreports.engine.data.JRXmlDataSource) ((net.sf.jasperreports.engine.JRDataSource)parameter_REPORT_DATA_SOURCE.getValue())).dataSource("/Veterans/Total/Veteran[id='" + ((java.lang.String)field_site.getOldValue()) + "']"); //$JR_EXPR_ID=45$
                break;
            }
            case 46 : 
            {
                value = "total_vets_by_enrollment_status_subreport.jasper"; //$JR_EXPR_ID=46$
                break;
            }
            case 47 : 
            {
                value = "Page " + ((java.lang.Integer)variable_PAGE_NUMBER.getOldValue()) + " of "; //$JR_EXPR_ID=47$
                break;
            }
            case 48 : 
            {
                value = "" + ((java.lang.Integer)variable_PAGE_NUMBER.getOldValue()) + ""; //$JR_EXPR_ID=48$
                break;
            }
            case 49 : 
            {
                value = "Page " + ((java.lang.Integer)variable_PAGE_NUMBER.getOldValue()) + " of "; //$JR_EXPR_ID=49$
                break;
            }
            case 50 : 
            {
                value = "" + ((java.lang.Integer)variable_PAGE_NUMBER.getOldValue()) + ""; //$JR_EXPR_ID=50$
                break;
            }
            case 51 : 
            {
                value = ((java.lang.Integer)field_grand_total.getOldValue()); //$JR_EXPR_ID=51$
                break;
            }
           default :
           {
           }
        }
        
        return value;
    }


    /**
     *
     */
    public Object evaluateEstimated(int id) throws Throwable
    {
        Object value = null;

        switch (id)
        {
            case 0 : 
            {
                value = "Total Enrolled Veterans by Enrollment Status"; //$JR_EXPR_ID=0$
                break;
            }
            case 1 : 
            {
                value = DateUtils.createCalendar( 2005, 9, 25 ).getTime(); //$JR_EXPR_ID=1$
                break;
            }
            case 2 : 
            {
                value = DateUtils.createCalendar( 2005, 10, 15 ).getTime(); //$JR_EXPR_ID=2$
                break;
            }
            case 3 : 
            {
                value = Calendar.getInstance().getTime(); //$JR_EXPR_ID=3$
                break;
            }
            case 4 : 
            {
                value = "Summary Report"; //$JR_EXPR_ID=4$
                break;
            }
            case 5 : 
            {
                value = Boolean.FALSE; //$JR_EXPR_ID=5$
                break;
            }
            case 6 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=6$
                break;
            }
            case 7 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=7$
                break;
            }
            case 8 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=8$
                break;
            }
            case 9 : 
            {
                value = new java.lang.Integer(0); //$JR_EXPR_ID=9$
                break;
            }
            case 10 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=10$
                break;
            }
            case 11 : 
            {
                value = new java.lang.Integer(0); //$JR_EXPR_ID=11$
                break;
            }
            case 12 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=12$
                break;
            }
            case 13 : 
            {
                value = new java.lang.Integer(0); //$JR_EXPR_ID=13$
                break;
            }
            case 14 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=14$
                break;
            }
            case 15 : 
            {
                value = new java.lang.Integer(0); //$JR_EXPR_ID=15$
                break;
            }
            case 16 : 
            {
                value = new java.lang.Integer(1); //$JR_EXPR_ID=16$
                break;
            }
            case 17 : 
            {
                value = new java.lang.Integer(0); //$JR_EXPR_ID=17$
                break;
            }
            case 18 : 
            {
                value = ((java.lang.String)field_visn.getValue()); //$JR_EXPR_ID=18$
                break;
            }
            case 19 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_visn.getValue()) != null ); //$JR_EXPR_ID=19$
                break;
            }
            case 20 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_visn.getValue()) != null ); //$JR_EXPR_ID=20$
                break;
            }
            case 21 : 
            {
                value = ((java.lang.String)field_visn.getValue()); //$JR_EXPR_ID=21$
                break;
            }
            case 22 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_visn.getValue()) != null ); //$JR_EXPR_ID=22$
                break;
            }
            case 23 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_visn.getValue()) != null && ((java.lang.String)field_site.getValue()) != null ); //$JR_EXPR_ID=23$
                break;
            }
            case 24 : 
            {
                value = ((java.lang.String)field_visn.getValue()) + " Total:   " + ((java.lang.Integer)field_visn_total.getValue()); //$JR_EXPR_ID=24$
                break;
            }
            case 25 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_site.getValue()) == null ); //$JR_EXPR_ID=25$
                break;
            }
            case 26 : 
            {
                value = "Total:   " + ((java.lang.Integer)field_visn_total.getValue()); //$JR_EXPR_ID=26$
                break;
            }
            case 27 : 
            {
                value = ((java.lang.String)field_site.getValue()); //$JR_EXPR_ID=27$
                break;
            }
            case 28 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_site.getValue()) != null ); //$JR_EXPR_ID=28$
                break;
            }
            case 29 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_site.getValue()) != null ); //$JR_EXPR_ID=29$
                break;
            }
            case 30 : 
            {
                value = ((java.lang.String)field_site.getValue()); //$JR_EXPR_ID=30$
                break;
            }
            case 31 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_site.getValue()) != null ); //$JR_EXPR_ID=31$
                break;
            }
            case 32 : 
            {
                value = ((java.lang.Integer)field_site_total.getValue()); //$JR_EXPR_ID=32$
                break;
            }
            case 33 : 
            {
                value = (new ClassPathResource("vaseal.gif")).getInputStream(); //$JR_EXPR_ID=33$
                break;
            }
            case 34 : 
            {
                value = ((java.lang.String)parameter_Title.getValue()); //$JR_EXPR_ID=34$
                break;
            }
            case 35 : 
            {
                value = "Title"; //$JR_EXPR_ID=35$
                break;
            }
            case 36 : 
            {
                value = ((java.util.Date)parameter_startDate.getValue()); //$JR_EXPR_ID=36$
                break;
            }
            case 37 : 
            {
                value = ((java.util.Date)parameter_endDate.getValue()); //$JR_EXPR_ID=37$
                break;
            }
            case 38 : 
            {
                value = ((java.util.Date)parameter_runDate.getValue()); //$JR_EXPR_ID=38$
                break;
            }
            case 39 : 
            {
                value = ((java.lang.String)parameter_Type.getValue()); //$JR_EXPR_ID=39$
                break;
            }
            case 40 : 
            {
                value = ((java.lang.Boolean)parameter_DISPLAY_STATUS.getValue()); //$JR_EXPR_ID=40$
                break;
            }
            case 41 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_site.getValue()) == null ); //$JR_EXPR_ID=41$
                break;
            }
            case 42 : 
            {
                value = ((net.sf.jasperreports.engine.data.JRXmlDataSource) ((net.sf.jasperreports.engine.JRDataSource)parameter_REPORT_DATA_SOURCE.getValue())).dataSource("/Veterans/Total/Veteran[id='" + ((java.lang.String)field_visn.getValue()) + "']"); //$JR_EXPR_ID=42$
                break;
            }
            case 43 : 
            {
                value = "total_vets_by_enrollment_status_subreport.jasper"; //$JR_EXPR_ID=43$
                break;
            }
            case 44 : 
            {
                value = Boolean.valueOf( ((java.lang.String)field_site.getValue()) != null ); //$JR_EXPR_ID=44$
                break;
            }
            case 45 : 
            {
                value = ((net.sf.jasperreports.engine.data.JRXmlDataSource) ((net.sf.jasperreports.engine.JRDataSource)parameter_REPORT_DATA_SOURCE.getValue())).dataSource("/Veterans/Total/Veteran[id='" + ((java.lang.String)field_site.getValue()) + "']"); //$JR_EXPR_ID=45$
                break;
            }
            case 46 : 
            {
                value = "total_vets_by_enrollment_status_subreport.jasper"; //$JR_EXPR_ID=46$
                break;
            }
            case 47 : 
            {
                value = "Page " + ((java.lang.Integer)variable_PAGE_NUMBER.getEstimatedValue()) + " of "; //$JR_EXPR_ID=47$
                break;
            }
            case 48 : 
            {
                value = "" + ((java.lang.Integer)variable_PAGE_NUMBER.getEstimatedValue()) + ""; //$JR_EXPR_ID=48$
                break;
            }
            case 49 : 
            {
                value = "Page " + ((java.lang.Integer)variable_PAGE_NUMBER.getEstimatedValue()) + " of "; //$JR_EXPR_ID=49$
                break;
            }
            case 50 : 
            {
                value = "" + ((java.lang.Integer)variable_PAGE_NUMBER.getEstimatedValue()) + ""; //$JR_EXPR_ID=50$
                break;
            }
            case 51 : 
            {
                value = ((java.lang.Integer)field_grand_total.getValue()); //$JR_EXPR_ID=51$
                break;
            }
           default :
           {
           }
        }
        
        return value;
    }


}
