/** * See section "header macros" and treat-xrefs-as-equivalent. * * @param id the id * @return mapped id */ protected String mapPropId(String id) { Frame f = obodoc.getTypedefFrame(id); if (f != null) { Collection<Xref> xrefs = f.getTagValues(OboFormatTag.TAG_XREF, Xref.class); for (Xref x : xrefs) { String xid = x.getIdref(); if (OBODoc.isTreatXrefsAsEquivalent(getIdPrefix(xid))) { return xid; } } } return id; }
/** * See section "header macros" and treat-xrefs-as-equivalent. * * @param id the id * @return mapped id */ protected String mapPropId(String id) { Frame f = obodoc.getTypedefFrame(id); if (f != null) { Collection<Xref> xrefs = f.getTagValues(OboFormatTag.TAG_XREF, Xref.class); for (Xref x : xrefs) { String xid = x.getIdref(); if (OBODoc.isTreatXrefsAsEquivalent(getIdPrefix(xid))) { return xid; } } } return id; }
/** * See section "header macros" and treat-xrefs-as-equivalent. * * @param id the id * @return mapped id */ protected String mapPropId(String id) { Frame f = obodoc.getTypedefFrame(id); if (f != null) { Collection<Xref> xrefs = f.getTagValues(OboFormatTag.TAG_XREF, Xref.class); for (Xref x : xrefs) { String xid = x.getIdref(); if (OBODoc.isTreatXrefsAsEquivalent(getIdPrefix(xid))) { return xid; } } } return id; }
/** * See section "header macros" and treat-xrefs-as-equivalent. * * @param id the id * @return mapped id */ protected String mapPropId(String id) { Frame f = obodoc.getTypedefFrame(id); if (f != null) { Collection<Xref> xrefs = f.getTagValues(OboFormatTag.TAG_XREF, Xref.class); for (Xref x : xrefs) { String xid = x.getIdref(); if (OBODoc.isTreatXrefsAsEquivalent(getIdPrefix(xid))) { return xid; } } } return id; }