Interface IAttributeProcessor
-
- All Known Implementing Classes:
DefaultAttributeProcessor
public interface IAttributeProcessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
acceptsAttribute(org.eclipse.emf.ecore.EAttribute attribute)
Object
processAttribute(org.eclipse.emf.ecore.EObject firstParent, org.eclipse.emf.ecore.EObject secondParent, org.eclipse.emf.ecore.EAttribute attribute)
For the given attribute calculates and returns a value by considering the attribute values stored in both of the given objects.
-
-
-
Method Detail
-
acceptsAttribute
boolean acceptsAttribute(org.eclipse.emf.ecore.EAttribute attribute)
-
processAttribute
Object processAttribute(org.eclipse.emf.ecore.EObject firstParent, org.eclipse.emf.ecore.EObject secondParent, org.eclipse.emf.ecore.EAttribute attribute)
For the given attribute calculates and returns a value by considering the attribute values stored in both of the given objects. The returned value has to conform to the type of the attribute.- Parameters:
firstParent
- first object to considersecondParent
- second object to considerattribute
- attribute for which a value should be calculated- Returns:
- calculated value
-
-