Package com.ads.mm.etl.xml.mapping
Class MMMapping
java.lang.Object
com.ads.mm.etl.xml.mapping.MMUUID
com.ads.mm.etl.xml.mapping.MMMapping
- Author:
- Syed Abdul Rahim
-
Field Summary
Fields inherited from class com.ads.mm.etl.xml.mapping.MMUUID
_associatedIDs, _associatedUUIDs, uniqueName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddKeyValue(String key, String val) voidclubSourceSystems(boolean mode) voidclubSourceSystemsForDataStage(boolean mode) voidfindColumnInPool(MMSystemMap.Type mapType, String systemName, String environmentName, String tableName, String columnName) findColumnInPool(MMSystemMap.Type mapType, String systemName, String environmentName, String tableName, String columnName, String tblXpath, String colXPath) findColumnInPool(String systemName, String environmentName, String tableName, String columnName) findColumnInPool(String systemName, String environmentName, String tableName, String columnName, String tblXpath, String colXPath) intgetPreservedId(int index) To Preserve Ids which fall under Global Mapping Scope It will check, if it exist and returns that else will create a new unique id and stores and returns thatbooleanvoidremoveKeyValue(String key) voidsetKeyValues(HashMap<String, String> hmKV) voidsetMappingInfo(MMMappingInfo mappingInfo) voidsetMappingUtil(MMMappingUtil mappingUtil) voidsetTransformations(MMMappingTransformationMap transformations) voidsetUserData(Object userData) voidsetUseSQLExtractQuery(boolean useSQLExtractQuery) toString()Methods inherited from class com.ads.mm.etl.xml.mapping.MMUUID
addAssociatedCrossID, addAssociatedID, addAssociatedUUID, getAssociatedCrossID, getAssociatedID, getAssociatedUUID, getUniqueName, getUUID, setAssociatedIDCount, setUniqueName, setUUID
-
Constructor Details
-
MMMapping
-
-
Method Details
-
toString
-
getMappindId
-
getMappingId
-
getMappingInfo
- Returns:
- the _mappingInfo
-
setMappingInfo
- Parameters:
mappingInfo- the _mappingInfo to set
-
getSourceSystems
- Returns:
- the mappingUtil.getSourceSystems()
-
getTargetSystems
- Returns:
- the _targetSystems
-
getTransformations
- Returns:
- the _transformations
-
setTransformations
- Parameters:
transformations- the _transformations to set
-
getMappingUtil
- Returns:
- the mappingUtil
-
setMappingUtil
- Parameters:
mappingUtil- the mappingUtil to set
-
getPreservedId
public int getPreservedId(int index) To Preserve Ids which fall under Global Mapping Scope It will check, if it exist and returns that else will create a new unique id and stores and returns that- Parameters:
index-- Returns:
- int
-
fillOrphanTransformations
- Throws:
Exception
-
clubSourceSystems
public void clubSourceSystems(boolean mode) -
clubSourceSystemsForDataStage
public void clubSourceSystemsForDataStage(boolean mode) -
isUseSQLExtractQuery
public boolean isUseSQLExtractQuery() -
setUseSQLExtractQuery
public void setUseSQLExtractQuery(boolean useSQLExtractQuery) -
getUserData
- Returns:
- the userData
-
setUserData
- Parameters:
userData- the userData to set
-
getSupportSystems
- Returns:
- the _supportSystems
-
findColumnInPool
public MMDBColumn findColumnInPool(String systemName, String environmentName, String tableName, String columnName) -
findColumnInPool
-
findColumnInPool
public MMDBColumn findColumnInPool(MMSystemMap.Type mapType, String systemName, String environmentName, String tableName, String columnName) -
findColumnInPool
public MMDBColumn findColumnInPool(MMSystemMap.Type mapType, String systemName, String environmentName, String tableName, String columnName, String tblXpath, String colXPath) -
toStringTransformations
-
setKeyValues
-
getKeyValues
-
addKeyValue
-
removeKeyValue
-