class SubProcessConverter extends BaseSubProcessConverter<AdHocSubprocess, ProcessData, AdHocSubprocessTaskExecutionSet> {

    @Override
    protected AdHocSubprocessTaskExecutionSet createAdHocSubprocessTaskExecutionSet(AdHocSubProcessPropertyReader p) {
        return new AdHocSubprocessTaskExecutionSet(new AdHocActivationCondition(p.getAdHocActivationCondition()),
                                                   new AdHocCompletionCondition(p.getAdHocCompletionCondition()),
                                                   new AdHocOrdering(p.getAdHocOrdering()),
                                                   new AdHocAutostart(p.isAdHocAutostart()),
                                                   new OnEntryAction(p.getOnEntryAction()),
                                                   new OnExitAction(p.getOnExitAction()),
                                                   new IsAsync(p.isAsync()),
                                                   new SLADueDate(p.getSlaDueDate()));
    }

    public  SubProcessConverter(TypedFactoryManager typedFactoryManager,
                               PropertyReaderFactory propertyReaderFactory,
                               DefinitionResolver definitionResolver,
                               ConverterFactory converterFactory);

}