public MyEntitiesValidationReport addEntity ( String entityTypeId , boolean importable ) { sheetsImportable . put ( entityTypeId , importable ) ; valid = valid && importable ; if ( importable ) { fieldsImportable . put ( entityTypeId , new ArrayList <> ( ) ) ; fieldsUnknown . put ( entityTypeId , new ArrayList <> ( ) ) ; fieldsRequired . put ( entityTypeId , new ArrayList <> ( ) ) ; fieldsAvailable . put ( entityTypeId , new ArrayList <> ( ) ) ; importOrder . add ( entityTypeId ) ; } return this ; }
Creates a new report with an entity added to it .