if (result == null) result = caseNamedElement(subQuantityOf);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OntoUMLPackage.SUBSTANCE_SORTAL: {
SubstanceSortal substanceSortal = (SubstanceSortal)theEObject;
T result = caseSubstanceSortal(substanceSortal);
if (result == null) result = caseRigidSortalClass(substanceSortal);
if (result == null) result = caseSortalClass(substanceSortal);
if (result == null) result = caseObjectClass(substanceSortal);
if (result == null) result = caseClass(substanceSortal);