@Test public void testBuild() throws Exception { FlatArchetypeProvider flatArchetypeProvider = new TestingArchetypeProvider("adl15/template"); Template template = TemplateDeserializer.deserialize(getClass().getClassLoader().getResourceAsStream( "adl15/template/openEHR-EHR-COMPOSITION.mini_vitals.v1.adlt")); OperationalTemplate opt = OperationalTemplateBuilder.build(flatArchetypeProvider, template); }
private OperationalTemplate build() { AdlUtils.fillArchetypeFields(result, template); result.setIsDifferential(false); expandTemplate(); return result; }
OperationalTemplateBuilder { private OperationalTemplate build() { AdlUtils.fillArchetypeFields(result, template); result.setIsDifferential(false); expandTemplate(); return result; } }
OperationalTemplateBuilder { private OperationalTemplate build() { AdlUtils.fillArchetypeFields(result, template); result.setIsDifferential(false); expandTemplate(); return result; } private  OperationalTemplateBuilder(FlatArchetypeProvider flatArchetypeProvider, Template template); }
OperationalTemplateBuilder { private OperationalTemplate build() { AdlUtils.fillArchetypeFields(result, template); result.setIsDifferential(false); expandTemplate(); return result; } private  OperationalTemplateBuilder(FlatArchetypeProvider flatArchetypeProvider, Template template); static OperationalTemplate build(FlatArchetypeProvider flatArchetypeProvider, Template template); }
OperationalTemplateBuilder { private OperationalTemplate build() { AdlUtils.fillArchetypeFields(result, template); result.setIsDifferential(false); expandTemplate(); return result; } private  OperationalTemplateBuilder(FlatArchetypeProvider flatArchetypeProvider, Template template); static OperationalTemplate build(FlatArchetypeProvider flatArchetypeProvider, Template template);  }