Package org.eclipse.emf.cdo.compare
Class CDOComparisonScope.Minimal
- java.lang.Object
- 
- org.eclipse.emf.common.notify.impl.AdapterImpl
- 
- org.eclipse.emf.compare.scope.AbstractComparisonScope
- 
- org.eclipse.emf.cdo.compare.CDOComparisonScope
- 
- org.eclipse.emf.cdo.compare.CDOComparisonScope.Minimal
 
 
 
 
- 
- All Implemented Interfaces:
- com.google.common.base.Predicate<org.eclipse.emf.ecore.EObject>,- java.util.function.Predicate<org.eclipse.emf.ecore.EObject>,- org.eclipse.emf.common.notify.Adapter,- org.eclipse.emf.common.notify.Adapter.Internal,- org.eclipse.emf.compare.scope.IComparisonScope,- org.eclipse.emf.compare.scope.IComparisonScope2,- org.eclipse.emf.compare.utils.IDiagnosable
 - Enclosing class:
- CDOComparisonScope
 
 public static class CDOComparisonScope.Minimal extends CDOComparisonScope implements com.google.common.base.Predicate<org.eclipse.emf.ecore.EObject> Takes aview/transactionand returnsmatchesonly for the changed elements of the entire content tree of itsroot resource. The advantage of this scope is that CDO-specific mechanisms are used to efficiently (remotely) determine the set of changed objects. Only those and their container objects are considered as matches, making this scope scale seamlessly with the overall size of a repository. The following method returns comparisons that are based on this scope algorithm:- Author:
- Eike Stepper
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.eclipse.emf.cdo.compare.CDOComparisonScopeCDOComparisonScope.AllContents, CDOComparisonScope.Minimal
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapply(org.eclipse.emf.ecore.EObject input)protected voidcollectRequiredParentID(CDOView view, CDOID id, java.util.Set<CDOID> requiredParentIDs)static org.eclipse.emf.compare.scope.IComparisonScopecreate(CDOTransaction transaction)static org.eclipse.emf.compare.scope.IComparisonScopecreate(CDOTransaction transaction, CDOViewOpener viewOpener)static org.eclipse.emf.compare.scope.IComparisonScopecreate(CDOView leftView, CDOView rightView, CDOView[] originView)static org.eclipse.emf.compare.scope.IComparisonScopecreate(CDOView leftView, CDOView rightView, CDOView[] originView, java.util.Set<CDOID> ids)static org.eclipse.emf.compare.scope.IComparisonScopecreate(CDOView leftView, CDOView rightView, CDOView[] originView, java.util.Set<CDOID> ids, CDOViewOpener viewOpener)static org.eclipse.emf.compare.scope.IComparisonScopecreate(CDOView leftView, CDOView rightView, CDOView[] originView, CDOViewOpener viewOpener)java.util.Iterator<? extends org.eclipse.emf.ecore.EObject>getChildren(org.eclipse.emf.ecore.EObject eObject)- 
Methods inherited from class org.eclipse.emf.cdo.compare.CDOComparisonScopegetCoveredEObjects, getCoveredResources, isResolveProxies, setResolveProxies
 - 
Methods inherited from class org.eclipse.emf.compare.scope.AbstractComparisonScopegetAllInvolvedResourceURIs, getDiagnostic, getLeft, getNsURIs, getOrigin, getResourceURIs, getRight, isAdapterForType, setDiagnostic
 - 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImplgetTarget, notifyChanged, setTarget, unsetTarget
 
- 
 
- 
- 
- 
Method Detail- 
getChildrenpublic java.util.Iterator<? extends org.eclipse.emf.ecore.EObject> getChildren(org.eclipse.emf.ecore.EObject eObject) - Specified by:
- getChildrenin interface- org.eclipse.emf.compare.scope.IComparisonScope
 
 - 
applypublic boolean apply(org.eclipse.emf.ecore.EObject input) - Specified by:
- applyin interface- com.google.common.base.Predicate<org.eclipse.emf.ecore.EObject>
 
 - 
collectRequiredParentIDprotected void collectRequiredParentID(CDOView view, CDOID id, java.util.Set<CDOID> requiredParentIDs) 
 - 
createpublic static org.eclipse.emf.compare.scope.IComparisonScope create(CDOView leftView, CDOView rightView, CDOView[] originView) 
 - 
createpublic static org.eclipse.emf.compare.scope.IComparisonScope create(CDOView leftView, CDOView rightView, CDOView[] originView, CDOViewOpener viewOpener) - Since:
- 4.3
 
 - 
createpublic static org.eclipse.emf.compare.scope.IComparisonScope create(CDOView leftView, CDOView rightView, CDOView[] originView, java.util.Set<CDOID> ids) 
 - 
createpublic static org.eclipse.emf.compare.scope.IComparisonScope create(CDOView leftView, CDOView rightView, CDOView[] originView, java.util.Set<CDOID> ids, CDOViewOpener viewOpener) - Since:
- 4.3
 
 - 
createpublic static org.eclipse.emf.compare.scope.IComparisonScope create(CDOTransaction transaction) 
 - 
createpublic static org.eclipse.emf.compare.scope.IComparisonScope create(CDOTransaction transaction, CDOViewOpener viewOpener) - Since:
- 4.3
 
 
- 
 
-