ModelSynchronizer

class ModelSynchronizer(val filter: ModelSynchronizer.IFilter, val sourceRoot: INode, val targetRoot: INode, val nodeAssociation: INodeAssociation)

Similar to ModelImporter, but the input is two INode instances instead of INode and NodeData.

Changes to the behaviour of this class should also reflected in ModelImporter.

Parameters

filter

determines which nodes need synchronization. Nodes that do not match the filter are skipped and will remain unchanged.

sourceRoot

root of the tree containing the expected nodes

targetRoot

root of the tree that needs changes

nodeAssociation

mapping between source and target nodes, that is used for internal optimizations

Constructors

Link copied to clipboard
constructor(filter: ModelSynchronizer.IFilter, sourceRoot: INode, targetRoot: INode, nodeAssociation: INodeAssociation)

Types

Link copied to clipboard
interface IFilter

Determines, which nodes need synchronization and which can be skipped.

Link copied to clipboard
class MergedRole<E : IRole>(source: E?, target: E?)
Link copied to clipboard
inner class PendingReference(val sourceNode: INode, val targetNode: INode, val role: ModelSynchronizer.MergedRole<IReferenceLink>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard