Metamodel edded for type-safe quering