Define metadata class (ResultMetadataController) for result entity.