@Test public void testGetArchetypeAOMById() throws Exception { String archetypeId = "openEHR-EHR-OBSERVATION.body_weight.v1"; Archetype archetype = archetypes.getArchetypeAOMById(archetypeId); assertThat(archetype, notNullValue()); }
public Archetype getArchetypeAOMById(String archetypeId) { return getArchetypeAOMsByIds(Collections.singleton(archetypeId)).iterator().next(); }
Archetypes extends AbstractCMManager<ArchetypeDTO> { public Archetype getArchetypeAOMById(String archetypeId) { return getArchetypeAOMsByIds(Collections.singleton(archetypeId)).iterator().next(); } }
Archetypes extends AbstractCMManager<ArchetypeDTO> { public Archetype getArchetypeAOMById(String archetypeId) { return getArchetypeAOMsByIds(Collections.singleton(archetypeId)).iterator().next(); } Archetypes(
            ArchetypeManager archetypeManager,
            ExecutorService executorService); }
Archetypes extends AbstractCMManager<ArchetypeDTO> { public Archetype getArchetypeAOMById(String archetypeId) { return getArchetypeAOMsByIds(Collections.singleton(archetypeId)).iterator().next(); } Archetypes(
            ArchetypeManager archetypeManager,
            ExecutorService executorService); @Override void registerCMElementsInCache(Collection<ArchetypeDTO> cmElements); @Override Class<ArchetypeDTO> getCMElementClass(); void processArchetypes(Collection<ArchetypeDTO> archetypeDTOs); void processArchetype(ArchetypeDTO archetypeDTO); static ImageIcon getIcon(String archetypeId); static String getEntryType(final String archetypeId); Map<String, Archetype> getArchetypeMap(); Archetype getArchetypeAOMById(String archetypeId); Collection<Archetype> getArchetypeAOMsByIds(Collection<String> archetypeIds); Collection<Archetype> getArchetypeAOMsInCacheById(Collection<String> archetypeIds); org.openehr.jaxb.am.Archetype getArchetypeAOM2ById(String archetypeId); ArchetypeObjectBundleCustomVO getArchetypeAOBCVOById(String archetypeId); ArchetypeManager getArchetypeManager(); TemplateMap generateTemplateMap(String archetypeId); }
Archetypes extends AbstractCMManager<ArchetypeDTO> { public Archetype getArchetypeAOMById(String archetypeId) { return getArchetypeAOMsByIds(Collections.singleton(archetypeId)).iterator().next(); } Archetypes(
            ArchetypeManager archetypeManager,
            ExecutorService executorService); @Override void registerCMElementsInCache(Collection<ArchetypeDTO> cmElements); @Override Class<ArchetypeDTO> getCMElementClass(); void processArchetypes(Collection<ArchetypeDTO> archetypeDTOs); void processArchetype(ArchetypeDTO archetypeDTO); static ImageIcon getIcon(String archetypeId); static String getEntryType(final String archetypeId); Map<String, Archetype> getArchetypeMap(); Archetype getArchetypeAOMById(String archetypeId); Collection<Archetype> getArchetypeAOMsByIds(Collection<String> archetypeIds); Collection<Archetype> getArchetypeAOMsInCacheById(Collection<String> archetypeIds); org.openehr.jaxb.am.Archetype getArchetypeAOM2ById(String archetypeId); ArchetypeObjectBundleCustomVO getArchetypeAOBCVOById(String archetypeId); ArchetypeManager getArchetypeManager(); TemplateMap generateTemplateMap(String archetypeId); static final ImageIcon ICON; }