/* * Generated by JasperReports - 25/03/10 16:05 */ 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 net.sf.jasperreports.engine.*; import java.util.*; import net.sf.jasperreports.engine.data.*; /** * */ public class ApprovementCertificate_1269533102914_511734 extends JREvaluator { /** * */ private JRFillParameter parameter_urgencyAmount = null; private JRFillParameter parameter_REPORT_TIME_ZONE = null; private JRFillParameter parameter_imageUrl = null; private JRFillParameter parameter_institutionName = null; private JRFillParameter parameter_REPORT_FILE_RESOLVER = null; private JRFillParameter parameter_approvementsInfo = null; private JRFillParameter parameter_REPORT_PARAMETERS_MAP = null; private JRFillParameter parameter_REPORT_CLASS_LOADER = null; private JRFillParameter parameter_REPORT_URL_HANDLER_FACTORY = null; private JRFillParameter parameter_REPORT_DATA_SOURCE = null; private JRFillParameter parameter_postingRule = null; private JRFillParameter parameter_IS_IGNORE_PAGINATION = null; private JRFillParameter parameter_documentIdNumber = null; private JRFillParameter parameter_administrativeOfficeCoordinator = null; private JRFillParameter parameter_printPriceFields = null; private JRFillParameter parameter_REPORT_MAX_COUNT = null; private JRFillParameter parameter_baseAmountPlusAmountForUnits = null; private JRFillParameter parameter_REPORT_TEMPLATES = null; private JRFillParameter parameter_name = null; private JRFillParameter parameter_bundle = null; private JRFillParameter parameter_degreeDescription = null; private JRFillParameter parameter_REPORT_LOCALE = null; private JRFillParameter parameter_administrativeOfficeName = null; private JRFillParameter parameter_REPORT_VIRTUALIZER = null; private JRFillParameter parameter_REPORT_SCRIPTLET = null; private JRFillParameter parameter_documentRequest = null; private JRFillParameter parameter_REPORT_CONNECTION = null; private JRFillParameter parameter_registration = null; private JRFillParameter parameter_amountPerPage = null; private JRFillParameter parameter_employeeLocation = null; private JRFillParameter parameter_birthLocale = null; private JRFillParameter parameter_nationality = null; private JRFillParameter parameter_REPORT_FORMAT_FACTORY = null; private JRFillParameter parameter_universityName = null; private JRFillParameter parameter_day = null; private JRFillParameter parameter_REPORT_RESOURCE_BUNDLE = 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_endLine_COUNT = null; /** * */ public void customizedInit( Map pm, Map fm, Map vm ) { initParams(pm); initFields(fm); initVars(vm); } /** * */ private void initParams(Map pm) { parameter_urgencyAmount = (JRFillParameter)pm.get("urgencyAmount"); parameter_REPORT_TIME_ZONE = (JRFillParameter)pm.get("REPORT_TIME_ZONE"); parameter_imageUrl = (JRFillParameter)pm.get("imageUrl"); parameter_institutionName = (JRFillParameter)pm.get("institutionName"); parameter_REPORT_FILE_RESOLVER = (JRFillParameter)pm.get("REPORT_FILE_RESOLVER"); parameter_approvementsInfo = (JRFillParameter)pm.get("approvementsInfo"); parameter_REPORT_PARAMETERS_MAP = (JRFillParameter)pm.get("REPORT_PARAMETERS_MAP"); parameter_REPORT_CLASS_LOADER = (JRFillParameter)pm.get("REPORT_CLASS_LOADER"); parameter_REPORT_URL_HANDLER_FACTORY = (JRFillParameter)pm.get("REPORT_URL_HANDLER_FACTORY"); parameter_REPORT_DATA_SOURCE = (JRFillParameter)pm.get("REPORT_DATA_SOURCE"); parameter_postingRule = (JRFillParameter)pm.get("postingRule"); parameter_IS_IGNORE_PAGINATION = (JRFillParameter)pm.get("IS_IGNORE_PAGINATION"); parameter_documentIdNumber = (JRFillParameter)pm.get("documentIdNumber"); parameter_administrativeOfficeCoordinator = (JRFillParameter)pm.get("administrativeOfficeCoordinator"); parameter_printPriceFields = (JRFillParameter)pm.get("printPriceFields"); parameter_REPORT_MAX_COUNT = (JRFillParameter)pm.get("REPORT_MAX_COUNT"); parameter_baseAmountPlusAmountForUnits = (JRFillParameter)pm.get("baseAmountPlusAmountForUnits"); parameter_REPORT_TEMPLATES = (JRFillParameter)pm.get("REPORT_TEMPLATES"); parameter_name = (JRFillParameter)pm.get("name"); parameter_bundle = (JRFillParameter)pm.get("bundle"); parameter_degreeDescription = (JRFillParameter)pm.get("degreeDescription"); parameter_REPORT_LOCALE = (JRFillParameter)pm.get("REPORT_LOCALE"); parameter_administrativeOfficeName = (JRFillParameter)pm.get("administrativeOfficeName"); parameter_REPORT_VIRTUALIZER = (JRFillParameter)pm.get("REPORT_VIRTUALIZER"); parameter_REPORT_SCRIPTLET = (JRFillParameter)pm.get("REPORT_SCRIPTLET"); parameter_documentRequest = (JRFillParameter)pm.get("documentRequest"); parameter_REPORT_CONNECTION = (JRFillParameter)pm.get("REPORT_CONNECTION"); parameter_registration = (JRFillParameter)pm.get("registration"); parameter_amountPerPage = (JRFillParameter)pm.get("amountPerPage"); parameter_employeeLocation = (JRFillParameter)pm.get("employeeLocation"); parameter_birthLocale = (JRFillParameter)pm.get("birthLocale"); parameter_nationality = (JRFillParameter)pm.get("nationality"); parameter_REPORT_FORMAT_FACTORY = (JRFillParameter)pm.get("REPORT_FORMAT_FACTORY"); parameter_universityName = (JRFillParameter)pm.get("universityName"); parameter_day = (JRFillParameter)pm.get("day"); parameter_REPORT_RESOURCE_BUNDLE = (JRFillParameter)pm.get("REPORT_RESOURCE_BUNDLE"); } /** * */ private void initFields(Map fm) { } /** * */ 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_endLine_COUNT = (JRFillVariable)vm.get("endLine_COUNT"); } /** * */ public Object evaluate(int id) throws Throwable { Object value = null; switch (id) { case 0 : { value = (java.lang.Integer)(new Integer(1));//$JR_EXPR_ID=0$ break; } case 1 : { value = (java.lang.Integer)(new Integer(1));//$JR_EXPR_ID=1$ break; } case 2 : { value = (java.lang.Integer)(new Integer(1));//$JR_EXPR_ID=2$ break; } case 3 : { value = (java.lang.Integer)(new Integer(0));//$JR_EXPR_ID=3$ break; } case 4 : { value = (java.lang.Integer)(new Integer(1));//$JR_EXPR_ID=4$ break; } case 5 : { value = (java.lang.Integer)(new Integer(0));//$JR_EXPR_ID=5$ break; } case 6 : { value = (java.lang.Integer)(new Integer(1));//$JR_EXPR_ID=6$ break; } case 7 : { value = (java.lang.Integer)(new Integer(0));//$JR_EXPR_ID=7$ break; } case 8 : { value = (java.lang.Integer)(new Integer(1));//$JR_EXPR_ID=8$ break; } case 9 : { value = (java.lang.Integer)(new Integer(0));//$JR_EXPR_ID=9$ break; } case 10 : { value = (java.lang.Object)(null);//$JR_EXPR_ID=10$ break; } case 11 : { value = (java.lang.String)(((net.sourceforge.fenixedu.domain.Person)parameter_administrativeOfficeCoordinator.getValue()).getName());//$JR_EXPR_ID=11$ break; } case 12 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.coordinator." + (((net.sourceforge.fenixedu.domain.Person)parameter_administrativeOfficeCoordinator.getValue()).isMale() ? "male" : "female")) + " " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.of.the.male") + " " + ((java.lang.String)parameter_administrativeOfficeName.getValue()));//$JR_EXPR_ID=12$ break; } case 13 : { value = (java.lang.String)(((java.lang.String)parameter_institutionName.getValue()) + ", " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.in") + " " + ((java.lang.String)parameter_employeeLocation.getValue()) + ", " + ((java.lang.String)parameter_day.getValue()));//$JR_EXPR_ID=13$ break; } case 14 : { value = (java.lang.String)(((java.lang.String)parameter_imageUrl.getValue()));//$JR_EXPR_ID=14$ break; } case 15 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=15$ break; } case 16 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.stationery") + ".....");//$JR_EXPR_ID=16$ break; } case 17 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=17$ break; } case 18 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("documents.Certificate.baseAmountPlusAmountForUnits"));//$JR_EXPR_ID=18$ break; } case 19 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=19$ break; } case 20 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.urgency") + "......");//$JR_EXPR_ID=20$ break; } case 21 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=21$ break; } case 22 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=22$ break; } case 23 : { value = (java.lang.String)(((net.sourceforge.fenixedu.util.Money)parameter_amountPerPage.getValue()).multiply(new BigDecimal(((java.lang.Integer)variable_PAGE_NUMBER.getValue()))).toString() + " Eur");//$JR_EXPR_ID=23$ break; } case 24 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=24$ break; } case 25 : { value = (java.lang.String)(((net.sourceforge.fenixedu.util.Money)parameter_baseAmountPlusAmountForUnits.getValue()).toString() + " Eur");//$JR_EXPR_ID=25$ break; } case 26 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=26$ break; } case 27 : { value = (java.lang.String)(((net.sourceforge.fenixedu.util.Money)parameter_urgencyAmount.getValue()).toString() + " Eur");//$JR_EXPR_ID=27$ break; } case 28 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=28$ break; } case 29 : { value = (java.lang.String)(((net.sourceforge.fenixedu.util.Money)parameter_amountPerPage.getValue()).multiply(new BigDecimal(((java.lang.Integer)variable_PAGE_NUMBER.getValue()))).add(((net.sourceforge.fenixedu.util.Money)parameter_baseAmountPlusAmountForUnits.getValue())).add(((net.sourceforge.fenixedu.util.Money)parameter_urgencyAmount.getValue())).toString() + " Eur");//$JR_EXPR_ID=29$ break; } case 30 : { value = (java.lang.String)(" " + ((net.sourceforge.fenixedu.domain.Person)parameter_administrativeOfficeCoordinator.getValue()).getName() + ", " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.coordinator." + (((net.sourceforge.fenixedu.domain.Person)parameter_administrativeOfficeCoordinator.getValue()).isMale() ? "male" : "female")) + " " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.of.the.male") + " " + ((java.lang.String)parameter_administrativeOfficeName.getValue()).toUpperCase() + " " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.of.male") + " " + ((java.lang.String)parameter_institutionName.getValue()).toUpperCase() + ", " + ((java.lang.String)parameter_universityName.getValue()).toUpperCase());//$JR_EXPR_ID=30$ break; } case 31 : { value = (java.lang.String)(" " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.certifies").toUpperCase() + " " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.that") + ",");//$JR_EXPR_ID=31$ break; } case 32 : { value = (java.lang.String)(((java.lang.String)parameter_name.getValue()));//$JR_EXPR_ID=32$ break; } case 33 : { value = (java.lang.String)(((java.lang.String)parameter_documentIdNumber.getValue()));//$JR_EXPR_ID=33$ break; } case 34 : { value = (java.lang.String)(((java.lang.String)parameter_birthLocale.getValue()));//$JR_EXPR_ID=34$ break; } case 35 : { value = (java.lang.String)(((java.lang.String)parameter_nationality.getValue()));//$JR_EXPR_ID=35$ break; } case 36 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.in.the.male") + " " + ((java.lang.String)parameter_degreeDescription.getValue()) + ", " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("documents.ApprovementCertificate.detailedInfoIntro") + ":");//$JR_EXPR_ID=36$ break; } case 37 : { value = (java.lang.String)(((java.lang.String)parameter_approvementsInfo.getValue()));//$JR_EXPR_ID=37$ break; } case 38 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.serviceRequestNumberYear") + " " + ((net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.DocumentRequest)parameter_documentRequest.getValue()).getServiceRequestNumberYear().toString().trim());//$JR_EXPR_ID=38$ break; } case 39 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.verified") + " " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.by") + ": _______________________________");//$JR_EXPR_ID=39$ break; } case 40 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.student." + (((net.sourceforge.fenixedu.domain.student.Registration)parameter_registration.getValue()).getPerson().isMale() ? "male" : "female")) + " " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.number.short") + " " + ((net.sourceforge.fenixedu.domain.student.Registration)parameter_registration.getValue()).getNumber());//$JR_EXPR_ID=40$ break; } case 41 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.page.short"));//$JR_EXPR_ID=41$ break; } case 42 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.of.both"));//$JR_EXPR_ID=42$ break; } case 43 : { value = (java.lang.Integer)(((java.lang.Integer)variable_PAGE_NUMBER.getValue()));//$JR_EXPR_ID=43$ break; } case 44 : { value = (java.lang.Integer)(((java.lang.Integer)variable_PAGE_NUMBER.getValue()));//$JR_EXPR_ID=44$ break; } default : { } } return value; } /** * */ public Object evaluateOld(int id) throws Throwable { Object value = null; switch (id) { case 0 : { value = (java.lang.Integer)(new Integer(1));//$JR_EXPR_ID=0$ break; } case 1 : { value = (java.lang.Integer)(new Integer(1));//$JR_EXPR_ID=1$ break; } case 2 : { value = (java.lang.Integer)(new Integer(1));//$JR_EXPR_ID=2$ break; } case 3 : { value = (java.lang.Integer)(new Integer(0));//$JR_EXPR_ID=3$ break; } case 4 : { value = (java.lang.Integer)(new Integer(1));//$JR_EXPR_ID=4$ break; } case 5 : { value = (java.lang.Integer)(new Integer(0));//$JR_EXPR_ID=5$ break; } case 6 : { value = (java.lang.Integer)(new Integer(1));//$JR_EXPR_ID=6$ break; } case 7 : { value = (java.lang.Integer)(new Integer(0));//$JR_EXPR_ID=7$ break; } case 8 : { value = (java.lang.Integer)(new Integer(1));//$JR_EXPR_ID=8$ break; } case 9 : { value = (java.lang.Integer)(new Integer(0));//$JR_EXPR_ID=9$ break; } case 10 : { value = (java.lang.Object)(null);//$JR_EXPR_ID=10$ break; } case 11 : { value = (java.lang.String)(((net.sourceforge.fenixedu.domain.Person)parameter_administrativeOfficeCoordinator.getValue()).getName());//$JR_EXPR_ID=11$ break; } case 12 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.coordinator." + (((net.sourceforge.fenixedu.domain.Person)parameter_administrativeOfficeCoordinator.getValue()).isMale() ? "male" : "female")) + " " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.of.the.male") + " " + ((java.lang.String)parameter_administrativeOfficeName.getValue()));//$JR_EXPR_ID=12$ break; } case 13 : { value = (java.lang.String)(((java.lang.String)parameter_institutionName.getValue()) + ", " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.in") + " " + ((java.lang.String)parameter_employeeLocation.getValue()) + ", " + ((java.lang.String)parameter_day.getValue()));//$JR_EXPR_ID=13$ break; } case 14 : { value = (java.lang.String)(((java.lang.String)parameter_imageUrl.getValue()));//$JR_EXPR_ID=14$ break; } case 15 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=15$ break; } case 16 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.stationery") + ".....");//$JR_EXPR_ID=16$ break; } case 17 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=17$ break; } case 18 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("documents.Certificate.baseAmountPlusAmountForUnits"));//$JR_EXPR_ID=18$ break; } case 19 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=19$ break; } case 20 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.urgency") + "......");//$JR_EXPR_ID=20$ break; } case 21 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=21$ break; } case 22 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=22$ break; } case 23 : { value = (java.lang.String)(((net.sourceforge.fenixedu.util.Money)parameter_amountPerPage.getValue()).multiply(new BigDecimal(((java.lang.Integer)variable_PAGE_NUMBER.getOldValue()))).toString() + " Eur");//$JR_EXPR_ID=23$ break; } case 24 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=24$ break; } case 25 : { value = (java.lang.String)(((net.sourceforge.fenixedu.util.Money)parameter_baseAmountPlusAmountForUnits.getValue()).toString() + " Eur");//$JR_EXPR_ID=25$ break; } case 26 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=26$ break; } case 27 : { value = (java.lang.String)(((net.sourceforge.fenixedu.util.Money)parameter_urgencyAmount.getValue()).toString() + " Eur");//$JR_EXPR_ID=27$ break; } case 28 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=28$ break; } case 29 : { value = (java.lang.String)(((net.sourceforge.fenixedu.util.Money)parameter_amountPerPage.getValue()).multiply(new BigDecimal(((java.lang.Integer)variable_PAGE_NUMBER.getOldValue()))).add(((net.sourceforge.fenixedu.util.Money)parameter_baseAmountPlusAmountForUnits.getValue())).add(((net.sourceforge.fenixedu.util.Money)parameter_urgencyAmount.getValue())).toString() + " Eur");//$JR_EXPR_ID=29$ break; } case 30 : { value = (java.lang.String)(" " + ((net.sourceforge.fenixedu.domain.Person)parameter_administrativeOfficeCoordinator.getValue()).getName() + ", " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.coordinator." + (((net.sourceforge.fenixedu.domain.Person)parameter_administrativeOfficeCoordinator.getValue()).isMale() ? "male" : "female")) + " " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.of.the.male") + " " + ((java.lang.String)parameter_administrativeOfficeName.getValue()).toUpperCase() + " " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.of.male") + " " + ((java.lang.String)parameter_institutionName.getValue()).toUpperCase() + ", " + ((java.lang.String)parameter_universityName.getValue()).toUpperCase());//$JR_EXPR_ID=30$ break; } case 31 : { value = (java.lang.String)(" " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.certifies").toUpperCase() + " " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.that") + ",");//$JR_EXPR_ID=31$ break; } case 32 : { value = (java.lang.String)(((java.lang.String)parameter_name.getValue()));//$JR_EXPR_ID=32$ break; } case 33 : { value = (java.lang.String)(((java.lang.String)parameter_documentIdNumber.getValue()));//$JR_EXPR_ID=33$ break; } case 34 : { value = (java.lang.String)(((java.lang.String)parameter_birthLocale.getValue()));//$JR_EXPR_ID=34$ break; } case 35 : { value = (java.lang.String)(((java.lang.String)parameter_nationality.getValue()));//$JR_EXPR_ID=35$ break; } case 36 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.in.the.male") + " " + ((java.lang.String)parameter_degreeDescription.getValue()) + ", " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("documents.ApprovementCertificate.detailedInfoIntro") + ":");//$JR_EXPR_ID=36$ break; } case 37 : { value = (java.lang.String)(((java.lang.String)parameter_approvementsInfo.getValue()));//$JR_EXPR_ID=37$ break; } case 38 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.serviceRequestNumberYear") + " " + ((net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.DocumentRequest)parameter_documentRequest.getValue()).getServiceRequestNumberYear().toString().trim());//$JR_EXPR_ID=38$ break; } case 39 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.verified") + " " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.by") + ": _______________________________");//$JR_EXPR_ID=39$ break; } case 40 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.student." + (((net.sourceforge.fenixedu.domain.student.Registration)parameter_registration.getValue()).getPerson().isMale() ? "male" : "female")) + " " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.number.short") + " " + ((net.sourceforge.fenixedu.domain.student.Registration)parameter_registration.getValue()).getNumber());//$JR_EXPR_ID=40$ break; } case 41 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.page.short"));//$JR_EXPR_ID=41$ break; } case 42 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.of.both"));//$JR_EXPR_ID=42$ break; } case 43 : { value = (java.lang.Integer)(((java.lang.Integer)variable_PAGE_NUMBER.getOldValue()));//$JR_EXPR_ID=43$ break; } case 44 : { value = (java.lang.Integer)(((java.lang.Integer)variable_PAGE_NUMBER.getOldValue()));//$JR_EXPR_ID=44$ break; } default : { } } return value; } /** * */ public Object evaluateEstimated(int id) throws Throwable { Object value = null; switch (id) { case 0 : { value = (java.lang.Integer)(new Integer(1));//$JR_EXPR_ID=0$ break; } case 1 : { value = (java.lang.Integer)(new Integer(1));//$JR_EXPR_ID=1$ break; } case 2 : { value = (java.lang.Integer)(new Integer(1));//$JR_EXPR_ID=2$ break; } case 3 : { value = (java.lang.Integer)(new Integer(0));//$JR_EXPR_ID=3$ break; } case 4 : { value = (java.lang.Integer)(new Integer(1));//$JR_EXPR_ID=4$ break; } case 5 : { value = (java.lang.Integer)(new Integer(0));//$JR_EXPR_ID=5$ break; } case 6 : { value = (java.lang.Integer)(new Integer(1));//$JR_EXPR_ID=6$ break; } case 7 : { value = (java.lang.Integer)(new Integer(0));//$JR_EXPR_ID=7$ break; } case 8 : { value = (java.lang.Integer)(new Integer(1));//$JR_EXPR_ID=8$ break; } case 9 : { value = (java.lang.Integer)(new Integer(0));//$JR_EXPR_ID=9$ break; } case 10 : { value = (java.lang.Object)(null);//$JR_EXPR_ID=10$ break; } case 11 : { value = (java.lang.String)(((net.sourceforge.fenixedu.domain.Person)parameter_administrativeOfficeCoordinator.getValue()).getName());//$JR_EXPR_ID=11$ break; } case 12 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.coordinator." + (((net.sourceforge.fenixedu.domain.Person)parameter_administrativeOfficeCoordinator.getValue()).isMale() ? "male" : "female")) + " " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.of.the.male") + " " + ((java.lang.String)parameter_administrativeOfficeName.getValue()));//$JR_EXPR_ID=12$ break; } case 13 : { value = (java.lang.String)(((java.lang.String)parameter_institutionName.getValue()) + ", " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.in") + " " + ((java.lang.String)parameter_employeeLocation.getValue()) + ", " + ((java.lang.String)parameter_day.getValue()));//$JR_EXPR_ID=13$ break; } case 14 : { value = (java.lang.String)(((java.lang.String)parameter_imageUrl.getValue()));//$JR_EXPR_ID=14$ break; } case 15 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=15$ break; } case 16 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.stationery") + ".....");//$JR_EXPR_ID=16$ break; } case 17 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=17$ break; } case 18 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("documents.Certificate.baseAmountPlusAmountForUnits"));//$JR_EXPR_ID=18$ break; } case 19 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=19$ break; } case 20 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.urgency") + "......");//$JR_EXPR_ID=20$ break; } case 21 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=21$ break; } case 22 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=22$ break; } case 23 : { value = (java.lang.String)(((net.sourceforge.fenixedu.util.Money)parameter_amountPerPage.getValue()).multiply(new BigDecimal(((java.lang.Integer)variable_PAGE_NUMBER.getEstimatedValue()))).toString() + " Eur");//$JR_EXPR_ID=23$ break; } case 24 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=24$ break; } case 25 : { value = (java.lang.String)(((net.sourceforge.fenixedu.util.Money)parameter_baseAmountPlusAmountForUnits.getValue()).toString() + " Eur");//$JR_EXPR_ID=25$ break; } case 26 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=26$ break; } case 27 : { value = (java.lang.String)(((net.sourceforge.fenixedu.util.Money)parameter_urgencyAmount.getValue()).toString() + " Eur");//$JR_EXPR_ID=27$ break; } case 28 : { value = (java.lang.Boolean)(((java.lang.Boolean)parameter_printPriceFields.getValue()));//$JR_EXPR_ID=28$ break; } case 29 : { value = (java.lang.String)(((net.sourceforge.fenixedu.util.Money)parameter_amountPerPage.getValue()).multiply(new BigDecimal(((java.lang.Integer)variable_PAGE_NUMBER.getEstimatedValue()))).add(((net.sourceforge.fenixedu.util.Money)parameter_baseAmountPlusAmountForUnits.getValue())).add(((net.sourceforge.fenixedu.util.Money)parameter_urgencyAmount.getValue())).toString() + " Eur");//$JR_EXPR_ID=29$ break; } case 30 : { value = (java.lang.String)(" " + ((net.sourceforge.fenixedu.domain.Person)parameter_administrativeOfficeCoordinator.getValue()).getName() + ", " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.coordinator." + (((net.sourceforge.fenixedu.domain.Person)parameter_administrativeOfficeCoordinator.getValue()).isMale() ? "male" : "female")) + " " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.of.the.male") + " " + ((java.lang.String)parameter_administrativeOfficeName.getValue()).toUpperCase() + " " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.of.male") + " " + ((java.lang.String)parameter_institutionName.getValue()).toUpperCase() + ", " + ((java.lang.String)parameter_universityName.getValue()).toUpperCase());//$JR_EXPR_ID=30$ break; } case 31 : { value = (java.lang.String)(" " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.certifies").toUpperCase() + " " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.that") + ",");//$JR_EXPR_ID=31$ break; } case 32 : { value = (java.lang.String)(((java.lang.String)parameter_name.getValue()));//$JR_EXPR_ID=32$ break; } case 33 : { value = (java.lang.String)(((java.lang.String)parameter_documentIdNumber.getValue()));//$JR_EXPR_ID=33$ break; } case 34 : { value = (java.lang.String)(((java.lang.String)parameter_birthLocale.getValue()));//$JR_EXPR_ID=34$ break; } case 35 : { value = (java.lang.String)(((java.lang.String)parameter_nationality.getValue()));//$JR_EXPR_ID=35$ break; } case 36 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.in.the.male") + " " + ((java.lang.String)parameter_degreeDescription.getValue()) + ", " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("documents.ApprovementCertificate.detailedInfoIntro") + ":");//$JR_EXPR_ID=36$ break; } case 37 : { value = (java.lang.String)(((java.lang.String)parameter_approvementsInfo.getValue()));//$JR_EXPR_ID=37$ break; } case 38 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.serviceRequestNumberYear") + " " + ((net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.DocumentRequest)parameter_documentRequest.getValue()).getServiceRequestNumberYear().toString().trim());//$JR_EXPR_ID=38$ break; } case 39 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.verified") + " " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.by") + ": _______________________________");//$JR_EXPR_ID=39$ break; } case 40 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.student." + (((net.sourceforge.fenixedu.domain.student.Registration)parameter_registration.getValue()).getPerson().isMale() ? "male" : "female")) + " " + ((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.number.short") + " " + ((net.sourceforge.fenixedu.domain.student.Registration)parameter_registration.getValue()).getNumber());//$JR_EXPR_ID=40$ break; } case 41 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.page.short"));//$JR_EXPR_ID=41$ break; } case 42 : { value = (java.lang.String)(((java.util.ResourceBundle)parameter_bundle.getValue()).getString("label.of.both"));//$JR_EXPR_ID=42$ break; } case 43 : { value = (java.lang.Integer)(((java.lang.Integer)variable_PAGE_NUMBER.getEstimatedValue()));//$JR_EXPR_ID=43$ break; } case 44 : { value = (java.lang.Integer)(((java.lang.Integer)variable_PAGE_NUMBER.getEstimatedValue()));//$JR_EXPR_ID=44$ break; } default : { } } return value; } }