/** * 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()); }
/** * 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()); }
if (id != null) dataset.setID( id); if (harvest != null) dataset.setHarvest( harvest.equalsIgnoreCase("true")); if (restrictAccess != null) dataset.setResourceControl( restrictAccess);
if (harvest != null) dataset.setHarvest(harvest.equalsIgnoreCase("true")); if (restrictAccess != null) dataset.setResourceControl(restrictAccess);
if (id != null) dataset.setID(id); if (harvest != null) dataset.setHarvest(harvest.equalsIgnoreCase("true")); if (restrictAccess != null) dataset.setResourceControl(restrictAccess);