public interface IStructuredReferenceBackwardCompatibilityHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ECLASS
The key for the EClass in the extraInfo Map for the
getCompatibilityStructuredReference() method
|
Modifier and Type | Method and Description |
---|---|
StructuredReference |
getCompatibilityStructuredReference(java.lang.Object referencedContext,
StructuredReference newFormatStructRef,
java.util.Map extraInfo,
java.lang.String fromVersion,
java.lang.String toVersion)
Return a compatibility StructuredReference for the given version
|
static final java.lang.String ECLASS
StructuredReference getCompatibilityStructuredReference(java.lang.Object referencedContext, StructuredReference newFormatStructRef, java.util.Map extraInfo, java.lang.String fromVersion, java.lang.String toVersion)
referencedContext
- Context where the reference will be usednewFormatStructRef
- a StructuredReference in the new format. A copy can be
modified, but must also be returned.extraInfo
- a map with extra info for obtaining the compatibility StructuredReferencefromVersion
- the string version we're migrating from, i.e. the
vesrion of the newFormatStructRef parametertoVersion
- the string version we're migrating to