Interface IMdAdoptedPropertyMapper
- All Known Implementing Classes:
- NameBasedPropertyMapper
public interface IMdAdoptedPropertyMapper
Metadata property mapper maps original metadata properties with extension metadata properties. Properties
 are mapped one to one. Clients may get extension metadata property by the accoring original model property.
- 
Method SummaryModifier and TypeMethodDescriptionOptional<org.eclipse.emf.ecore.EClass>getExtensionClass(org.eclipse.emf.ecore.EClass originalClass) Returns an optional extension class for the original metadata class.getExtensionProperty(org.eclipse.emf.ecore.EObject originalObject, org.eclipse.emf.ecore.EStructuralFeature originalProperty) Returns an optional pair: The extension metadata object by the original metadata object.
- 
Method Details- 
getExtensionClassOptional<org.eclipse.emf.ecore.EClass> getExtensionClass(org.eclipse.emf.ecore.EClass originalClass) Returns an optional extension class for the original metadata class.- Parameters:
- originalClass- the original metadata class, cannot be- null
- Returns:
- the optional extension class for the original metadata class
 
- 
getExtensionPropertyOptional<Pair<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature>> getExtensionProperty(org.eclipse.emf.ecore.EObject originalObject, org.eclipse.emf.ecore.EStructuralFeature originalProperty) Returns an optional pair:- The extension metadata object by the original metadata object.
- The extension metadata property by the original metadata property.
 - Parameters:
- originalObject- the original metadata object, cannot be- null
- originalProperty- the original metadata property, cannot be- null
- Returns:
- the optional extension metadata object and property accoring to the original model
 
 
-