Once the tool schema is defined, mapping to the data warehouse schema can be performed using the tool schema functions in the Schema Editor.
All mapping results in one of two relationships being created:
Mapping for publish
A MapClassToClass relationship defines the publish map for any class definition, interface definition, relationship definition, and so on. In this case, the PpmPAEquipment authoring class definition defined as the MapPpmPAEquipment map class is mapped to the PpmPPEquipment class definition in the SmartPlant Schema.
<Rel>
<IObject UID="MapPpmPAEquipment.PpmPPEquipment"/>
<IRel UID1="MapPpmPAEquipment" UID2="PpmPPEquipment" DefUID="MapClassToClass"/>
</Rel>
Mapping for retrieve
A ClassToMapClass relationship defines the publish map for any class definition, interface definition, relationship definition, and so on. In this case, the PpmPAEquipment authoring class definition defined as the MapPpmPAEquipment map class is mapped to the PIDMechanicalEquipment class definition in the SmartPlant Schema.
<Rel>
<IObject UID="PIDMechanicalEquipment.MapPpmPAEquipment"/>
<IRel UID1="PIDMechanicalEquipment" UID2="MapPpmPAEquipment" DefUID="ClassToMapClass"/>
</Rel>