private void addMapper(CommonCollectionMapperData commonCollectionMapperData, MiddleComponentData elementComponentData,
                           MiddleComponentData indexComponentData) {
        Type type = propertyValue.getType();
    boolean embeddableElementType = isEmbeddableElementType();
        if (type instanceof SortedSetType) {
      currentMapper.addComposite( propertyAuditingData.getPropertyData(), new SortedSetCollectionMapper(
          commonCollectionMapperData, TreeSet.class, SortedSetProxy.class, elementComponentData,
          propertyValue.getComparator(), embeddableElementType, embeddableElementType ) );
    } else if (type instanceof SetType) {
      currentMapper.addComposite( propertyAuditingData.getPropertyData(), new BasicCollectionMapper<Set>(
          commonCollectionMapperData, HashSet.class, SetProxy.class, elementComponentData,