79769207

Date: 2025-09-19 06:53:51
Score: 3
Natty:
Report link

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE jasperReport PUBLIC "-//JasperReports//DTD Report Design//EN"

    "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd"\>

<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports"

          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

          xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports

          http://jasperreports.sourceforge.net/xsd/jasperreport.xsd"

          name="risk_incident_report"

          pageWidth="595" pageHeight="842"

          columnWidth="555" leftMargin="20" rightMargin="20"

          topMargin="20" bottomMargin="20"

          orientation="Portrait"

          uuid="abcd-1234-xyz"\>

\<!-- Parameters --\>

\<parameter name="reportedBy" class="java.lang.String"/\>

\<parameter name="department" class="java.lang.String"/\>

\<parameter name="incidentType" class="java.lang.String"/\>

\<parameter name="detectionDate" class="java.lang.String"/\>

\<parameter name="incidentDate" class="java.lang.String"/\>

\<parameter name="description" class="java.lang.String"/\>

\<parameter name="cause" class="java.lang.String"/\>

\<parameter name="causeSubClass" class="java.lang.String"/\>

\<parameter name="type" class="java.lang.String"/\>

\<parameter name="financialRisk" class="java.lang.String"/\>

\<parameter name="reputationRisk" class="java.lang.String"/\>

\<parameter name="lossAmount" class="java.lang.String"/\>

\<parameter name="likelihood" class="java.lang.String"/\>

\<parameter name="frequency" class="java.lang.String"/\>

\<parameter name="combinedRating" class="java.lang.String"/\>

\<!-- Title --\>

\<title\>

    \<band height="40"\>

        \<staticText\>

            \<reportElement x="0" y="10" width="555" height="25" backcolor="#E6E6E6" mode="Opaque"/\>

            \<textElement textAlignment="Center" verticalAlignment="Middle"\>

                \<font size="16" isBold="true"/\>

            \</textElement\>

            \<text\>\<!\[CDATA\[Risk Incident Report\]\]\>\</text\>

        \</staticText\>

    \</band\>

\</title\>

\<!-- Detail --\>

