private boolean is1toM;\r
private String sortIndexOrMapkeyColName;\r
\r
- public static MnTableCreator NewMnInstance(String stepName, String firstTableName, String secondTableName, boolean includeAudTable, boolean isList, boolean is1toM){\r
+ public static MnTableCreator NewMnInstance(String stepName, String firstTableName,\r
+ String secondTableName, boolean includeAudTable, boolean isList, boolean is1toM){\r
MnTableCreator result = new MnTableCreator(stepName, firstTableName, null, null,\r
secondTableName, null, null, new String[]{}, new String[]{}, null, null,\r
includeAudTable, isList, is1toM, false, false, false, null);\r
* <code>true</code> but for {@link List lists} should be <code>false</code>.\r
* @return\r
*/\r
- public static MnTableCreator NewMnInstance(String stepName, String firstTableName, String firstTableAlias, String secondTableName, String secondTableAlias, String attributeName,\r
+ public static MnTableCreator NewMnInstance(String stepName, String firstTableName, String firstTableAlias,\r
+ String secondTableName, String secondTableAlias, String attributeName,\r
boolean includeAudTable, boolean isList, boolean is1toM){\r
MnTableCreator result = new MnTableCreator(stepName, firstTableName, firstTableAlias, null, secondTableName, secondTableAlias, attributeName,\r
new String[]{}, new String[]{}, null, null,\r
public class SimpleSchemaUpdaterStep extends SchemaUpdaterStepBase {\r
private static final Logger logger = Logger.getLogger(SimpleSchemaUpdaterStep.class);\r
\r
- private final Map<DatabaseTypeEnum, String> queryMap = new HashMap<DatabaseTypeEnum, String>();\r
- private final Map<DatabaseTypeEnum, String> auditQueryMap = new HashMap<DatabaseTypeEnum, String>();\r
+ private final Map<DatabaseTypeEnum, String> queryMap = new HashMap<>();\r
+ private final Map<DatabaseTypeEnum, String> auditQueryMap = new HashMap<>();\r
\r
private boolean includeAudit = false;\r
// private String tableName;\r
//Rights\r
stepName= "Add @tableName rights";\r
stepName = stepName.replace("@tableName", tableName);\r
- tableCreator = MnTableCreator.NewMnInstance(stepName, tableName, "RightsInfo", SchemaUpdaterBase.INCLUDE_AUDIT, !IS_LIST, IS_M_TO_M);\r
tableCreator = MnTableCreator.NewMnInstance(stepName, tableName, null, "Rights", "RightsInfo", "rights", SchemaUpdaterBase.INCLUDE_AUDIT, !IS_LIST, IS_M_TO_M);\r
mnTablesStepList.add(tableCreator);\r
}\r