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 consider
        secondParent - second object to consider
        attribute - attribute for which a value should be calculated
        Returns:
        calculated value