class ImportSummaries extends AbstractWebMessageResponse {

    public ImportSummaries addImportSummary( ImportSummary importSummary )
    {
        if ( importSummary == null )
        {
            return this;
        }

        if ( importSummary.getImportCount() != null )
        {
            imported += importSummary.getImportCount().getImported();
            updated += importSummary.getImportCount().getUpdated();
            deleted += importSummary.getImportCount().getDeleted();
            ignored += importSummary.getImportCount().getIgnored();
        }

        importSummaries.add( importSummary );

        status = getHighestOrderImportStatus();

        return this;
    }

    public  ImportSummaries();

}