equals and hashCode for Metamodel