Class AbstractEmfBasedComparisonParticipant.BmIdsWrapper
- java.lang.Object
- 
- com._1c.g5.v8.dt.compare.participant.AbstractEmfBasedComparisonParticipant.BmIdsWrapper
 
- 
- Enclosing class:
- AbstractEmfBasedComparisonParticipant
 
 protected class AbstractEmfBasedComparisonParticipant.BmIdsWrapper extends Object Wrapper to store bm ids of child nodes to be compared later in a separate thread.
- 
- 
Constructor SummaryConstructors Constructor Description BmIdsWrapper(TopComparisonNode topNode, List<Long> bmIdsWrappingList)Creates wrapper instance for the specified node.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateChildNode(LazyNodeProvider<? extends ComparisonNode> parentNodeProvider, IComparisonSession session, ComparedFeatures<org.eclipse.emf.ecore.EReference> comparedExternalProperties, AbstractComparedEmfObjects<?> comparingObject)Creates new child node and stores it in the wrapped list.AbstractEmfBasedComparisonParticipant.BmIdsWrappercreateWrapperForNode(TopComparisonNode node)Creates wrapper instance for a new node, but with the same list of bm ids to be wrapped.List<Long>getChildrenBmIds()Returns wrapped list of bm ids of child nodes.
 
- 
- 
- 
Constructor Detail- 
BmIdsWrapperpublic BmIdsWrapper(TopComparisonNode topNode, List<Long> bmIdsWrappingList) Creates wrapper instance for the specified node.- Parameters:
- topNode- the top node for which to wrap child bm ids, cannot be- null
- bmIdsWrappingList- the list of bm ids to wrap, will be filled by new ids during comparison, cannot be- null
 
 
- 
 - 
Method Detail- 
createChildNodepublic void createChildNode(LazyNodeProvider<? extends ComparisonNode> parentNodeProvider, IComparisonSession session, ComparedFeatures<org.eclipse.emf.ecore.EReference> comparedExternalProperties, AbstractComparedEmfObjects<?> comparingObject) Creates new child node and stores it in the wrapped list.- Parameters:
- parentNodeProvider- the provider of a parent node for the child node to be created, can be- null
- session- the comparison session
- comparedExternalProperties- the compared external property feature for which to create child node
- comparingObject- the triple of objects to be compared
 
 - 
getChildrenBmIdspublic List<Long> getChildrenBmIds() Returns wrapped list of bm ids of child nodes.- Returns:
- the list of bm ids, never null
 
 - 
createWrapperForNodepublic AbstractEmfBasedComparisonParticipant.BmIdsWrapper createWrapperForNode(TopComparisonNode node) Creates wrapper instance for a new node, but with the same list of bm ids to be wrapped.- Parameters:
- node- the node to create wrapper for, cannot be- null
- Returns:
- the new wrapper instance, never null
 
 
- 
 
-