if (result == null) result = caseElement(quantity);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OntoUMLPackage.REDEFINABLE_ELEMENT: {
RedefinableElement redefinableElement = (RedefinableElement)theEObject;
T result = caseRedefinableElement(redefinableElement);
if (result == null) result = caseNamedElement(redefinableElement);
if (result == null) result = caseElement(redefinableElement);
if (result == null) result = defaultCase(theEObject);
return result;