@Override public String getLinkFor(String corePath, String typeSimple) { for (LogicalModel lm : logicalModelSet) { if (lm.getId().equals(typeSimple)) return collapse(corePath, guide.getPrefix() + lm.getId() + ".html"); } return page.getLinkFor(corePath, typeSimple); }
public LogicalModelProcessor( String title, PageProcessor page, ImplementationGuideDefn ig, String name, String type, String pagePath, StructureDefinition definition, String tx, String dict, Map<String, String> examples, List<LogicalModel> logicalModelSet) { super(title, ig.getLevel(), page, ig, name, type, pagePath); this.guide = ig; this.definition = definition; this.tx = tx; this.dict = dict; this.examples = examples; this.logicalModelSet = logicalModelSet; }