/** * Transfer all inheritable metadata from fromDs to the local metadata of this dataset. * Called by InvDatasetScan to transfer inheritable metaddata to the nested catalogRef * * @param fromDs transfer from here */ public void transferMetadata(InvDatasetImpl fromDs, boolean copyInheritedMetadataFromParents) { if (fromDs == null) return; logger.debug(" transferMetadata= " + fromDs.getName()); if (this != fromDs) getLocalMetadata().add(fromDs.getLocalMetadata(), false); transferInheritableMetadata(fromDs, getLocalMetadataInheritable(), copyInheritedMetadataFromParents); setResourceControl(fromDs.getRestrictAccess()); }
/** * Transfer all inheritable metadata from fromDs to the local metadata of this dataset. * Called by InvDatasetScan to transfer inheritable metaddata to the nested catalogRef * * @param fromDs transfer from here */ public void transferMetadata(InvDatasetImpl fromDs, boolean copyInheritedMetadataFromParents) { if (fromDs == null) return; if (debugInherit2) System.out.println(" transferMetadata= " + fromDs.getName()); if (this != fromDs) getLocalMetadata().add(fromDs.getLocalMetadata(), false); transferInheritableMetadata(fromDs, getLocalMetadataInheritable(), copyInheritedMetadataFromParents); setResourceControl(fromDs.getRestrictAccess()); }
/** * Transfer all inheritable metadata from fromDs to the local metadata of this dataset. * Called by InvDatasetScan to transfer inheritable metaddata to the nested catalogRef * * @param fromDs transfer from here */ public void transferMetadata(InvDatasetImpl fromDs, boolean copyInheritedMetadataFromParents) { if (fromDs == null) return; if (debugInherit2) System.out.println(" transferMetadata= " + fromDs.getName()); if (this != fromDs) getLocalMetadata().add(fromDs.getLocalMetadata(), false); transferInheritableMetadata(fromDs, getLocalMetadataInheritable(), copyInheritedMetadataFromParents); setResourceControl(fromDs.getRestrictAccess()); }
buff.append(" <li><em>ID: </em>").append(StringUtil2.quoteHtmlContent(ds.getID())).append("</li>\n"); if (ds.getRestrictAccess() != null) buff.append(" <li><em>RestrictAccess: </em>").append(StringUtil2.quoteHtmlContent(ds.getRestrictAccess())).append("</li>\n");
buff.append(" <li><em>ID: </em>").append(StringUtil2.quoteHtmlContent(ds.getID())).append("</li>\n"); if (ds.getRestrictAccess() != null) buff.append(" <li><em>RestrictAccess: </em>").append(StringUtil2.quoteHtmlContent(ds.getRestrictAccess())).append("</li>\n");
buff.append(" <li><em>ID: </em>").append(StringUtil2.quoteHtmlContent(ds.getID())).append("</li>\n"); if (ds.getRestrictAccess() != null) buff.append(" <li><em>RestrictAccess: </em>").append(StringUtil2.quoteHtmlContent(ds.getRestrictAccess())).append("</li>\n");
if (ds.getUrlPath() != null) dsElem.setAttribute("urlPath", ds.getUrlPath()); if (ds.getRestrictAccess() != null) dsElem.setAttribute("restrictAccess", ds.getRestrictAccess());
if (ds.getUrlPath() != null) dsElem.setAttribute("urlPath", ds.getUrlPath()); if (ds.getRestrictAccess() != null) dsElem.setAttribute("restrictAccess", ds.getRestrictAccess());
if (ds.getUrlPath() != null) dsElem.setAttribute("urlPath", ds.getUrlPath()); if (ds.getRestrictAccess() != null) dsElem.setAttribute("restrictAccess", ds.getRestrictAccess());