org.eclipse.epsilon.flock.context
Class ConservativeCopyContext

java.lang.Object
  extended by org.eclipse.epsilon.flock.context.ConservativeCopyContext

public class ConservativeCopyContext
extends java.lang.Object


Constructor Summary
ConservativeCopyContext(Model originalModel, Model migratedModel, FlockExecution execution)
           
 
Method Summary
 void addWarning(java.lang.String warning)
           
 void automaticallyPopulateEquivalent(MigrationStrategy strategy, Equivalence equivalence)
           
 ModelElement getEquivalent(ModelElement originalModelElement)
           
 java.lang.Object getEquivalent(java.lang.Object unwrappedModelElement)
           
 ModelValue<?> getEquivalentValue(ModelValue<?> originalValue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConservativeCopyContext

public ConservativeCopyContext(Model originalModel,
                               Model migratedModel,
                               FlockExecution execution)
Method Detail

getEquivalent

public ModelElement getEquivalent(ModelElement originalModelElement)

getEquivalent

public java.lang.Object getEquivalent(java.lang.Object unwrappedModelElement)
                               throws ConservativeCopyException
Throws:
ConservativeCopyException

addWarning

public void addWarning(java.lang.String warning)

getEquivalentValue

public ModelValue<?> getEquivalentValue(ModelValue<?> originalValue)
                                 throws ConservativeCopyException
Throws:
ConservativeCopyException

automaticallyPopulateEquivalent

public void automaticallyPopulateEquivalent(MigrationStrategy strategy,
                                            Equivalence equivalence)
                                     throws FlockRuntimeException
Throws:
FlockRuntimeException