public function getMetadata(): Resource {
        $meta = (new Graph())->resource('.');

        $meta->addResource(RC::relProp(), $this->service->getResource()->getId());
        $meta->addResource(RC::idProp(), $this->getId());
        $meta->addType(RC::get('fedoraServiceParamClass'));

        $titleProp = RC::get('fedoraTitleProp');
        $meta->addLiteral($titleProp, $this->name);

        $defaultValueProp = RC::get('fedoraServiceParamDefaultValueProp');
        $meta->addLiteral($defaultValueProp, $this->defaultValue);

        $redPropertyProp = RC::get('fedoraServiceParamRdfPropertyProp');
        $meta->addLiteral($redPropertyProp, $this->rdfProperty);

        return $meta;
    }