added cardinality fields to InverseVO
properly converting entity types