Package org.eclipse.emf.spi.cdo

# Klasse AbstractObjectConflictResolver.ThreeWayMerge

java.lang.Object
org.eclipse.emf.spi.cdo.AbstractConflictResolver
org.eclipse.emf.spi.cdo.AbstractObjectConflictResolver
org.eclipse.emf.spi.cdo.AbstractObjectConflictResolver.ThreeWayMerge

Alle implementierten Schnittstellen:
  `CDOConflictResolver`, `CDOConflictResolver2`, `CDOAdapterPolicy`

Bekannte direkte Unterklassen:
  `AbstractObjectConflictResolver.MergeLocalChangesPerFeature`

Umschließende Klasse:
  `AbstractObjectConflictResolver`

public abstract static class AbstractObjectConflictResolver.ThreeWayMerge extends AbstractObjectConflictResolver implements CDOAdapterPolicy
If the meaning of this type isn't clear, there really should be more of a description here...

Seit:
  2.0
Autor:
  Eike Stepper

## Verschachtelte Klassen - Übersicht

Verschachtelte Klassen
Modifizierer und Typ
Klasse
Beschreibung
`static class`
`AbstractObjectConflictResolver.ThreeWayMerge.RevisionDeltaCollector`
If the meaning of this type isn't clear, there really should be more of a description here...

## Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.spi.cdo.AbstractObjectConflictResolver

`AbstractObjectConflictResolver.MergeLocalChangesPerFeature, AbstractObjectConflictResolver.TakeRemoteChangesThenApplyLocalChanges, AbstractObjectConflictResolver.ThreeWayMerge`

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.cdo.transaction.CDOConflictResolver

`CDOConflictResolver.NonConflictAware`

## Feldübersicht

### Von Schnittstelle geerbte Felder org.eclipse.emf.cdo.view.CDOAdapterPolicy

`ALL, CDO, NONE`

## Konstruktorübersicht

Konstruktoren
Konstruktor
Beschreibung
`ThreeWayMerge()`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`protected void`
`hookTransaction(CDOTransaction transaction)`
`boolean`
`isValid(EObject object, Adapter adapter)`
Returns `true` if the given adapter on the given object should trigger a certain operation or behavior, `false` otherwise.
`protected void`
`resolveConflict(CDOObject conflict, CDORevision oldRemoteRevision, CDORevisionDelta localDelta, CDORevisionDelta remoteDelta, List<CDORevisionDelta> allRemoteDeltas)`
Resolves the conflict of a single object in the current transaction.
`protected abstract void`
`resolveConflict(CDOObject conflict, CDORevisionDelta localDelta, List<CDORevisionDelta> remoteDeltas)`
`void`
`resolveConflicts(Set<CDOObject> conflicts)`
Resolves conflicts after remote invalidations arrived for objects that are locally dirty or detached.
`protected void`
`unhookTransaction(CDOTransaction transaction)`

### Von Klasse geerbte Methoden org.eclipse.emf.spi.cdo.AbstractObjectConflictResolver

`changeObject, readObject, resolveConflict, resolveConflicts, rollbackObject`

### Von Klasse geerbte Methoden org.eclipse.emf.spi.cdo.AbstractConflictResolver

`getTransaction, setTransaction`

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.transaction.CDOConflictResolver

`getTransaction, setTransaction`

## Konstruktordetails

### ThreeWayMerge

public ThreeWayMerge()

## Methodendetails

### isValid

public boolean isValid(EObject object, Adapter adapter)
Beschreibung aus Schnittstelle kopiert: `CDOAdapterPolicy`
Returns `true` if the given adapter on the given object should trigger a certain operation or behavior, `false` otherwise.

Angegeben von:
  `isValid` in Schnittstelle `CDOAdapterPolicy`
Siehe auch:
  - `CDOView.Options.addChangeSubscriptionPolicy(CDOAdapterPolicy)`
  - `CDOView.Options.setStrongReferencePolicy(CDOAdapterPolicy)`

### hookTransaction

protected void hookTransaction(CDOTransaction transaction)

Setzt außer Kraft:
  `hookTransaction` in Klasse `AbstractConflictResolver`

### unhookTransaction

protected void unhookTransaction(CDOTransaction transaction)

Setzt außer Kraft:
  `unhookTransaction` in Klasse `AbstractConflictResolver`

### resolveConflicts

public void resolveConflicts(Set<CDOObject> conflicts)
Beschreibung aus Schnittstelle kopiert: `CDOConflictResolver`
Resolves conflicts after remote invalidations arrived for objects that are locally dirty or detached.

Angegeben von:
  `resolveConflicts` in Schnittstelle `CDOConflictResolver`
Setzt außer Kraft:
  `resolveConflicts` in Klasse `AbstractObjectConflictResolver`

### resolveConflict

protected void resolveConflict(CDOObject conflict, CDORevision oldRemoteRevision, CDORevisionDelta localDelta, CDORevisionDelta remoteDelta, List<CDORevisionDelta> allRemoteDeltas)
Beschreibung aus Klasse kopiert: `AbstractObjectConflictResolver`
Resolves the conflict of a single object in the current transaction. Depending on the decision taken to resolve the conflict, it may be necessary to adjust the notification that will be sent to the adapters in the current transaction. This can be achieved by adjusting the `CDORevisionDelta` in `deltas`.

Setzt außer Kraft:
  `resolveConflict` in Klasse `AbstractObjectConflictResolver`

### resolveConflict

protected abstract void resolveConflict(CDOObject conflict, CDORevisionDelta localDelta, List<CDORevisionDelta> remoteDeltas)