return (CaseDefinitionEntity) definition;
}
protected void transformCasePlanModel(CasePlanModel casePlanModel) {
CasePlanModelHandler transformer = (CasePlanModelHandler) getPlanItemHandler(CasePlanModel.class);
CmmnActivity newActivity = transformer.handleElement(casePlanModel, context);
context.setParent(newActivity);
transformStage(casePlanModel, newActivity);
context.setParent(newActivity);
transformer.initializeExitCriterias(casePlanModel, newActivity, context);
for (CmmnTransformListener transformListener : transformListeners) {
transformListener.transformCasePlanModel(casePlanModel, newActivity);
}
}