/** * Method clone. * * @return Reporting */ public Reporting clone() { try { Reporting copy = (Reporting) super.clone(); if ( this.plugins != null ) { copy.plugins = new java.util.ArrayList<ReportPlugin>(); for ( ReportPlugin item : this.plugins ) { copy.plugins.add( ( (ReportPlugin) item).clone() ); } } if ( copy.locations != null ) { copy.locations = new java.util.LinkedHashMap( copy.locations ); } return copy; } catch ( java.lang.Exception ex ) { throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName() + " does not support clone()" ).initCause( ex ); } } //-- Reporting clone()
/** * Method clone. * * @return Reporting */ public Reporting clone() { try { Reporting copy = (Reporting) super.clone(); if ( this.plugins != null ) { copy.plugins = new java.util.ArrayList<ReportPlugin>(); for ( ReportPlugin item : this.plugins ) { copy.plugins.add( ( (ReportPlugin) item).clone() ); } } if ( copy.locations != null ) { copy.locations = new java.util.LinkedHashMap( copy.locations ); } return copy; } catch ( java.lang.Exception ex ) { throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName() + " does not support clone()" ).initCause( ex ); } } //-- Reporting clone()