Added setEntityTypeForResourceName method to the MetadataStore definition