\<detail\>

    \<band height="700"\>

        \<!-- Section 1: Risk Incident Details --\>

        \<staticText\>

            \<reportElement x="0" y="0" width="555" height="20" backcolor="#D9EDF7" mode="Opaque"/\>

            \<textElement\>

                \<font isBold="true"/\>

            \</textElement\>

            \<text\>\<!\[CDATA\[Risk Incident Details\]\]\>\</text\>

        \</staticText\>

        \<!-- Labels and Values --\>

        \<staticText\>

            \<reportElement x="0" y="30" width="200" height="15"/\>

            \<text\>\<!\[CDATA\[Risk Incident Reported By:\]\]\>\</text\>

        \</staticText\>

        \<textField\>

            \<reportElement x="210" y="30" width="345" height="15"/\>

            \<textFieldExpression\>\<!\[CDATA\[$P{reportedBy}\]\]\>\</textFieldExpression\>

        \</textField\>

        \<staticText\>

            \<reportElement x="0" y="50" width="200" height="15"/\>

            \<text\>\<!\[CDATA\[Department:\]\]\>\</text\>

        \</staticText\>

        \<textField\>

            \<reportElement x="210" y="50" width="345" height="15"/\>

            \<textFieldExpression\>\<!\[CDATA\[$P{department}\]\]\>\</textFieldExpression\>

        \</textField\>

        \<staticText\>

            \<reportElement x="0" y="70" width="200" height="15"/\>

            \<text\>\<!\[CDATA\[Risk Incident Type:\]\]\>\</text\>

        \</staticText\>

        \<textField\>

            \<reportElement x="210" y="70" width="345" height="15"/\>

            \<textFieldExpression\>\<!\[CDATA\[$P{incidentType}\]\]\>\</textFieldExpression\>

        \</textField\>

        \<staticText\>

            \<reportElement x="0" y="90" width="200" height="15"/\>

            \<text\>\<!\[CDATA\[Risk Incident Detection Date:\]\]\>\</text\>

        \</staticText\>

        \<textField\>

            \<reportElement x="210" y="90" width="345" height="15"/\>

            \<textFieldExpression\>\<!\[CDATA\[$P{detectionDate}\]\]\>\</textFieldExpression\>

        \</textField\>

        \<staticText\>

            \<reportElement x="0" y="110" width="200" height="15"/\>

            \<text\>\<!\[CDATA\[Risk Incident Date:\]\]\>\</text\>

        \</staticText\>

        \<textField\>

            \<reportElement x="210" y="110" width="345" height="15"/\>

            \<textFieldExpression\>\<!\[CDATA\[$P{incidentDate}\]\]\>\</textFieldExpression\>

        \</textField\>

        \<staticText\>

            \<reportElement x="0" y="130" width="200" height="15"/\>

            \<text\>\<!\[CDATA\[Risk Incident Description:\]\]\>\</text\>

        \</staticText\>

        \<textField isStretchWithOverflow="true"\>

            \<reportElement x="210" y="130" width="345" height="40"/\>

            \<textFieldExpression\>\<!\[CDATA\[$P{description}\]\]\>\</textFieldExpression\>

        \</textField\>

        \<!-- Section 2: Cause, Type, Consequence --\>

        \<staticText\>

            \<reportElement x="0" y="190" width="555" height="20" backcolor="#D9EDF7" mode="Opaque"/\>

            \<textElement\>

                \<font isBold="true"/\>

            \</textElement\>

            \<text\>\<!\[CDATA\[Cause, Type, Consequence (CTC) and Risk Rating\]\]\>\</text\>

        \</staticText\>

        \<staticText\>

            \<reportElement x="0" y="220" width="200" height="15"/\>

            \<text\>\<!\[CDATA\[Cause:\]\]\>\</text\>

        \</staticText\>

        \<textField\>

            \<reportElement x="210" y="220" width="345" height="15"/\>

            \<textFieldExpression\>\<!\[CDATA\[$P{cause}\]\]\>\</textFieldExpression\>

        \</textField\>

        \<staticText\>

            \<reportElement x="0" y="240" width="200" height="15"/\>

            \<text\>\<!\[CDATA\[Cause Sub-Classification:\]\]\>\</text\>

        \</staticText\>

        \<textField\>

            \<reportElement x="210" y="240" width="345" height="15"/\>

            \<textFieldExpression\>\<!\[CDATA\[$P{causeSubClass}\]\]\>\</textFieldExpression\>

        \</textField\>

        \<staticText\>

            \<reportElement x="0" y="260" width="200" height="15"/\>

            \<text\>\<!\[CDATA\[Type:\]\]\>\</text\>

        \</staticText\>

        \<textField\>

            \<reportElement x="210" y="260" width="345" height="15"/\>

            \<textFieldExpression\>\<!\[CDATA\[$P{type}\]\]\>\</textFieldExpression\>

        \</textField\>

        \<staticText\>

            \<reportElement x="0" y="280" width="200" height="15"/\>

            \<text\>\<!\[CDATA\[Financial Risk:\]\]\>\</text\>

        \</staticText\>

        \<textField\>

            \<reportElement x="210" y="280" width="345" height="15"/\>

            \<textFieldExpression\>\<!\[CDATA\[$P{financialRisk}\]\]\>\</textFieldExpression\>

        \</textField\>

        \<staticText\>

            \<reportElement x="0" y="300" width="200" height="15"/\>

            \<text\>\<!\[CDATA\[Reputation Risk:\]\]\>\</text\>

        \</staticText\>

        \<textField\>

            \<reportElement x="210" y="300" width="345" height="15"/\>

            \<textFieldExpression\>\<!\[CDATA\[$P{reputationRisk}\]\]\>\</textFieldExpression\>

        \</textField\>

        \<staticText\>

            \<reportElement x="0" y="320" width="200" height="15"/\>

            \<text\>\<!\[CDATA\[Actual Loss Amount:\]\]\>\</text\>

        \</staticText\>

        \<textField\>

            \<reportElement x="210" y="320" width="345" height="15"/\>

            \<textFieldExpression\>\<!\[CDATA\[$P{lossAmount}\]\]\>\</textFieldExpression\>

        \</textField\>

        \<staticText\>

            \<reportElement x="0" y="340" width="200" height="15"/\>

            \<text\>\<!\[CDATA\[Likelihood:\]\]\>\</text\>

        \</staticText\>

        \<textField\>

            \<reportElement x="210" y="340" width="345" height="15"/\>

            \<textFieldExpression\>\<!\[CDATA\[$P{likelihood}\]\]\>\</textFieldExpression\>

        \</textField\>

        \<staticText\>

            \<reportElement x="0" y="360" width="200" height="15"/\>

            \<text\>\<!\[CDATA\[Frequency of Occurrence:\]\]\>\</text\>

        \</staticText\>

        \<textField\>

            \<reportElement x="210" y="360" width="345" height="15"/\>

            \<textFieldExpression\>\<!\[CDATA\[$P{frequency}\]\]\>\</textFieldExpression\>

        \</textField\>

        \<staticText\>

            \<reportElement x="0" y="380" width="200" height="15"/\>

            \<text\>\<!\[CDATA\[Combined Risk Rating:\]\]\>\</text\>

        \</staticText\>

        \<textField\>

            \<reportElement x="210" y="380" width="345" height="15"/\>

            \<textFieldExpression\>\<!\[CDATA\[$P{combinedRating}\]\]\>\</textFieldExpression\>

        \</textField\>

    \</band\>

\</detail\>

</jasperReport>

Reasons:
  • RegEx Blacklisted phrase (1.5): reputation
  • RegEx Blacklisted phrase (1.5): Reputation
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Gaurav More