code: public static String getPropertyTypeName(StructuralProperty property) {
          return property.isCollection() ? property.getElementTypeName() : property.getTypeName();
      }
docs: Gets the OData type name of the property; if the property is a collection, gets the OData type name of the
  elements of the collection.
  
  @param property The property.
  @return The OData type name of the property; if the property is a collection, the OData type name of the elements
  of the collection.