Interface IMergeSettingsModel
- All Known Implementing Classes:
MergeSettingsTree
public interface IMergeSettingsModel
Interface access to the restored merge settings (read only).
Used for only one comparison session.
For the first time, it is necessary to access the model data in order to traverse the comparison tree in depth.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetMergeSettingContainer(ComparisonNode comparisonNode, IComparisonSession comparisonSession) Returns the restored join settings for the input node of the comparison tree, if they exist.booleanhasSettingsUnderTree(ComparisonNode comparisonNode, IComparisonSession comparisonSession) Checks if there are restored merge settings for the current subtree.booleanisEmpty()Tells whether this merge settings model is empty.
-
Method Details
-
hasSettingsUnderTree
Checks if there are restored merge settings for the current subtree. For correct operation, the access method for the parent node must be called first. The input node of the comparison tree must have a parent node (except the root) and be part of the input comparison session.- Parameters:
comparisonNode- constructed and validated comparison tree node, notnullcomparisonSession- comparison session to which the node belongs, notnull- Returns:
trueif this node or its descendant has restored merge settings, andfalseotherwise or if this method has not been called previously for the parent node.
-
getMergeSettingContainer
SerializableMergeSettings getMergeSettingContainer(ComparisonNode comparisonNode, IComparisonSession comparisonSession) Returns the restored join settings for the input node of the comparison tree, if they exist. For correct operation, the access method for the parent node must be called first. The input node of the comparison tree must have a parent node (except the root) and be part of the input comparison session.- Parameters:
comparisonNode- constructed and validated comparison tree node, notnullcomparisonSession- comparison session to which the node belongs, notnull- Returns:
- The restored merge settings of the input node or
nullif they are missing. Returnnullif this method has not been called previously for the parent node.
-
isEmpty
boolean isEmpty()Tells whether this merge settings model is empty.- Returns:
trueif empty,falseotherwise
-