private String genFullUrl(String bundleBase, String entryBase, String type, String id) { String base = Utilities.noString(entryBase) ? bundleBase : entryBase; if (Utilities.noString(base)) { return type + "/" + id; } else if ("urn:uuid".equals(base) || "urn:oid".equals(base)) return base + id; else return Utilities.appendSlash(base) + type + "/" + id; }
private String genFullUrl(String bundleBase, String entryBase, String type, String id) { String base = Utilities.noString(entryBase) ? bundleBase : entryBase; if (Utilities.noString(base)) { return type + "/" + id; } else if ("urn:uuid".equals(base) || "urn:oid".equals(base)) return base + id; else return Utilities.appendSlash(base) + type + "/" + id; }
private String genFullUrl(String bundleBase, String entryBase, String type, String id) { String base = Utilities.noString(entryBase) ? bundleBase : entryBase; if (Utilities.noString(base)) { return type + "/" + id; } else if ("urn:uuid".equals(base) || "urn:oid".equals(base)) return base + id; else return Utilities.appendSlash(base) + type + "/" + id; }
private String genFullUrl(String bundleBase, String entryBase, String type, String id) { String base = Utilities.noString(entryBase) ? bundleBase : entryBase; if (Utilities.noString(base)) { return type + "/" + id; } else if ("urn:uuid".equals(base) || "urn:oid".equals(base)) return base + id; else return Utilities.appendSlash(base) + type + "/" + id; }