} else {
/*
* cases: REMOVED, ADDED: impossible
* MODIFIED: an interface has become a class or vice versa
*/
IDifference typeDifference = new Difference();
typeDifference.setDescription("The type of the item "
+ am.getIdentifier()
+ " has been modified to "
+ dmType);
typeDifference.setAMElement((IModelElement)am);
typeDifference.setDMElement((IModelElement)dm);
typeDifference.setLayer(IDifference.Layer.MODELITEM);
typeDifference.setStatus(IDifference.Status.MODIFIED);
typeDifference.setName("AllDifferencesFromOutside");
results.add(typeDifference);
}
results.addAll(getDifferencesFromExtendees(amExtendees, dmExtendees));
results.addAll(getDifferencesFromMembers(amMembers, dmMembers));