public class ComparisonResult extends Object
referenceObjectId.| Constructor and Description |
|---|
ComparisonResult(Object referenceObjectId,
Map<ObjectAttributesValueContainer,Set<CompareAttributeDescriptor>> differences,
Set<GroupDescriptor> groupDescriptors) |
public ComparisonResult(Object referenceObjectId, Map<ObjectAttributesValueContainer,Set<CompareAttributeDescriptor>> differences, Set<GroupDescriptor> groupDescriptors)
@Deprecated public Collection<Object> getObjectsWithDifferences()
getObjectsIdWithDifferences()public Collection<Object> getObjectsIdWithDifferences()
referenceObjectId, otherwise empty collectionpublic Set<CompareAttributeDescriptor> getAttributesWithDifferences()
@Deprecated public Collection<ObjectAttributesValueContainer> getObjectsWithDifferences(CompareAttributeDescriptor attributeDescriptor)
getObjectsIdWithDifferences()public Collection<ObjectAttributesValueContainer> getObjectsIdWithDifferences(CompareAttributeDescriptor attributeDescriptor)
attributeDescriptor - comparing attribute descriptorObjectAttributesValueContainer for an attributeDescriptor,
otherwise empty collection@Deprecated public Object getReferenceObject()
getReferenceObjectId()public Object getReferenceObjectId()
public Set<String> getGroupsWithDifferences()
referenceObjectId, otherwise empty collectionpublic boolean merge(ComparisonResult addition, Object comparedObjectId)
protected void updateObjectsForAttributesDifferences(ComparisonResult addition, Object comparedObjectId)
protected void updateGroupsDifferences(ComparisonResult addition)
protected void updateDifferentObjects()
Copyright © 2018. All rights reserved.