src/acdhOeaw/schema/SchemaObject.php
public function setMetadata(Resource $meta, array $preserve = array()) {
        $this->metadata         = $meta;
        $this->metadataPreserve = $preserve;
    }
public function setMetadata(Resource $meta, array $preserve = array()) {
        $this->metadata         = $meta;
        $this->metadataPreserve = $preserve;
    }
public function setMetadata ( Resource $ meta , array $ preserve = array ( ) ) { $ this -> metadata = $ meta ; $ this -> metadataPreserve = $ preserve ; }
Sets an external metadata to be appended to automatically generated ones.

If a given metatada property exists both in automatically generated and
provided metadata, then the final result depends on the $preserve parameter:
- if the property is listed in the $preserve array, both automatically
generated and provided values will be kept
- if not, only values from provided metadata will be kept and automatically
generated ones will be skipped

@param Resource $meta external metadata
@param array $preserve list of metadata properties to be kept - see above
Sets an external metadata to be appended to automatically generated ones .