}
}
Object parseResult = activityBinding.parse(nestedElement, parse, this);
if (parseResult instanceof ActivityBehaviour) {
ActivityBehaviour activityBehaviour = (ActivityBehaviour) parseResult;
activity.setActivityBehaviour(activityBehaviour);
} else {
Descriptor activityBehaviourDescriptor = (Descriptor) parseResult;
activity.setActivityBehaviourDescriptor(activityBehaviourDescriptor);
}