@Override
protected T doSwitch(int classifierID, EObject theEObject) {
switch(classifierID) {
case ActivitiesPackage.OPTIONAL:
{
Optional optional = (Optional)theEObject;
T result = caseOptional(optional);
if(result == null)
result = defaultCase(theEObject);
return result;
}