legacy/src/main/java/thredds/catalog/InvDatasetImpl.java
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());
  }
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());
  }
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
Transfer all inheritable metadata from fromDs to the local metadata of this dataset . Called by InvDatasetScan to transfer inheritable metaddata to the nested catalogRef