public function createMetadataSet(MetadataSetContainer $parent, $name)
 {
     if (trim($name) == "") {
         throw new e\CreationErrorException(S_SPAN . c\M::EMPTY_METADATA_SET_NAME . E_SPAN);
     }
     $asset = AssetTemplate::getMetadataSet();
     $asset->metadataSet->name = $name;
     $asset->metadataSet->parentContainerPath = $parent->getPath();
     $asset->metadataSet->siteName = $parent->getSiteName();
     return $this->createAsset($asset, MetadataSet::TYPE, $this->getPath($parent, $name), $parent->getSiteName());
 }