if(!(comp instanceof Interface)) {
return false;
}
Interface other = (Interface)comp;
//compare {name}
QName myName = getName();
if(myName != null && !myName.equals(other.getName())) return false;
/* To compare {extended interfaces} we cannot just retrieve and compare the two sets
* of extended Interface components because we'd enter a recursive loop. To get the
* extended interfaces (i.e. to resolve the qnames in the 'extends' attribute)
* we need to get the set of interfaces available to the Description, which in turn