Package org.eclipse.emf.cdo.transfer

# Klasse CDOTransfer.ModelTransferContext

java.lang.Object
org.eclipse.emf.cdo.transfer.CDOTransfer.ModelTransferContext

Umschließende Klasse:
  `CDOTransfer`

public static class CDOTransfer.ModelTransferContext extends Object
Encapsulates the model-specific aspects of a `transfer`.

Autor:
  Eike Stepper

## Verschachtelte Klassen - Übersicht

Verschachtelte Klassen
Modifizierer und Typ
Klasse
Beschreibung
`static class`
`CDOTransfer.ModelTransferContext.ResolveProxyAdapter`
An `adapter` for a `resource set` that resolves all proxies in all resources when they are loaded.

## Konstruktorübersicht

Konstruktoren
Modifizierer
Konstruktor
Beschreibung
`protected`
`ModelTransferContext(CDOTransfer transfer)`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`protected void`
`addModelMapping(CDOTransferMapping mapping)`
`protected EcoreUtil.Copier`
`createCopier()`
`protected ResourceSet`
`createResourceSet(CDOTransferSystem system)`
`protected void`
`fireUnmappedModelsEvent()`
`CDOTransfer.ModelTransferResolution`
`getResolution(URI uri)`
`protected Resource`
`getSourceResource(CDOTransferMapping mapping)`
`final ResourceSet`
`getSourceResourceSet()`
`protected Resource`
`getTargetResource(CDOTransferMapping mapping)`
`final ResourceSet`
`getTargetResourceSet()`
`final CDOTransfer`
`getTransfer()`
`Set<Resource>`
`getUnmappedModels()`
`protected boolean`
`hasResourceFactory(CDOTransferElement source)`
`protected void`
`perform(CDOTransferMapping mapping, IProgressMonitor monitor)`
`protected void`
`performFinish(IProgressMonitor monitor)`
`void`
`registerSourceContentType(String contentType, Resource.Factory factory)`
`void`
`registerSourceExtension(String extension, Resource.Factory factory)`
`void`
`registerSourceProtocol(String protocol, Resource.Factory factory)`
`void`
`registerTargetContentType(String contentType, Resource.Factory factory)`
`void`
`registerTargetExtension(String extension, Resource.Factory factory)`
`void`
`registerTargetProtocol(String protocol, Resource.Factory factory)`
`protected void`
`removeModelMapping(CDOTransferMapping mapping)`
`protected Set<Resource>`
`resolve()`
`CDOTransfer.ModelTransferResolution`
`setResolution(URI uri, CDOTransfer.ModelTransferResolution resolution)`

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

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

## Konstruktordetails

### ModelTransferContext

protected ModelTransferContext(CDOTransfer transfer)

## Methodendetails

### getTransfer

public final CDOTransfer getTransfer()

### getSourceResourceSet

public final ResourceSet getSourceResourceSet()

### getTargetResourceSet

public final ResourceSet getTargetResourceSet()

### registerSourceExtension

public void registerSourceExtension(String extension, Resource.Factory factory)

### registerSourceProtocol

public void registerSourceProtocol(String protocol, Resource.Factory factory)

### registerSourceContentType

public void registerSourceContentType(String contentType, Resource.Factory factory)

### registerTargetExtension

public void registerTargetExtension(String extension, Resource.Factory factory)

### registerTargetProtocol

public void registerTargetProtocol(String protocol, Resource.Factory factory)

### registerTargetContentType

public void registerTargetContentType(String contentType, Resource.Factory factory)

### getUnmappedModels

public Set<Resource> getUnmappedModels()

### getResolution

public CDOTransfer.ModelTransferResolution getResolution(URI uri)

### setResolution

public CDOTransfer.ModelTransferResolution setResolution(URI uri, CDOTransfer.ModelTransferResolution resolution)

### resolve

protected Set<Resource> resolve()

### fireUnmappedModelsEvent

protected void fireUnmappedModelsEvent()

### addModelMapping

protected void addModelMapping(CDOTransferMapping mapping)

### removeModelMapping

protected void removeModelMapping(CDOTransferMapping mapping)

### getSourceResource

protected Resource getSourceResource(CDOTransferMapping mapping)

### getTargetResource

protected Resource getTargetResource(CDOTransferMapping mapping)

### createCopier

protected EcoreUtil.Copier createCopier()

### createResourceSet

protected ResourceSet createResourceSet(CDOTransferSystem system)

### hasResourceFactory

protected boolean hasResourceFactory(CDOTransferElement source)

### perform

protected void perform(CDOTransferMapping mapping, IProgressMonitor monitor)

### performFinish

protected void performFinish(IProgressMonitor monitor)