Package com.ads.mm.etl.xml.mapping
Class MMSystemMap
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,MMDBSystem>
- Author:
- Syed Abdul Rahim
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSystem(MMDBSystem mmdbSystem) voidassociateMappings(MMSystemMap.Type mapType) createColumnInPool(String systemName, String environmentName, String tableName, String columnName, String dataType, String defaultValue, String definitionComments, String identityFlag, String length, String maxValue, String minValue, String naturalKeyFlag, String nullableFlag, String percentNullValue, String precision, String scale, String tableClass, String columnClass, String businessKeyFlag, String tableAlias, String logicalColumnName, String columnAlias, String columnComments, String sdiFlag, String sdiDescription, String xpath) createColumnInPool(String systemName, String environmentName, String tableName, String columnName, String dataType, String defaultValue, String definitionComments, String identityFlag, String length, String maxValue, String minValue, String naturalKeyFlag, String nullableFlag, String percentNullValue, String precision, String scale, String tableClass, String columnClass, String businessKeyFlag, String tableAlias, String logicalColumnName, String columnAlias, String columnComments, String sdiFlag, String sdiDescription, String xpath, String entityUid, String tableType, String tableBusEntityType, String envBusEntityType) createColumnInPool(String systemName, String environmentName, String tableName, String columnName, String dataType, String defaultValue, String definitionComments, String identityFlag, String length, String maxValue, String minValue, String naturalKeyFlag, String nullableFlag, String percentNullValue, String precision, String scale, String primaryKeyFlag, String foreignKeyFlag, String foreignKeyTable, String foreignKeyColumn, String tableClass, String columnClass, String businessKeyFlag, String tableAlias, String logicalColumnName, String columnAlias, String columnComments, String sdiFlag, String sdiDescription, String xpath, String tableBusEntityType, String envBusEntityType) createColumnInPool(String systemName, String environmentName, String tableName, String columnName, String dataType, String defaultValue, String definitionComments, String identityFlag, String length, String maxValue, String minValue, String naturalKeyFlag, String nullableFlag, String percentNullValue, String precision, String scale, String primaryKeyFlag, String foreignKeyFlag, String foreignKeyTable, String foreignKeyColumn, String tableClass, String columnClass, String businessKeyFlag, String tableAlias, String logicalColumnName, String columnAlias, String columnComments, String sdiFlag, String sdiDescription, String xpath, String entityUid, String tableType, String tableBusEntityType, String envBusEntityType) ensureSystemExists(String systemName) ensureTableExists(String systemName, String environmentName, String schema, String tableName) ensureTableExists(String systemName, String environmentName, String schema, String tableName, String xpath) voidfillAlongAdjustingMetadata(MMSystemMap.Type type, boolean addUnusedColumns, boolean fillMetadata) voidvoidfindColumnInPool(String systemName, String environmentName, String tableName, String columnName) findColumnInPool(String systemName, String environmentName, String tableName, String columnName, String tblXPath, String colXPath) findSystem(String systemName) intbooleanbooleanvoidsetAddUnusedColumns(boolean addUnusedColumns) voidsetFillMetadata(boolean fillMetadata) toString()voidtoString(StringBuilder sbu) Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesMethods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from class java.util.AbstractMap
equals, hashCodeMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Constructor Details
-
MMSystemMap
-
-
Method Details
-
isAddUnusedColumns
public boolean isAddUnusedColumns()- Returns:
- the addUnusedColumns
-
setAddUnusedColumns
public void setAddUnusedColumns(boolean addUnusedColumns) - Parameters:
addUnusedColumns- the addUnusedColumns to set
-
isFillMetadata
public boolean isFillMetadata()- Returns:
- the fillMetadata
-
setFillMetadata
public void setFillMetadata(boolean fillMetadata) - Parameters:
fillMetadata- the fillMetadata to set
-
findSystem
-
addSystem
-
addSystem
-
toString
- Overrides:
toStringin classAbstractMap<String,MMDBSystem>
-
toString
-
getAllEnvironments
-
fillEnvironmentDetails
- Throws:
SQLException
-
fillCopyColumnDependencies
public void fillCopyColumnDependencies() -
getFirstValidMMDBSystem
-
findFirstValidTable
-
getTablesCount
public int getTablesCount() -
fillAlongAdjustingMetadata
public void fillAlongAdjustingMetadata(MMSystemMap.Type type, boolean addUnusedColumns, boolean fillMetadata) -
ensureTableExists
-
ensureTableExists
-
ensureSystemExists
-
createColumnInPool
public MMDBColumn createColumnInPool(String systemName, String environmentName, String tableName, String columnName, String dataType, String defaultValue, String definitionComments, String identityFlag, String length, String maxValue, String minValue, String naturalKeyFlag, String nullableFlag, String percentNullValue, String precision, String scale, String tableClass, String columnClass, String businessKeyFlag, String tableAlias, String logicalColumnName, String columnAlias, String columnComments, String sdiFlag, String sdiDescription, String xpath) -
createColumnInPool
public MMDBColumn createColumnInPool(String systemName, String environmentName, String tableName, String columnName, String dataType, String defaultValue, String definitionComments, String identityFlag, String length, String maxValue, String minValue, String naturalKeyFlag, String nullableFlag, String percentNullValue, String precision, String scale, String tableClass, String columnClass, String businessKeyFlag, String tableAlias, String logicalColumnName, String columnAlias, String columnComments, String sdiFlag, String sdiDescription, String xpath, String entityUid, String tableType, String tableBusEntityType, String envBusEntityType) -
createColumnInPool
public MMDBColumn createColumnInPool(String systemName, String environmentName, String tableName, String columnName, String dataType, String defaultValue, String definitionComments, String identityFlag, String length, String maxValue, String minValue, String naturalKeyFlag, String nullableFlag, String percentNullValue, String precision, String scale, String primaryKeyFlag, String foreignKeyFlag, String foreignKeyTable, String foreignKeyColumn, String tableClass, String columnClass, String businessKeyFlag, String tableAlias, String logicalColumnName, String columnAlias, String columnComments, String sdiFlag, String sdiDescription, String xpath, String tableBusEntityType, String envBusEntityType) -
createColumnInPool
public MMDBColumn createColumnInPool(String systemName, String environmentName, String tableName, String columnName, String dataType, String defaultValue, String definitionComments, String identityFlag, String length, String maxValue, String minValue, String naturalKeyFlag, String nullableFlag, String percentNullValue, String precision, String scale, String primaryKeyFlag, String foreignKeyFlag, String foreignKeyTable, String foreignKeyColumn, String tableClass, String columnClass, String businessKeyFlag, String tableAlias, String logicalColumnName, String columnAlias, String columnComments, String sdiFlag, String sdiDescription, String xpath, String entityUid, String tableType, String tableBusEntityType, String envBusEntityType) -
findColumnInPool
public MMDBColumn findColumnInPool(String systemName, String environmentName, String tableName, String columnName) -
findColumnInPool
-
associateMappings
-