isType = name.equals(type);
// if this isn't a type defined by typeName, see if we can find any
// types that inherit from the type.
if (!isType)
{
isType = CollectionUtils.find(classifier.getAllGeneralizations(), new Predicate()
{
public boolean evaluate(Object object)
{
String name = StringUtils.trimToEmpty(
((ModelElementFacade)object).getFullyQualifiedName(true));