Would it be possible to use Metamodels with mapping annotations for things such as specifying a foreign key?