public function setMetadataSet(MetadataSet $ms) { if ($ms == NULL) { throw new e\NullAssetException(c\M::NULL_ASSET); } $this->getProperty()->metadataSetId = $ms->getId(); $this->getProperty()->metadataSetPath = $ms->getPath(); $this->edit(); $this->processMetadata(); return $this; }
public function setMetadataSet(MetadataSet $ms) { $this->getProperty()->metadataSetId = $ms->getId(); $this->getProperty()->metadataSetPath = $ms->getPath(); return $this; }