if (g.getGenerate().isCommentsOnAttributes() != null) generator.setGenerateCommentsOnAttributes(g.getGenerate().isCommentsOnAttributes()); if (g.getGenerate().isCommentsOnCatalogs() != null) generator.setGenerateCommentsOnCatalogs(g.getGenerate().isCommentsOnCatalogs()); if (g.getGenerate().isCommentsOnColumns() != null) generator.setGenerateCommentsOnColumns(g.getGenerate().isCommentsOnColumns());