if (result == null) result = caseElement(rigidSortalClass);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OntoUMLPackage.ROLE: {
Role role = (Role)theEObject;
T result = caseRole(role);
if (result == null) result = caseAntiRigidSortalClass(role);
if (result == null) result = caseSortalClass(role);
if (result == null) result = caseObjectClass(role);
if (result == null) result = caseClass(role);