if (result == null) result = caseElement(substanceSortal);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OntoUMLPackage.TYPE: {
Type type = (Type)theEObject;
T result = caseType(type);
if (result == null) result = caseNamedElement(type);
if (result == null) result = caseElement(type);
if (result == null) result = defaultCase(theEObject);
return result;