Class MatchedMdObjectOrderer
java.lang.Object
com._1c.g5.v8.dt.compare.order.AbstractMatchedObjectOrderer<MdObjectCollectionElementComparisonNode>
com._1c.g5.v8.dt.md.compare.matching.MatchedMdObjectOrderer
public class MatchedMdObjectOrderer
extends AbstractMatchedObjectOrderer<MdObjectCollectionElementComparisonNode>
Orderer of matched MD objects lying in some collection.
- 
Constructor SummaryConstructorsConstructorDescriptionMatchedMdObjectOrderer(Collection<MdObjectCollectionElementComparisonNode> matchedObjects, boolean isThreeWay) Creates a new instance.
- 
Method SummaryModifier and TypeMethodDescriptionintgetOrder(MdObjectCollectionElementComparisonNode object, ComparisonSide side) Returns the original order index of the source object on the specified side.booleanisPresent(MdObjectCollectionElementComparisonNode object, ComparisonSide side) Checks whether a source object is present on the specified side of the matched object.Methods inherited from class com._1c.g5.v8.dt.compare.order.AbstractMatchedObjectOrderergetMatchedObjects, getOrdered, getWithChangedOrder
- 
Constructor Details- 
MatchedMdObjectOrdererpublic MatchedMdObjectOrderer(Collection<MdObjectCollectionElementComparisonNode> matchedObjects, boolean isThreeWay) Creates a new instance.- Parameters:
- matchedObjects- the matched objects, cannot be- null
- isThreeWay- tells whether the comparison session is three-way
 
 
- 
- 
Method Details- 
isPresentDescription copied from class:AbstractMatchedObjectOrdererChecks whether a source object is present on the specified side of the matched object.- Specified by:
- isPresentin class- AbstractMatchedObjectOrderer<MdObjectCollectionElementComparisonNode>
- Parameters:
- object- the matched object
- side- the source side to check
- Returns:
- truewhen the source object is present
 
- 
getOrderDescription copied from class:AbstractMatchedObjectOrdererReturns the original order index of the source object on the specified side.- Specified by:
- getOrderin class- AbstractMatchedObjectOrderer<MdObjectCollectionElementComparisonNode>
- Parameters:
- object- the matched object
- side- the side of the source object
- Returns:
- order index of the source object (irrelevant if the object is not present)
 
 
-