org.tm4j.topicmap.utils .IDMappingStrategy

Description

This strategy interface is used by the TopicMapCopier object to determine how to map an ID value for a source object to the ID value to be assigned to the copied object. The object implementing this interface is also responsible for keeping track of the relationship between source and destination objects.

Implementations of this interface

Method Summary
java.lang.String generateID(java.lang.String sourceID,org.tm4j.topicmap.TopicMap destinationTM)
This method is invoked to generate an ID for the destination object of a copy.
java.lang.String getSourceID(java.lang.String destID)
Returns the ID of the source TopicMapObject which was mapped to destID by the generateID()method.