private ProcTemplate createTemplate ( Template template ) { if ( ! template . isEmpty ( ) ) { return new ProcTemplate ( templateElementFactory . createTemplateList ( template . getElements ( ) ) ) ; } else { return ProcTemplate . EMPTY ; } }
Create a template from definition