if (result == null) result = caseElement(mode);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OntoUMLPackage.MOMENT_CLASS: {
MomentClass momentClass = (MomentClass)theEObject;
T result = caseMomentClass(momentClass);
if (result == null) result = caseClass(momentClass);
if (result == null) result = caseClassifier(momentClass);
if (result == null) result = caseType(momentClass);
if (result == null) result = caseNamedElement(momentClass);