void Property::SetDCType(DCType type) { _type = type; if ( type == DCType::Invalid ) { _identifier = IRI(); } else if ( type != DCType::Custom ) { _identifier = IRIForDCType(type); } }
PropertyPtr PropertyHolder::PropertyMatching(DCType type, bool lookupParents) const { IRI iri = IRIForDCType(type); return PropertyMatching(iri, lookupParents); }
bool PropertyHolder::ContainsProperty(DCType type, bool lookupParents) const { IRI iri = IRIForDCType(type); return ContainsProperty(iri, lookupParents); }
const PackageBase::MetadataMap Package::MetadataItemsWithDCType(Metadata::DCType type) const { return MetadataItemsWithProperty(IRIForDCType(type)); }