Package com.ads.mm.etl.xml.mapping
Class MMUUID
java.lang.Object
com.ads.mm.etl.xml.mapping.MMUUID
- Direct Known Subclasses:
MMDBColumn,MMDBEnvironment,MMDBSystem,MMDBTable,MMMapping
- Author:
- Syed Abdul Rahim
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intaddAssociatedCrossID(String name) intaddAssociatedID(String name) addAssociatedUUID(String name) static intgetAssociatedCrossID(String name) If it cannot retrieve ID basing on name, then a new random ID is generated and stored for future reference and the same is supplied backintgetAssociatedID(String name) If it cannot retrieve ID basing on name, then a new random ID is generated and stored for future reference and the same is supplied backgetAssociatedUUID(String name) If it cannot retrieve UUID basing on name, then a new random uuid is generated and stored for future reference and the same is supplied backgetUUID()voidsetAssociatedIDCount(int associatedIDCount) voidsetUniqueName(String uniqueName) void
-
Field Details
-
uniqueName
-
_associatedUUIDs
-
_associatedIDs
-
-
Constructor Details
-
MMUUID
-
-
Method Details
-
addAssociatedUUID
-
getAssociatedUUID
If it cannot retrieve UUID basing on name, then a new random uuid is generated and stored for future reference and the same is supplied back- Parameters:
name-- Returns:
- name
-
addAssociatedID
-
getAssociatedID
If it cannot retrieve ID basing on name, then a new random ID is generated and stored for future reference and the same is supplied back- Parameters:
name-- Returns:
- name
-
addAssociatedCrossID
-
getAssociatedCrossID
If it cannot retrieve ID basing on name, then a new random ID is generated and stored for future reference and the same is supplied back- Parameters:
name-- Returns:
- name
-
getUUID
- Returns:
- the _uuid
-
setUUID
- Parameters:
guid- the _uuid to set
-
getUniqueName
- Returns:
- the uniqueName
-
setUniqueName
- Parameters:
uniqueName- the uniqueName to set
-
setAssociatedIDCount
public void setAssociatedIDCount(int associatedIDCount) - Parameters:
associatedIDCount- the associatedIDCount to set
-