示例#1
0
 /**
  * Creates a new <code>PathReportSectionData</code>, initialized from the data in the
  * PathReportSectionData passed in.
  *
  * @param pathReportSectionData the <code>PathReportSectionData</code>
  */
 public PathReportSectionData(PathReportSectionData pathReportSectionData) {
   this();
   BigrBeanUtilsBean.SINGLETON.copyProperties(this, pathReportSectionData);
   // any mutable objects must be handled seperately (BigrBeanUtilsBean.copyProperties
   // does a shallow copy.
   if (!ApiFunctions.isEmpty(pathReportSectionData.getFindings())) {
     _findings.clear();
     Iterator iterator = pathReportSectionData.getFindings().iterator();
     while (iterator.hasNext()) {
       _findings.add(
           new PathReportSectionFindingData((PathReportSectionFindingData) iterator.next()));
     }
   }
 }
 /**
  * Creates a new <code>PathReportDiagnosticData</code>, initialized from the data in the
  * PathReportDiagnosticData passed in.
  *
  * @param pathReportDiagnosticData the <code>PathReportDiagnosticData</code>
  */
 public PathReportDiagnosticData(PathReportDiagnosticData pathReportDiagnosticData) {
   this();
   BigrBeanUtilsBean.SINGLETON.copyProperties(this, pathReportDiagnosticData);
 }