Move convenience method to return AbstractClassMetaData for the query
candidate up to the base class, so can be used by all implementations