NetworkedPlanet | TMCore Engine API Guide |
Duplicate information on a topic is found when an topic identifier, name, variant name or occurrence repeats exactly the same information as another item of the same type on the same topic. A duplicate name is one that has the same string value and scope as another name on the same topic. A duplicate variant name is one that has the same string value, scope and parent name as another variant on the same topic. A duplciate occurrence is one with the same string value, type and scope as another occurrence on the same topic. A duplicate identifier is a source locator, subject identifier or subject locator that has the same value as another identifier of the same type on the same topic.
How these duplicates are managed varies depending on the type of duplicate information.
Duplicate names are managed by moving all variant names and source locators from the duplicate name to the name that it duplicates and then removing the duplicate name.
Duplicate variant names are managed by moving all source locators from the duplicate variant name to the variant name that it duplicates and then removing the duplicate variant name.
Duplicate occurrences are managed by moving all source locators from the duplicate occurrence to the occurrence that it duplicates and then removing the duplicate occurrence.
Duplicate identifiers are managed by simply removing the duplicate identifier.