code: private static Object setUDTValue(Object entity, Class embeddedClass, UDTValue udt, MetamodelImpl metaModel)
      {
          Object embeddedObject = KunderaCoreUtils.createNewInstance(embeddedClass);
          EmbeddableType embeddable = metaModel.embeddable(embeddedClass);
  
          for (Object subAttribute : embeddable.getAttributes())
          {
              Field embeddableColumn = (Field) ((AbstractAttribute) subAttribute).getJavaMember();
              if (metaModel.isEmbeddable(embeddableColumn.getType()))
              {
                  UDTValue subUDT = udt.getUDTValue(((AbstractAttribute) subAttribute).getJPAColumnName());
  
                  setFieldValue(embeddedObject, embeddableColumn,
                          setUDTValue(embeddedObject, embeddableColumn.getType(), subUDT, metaModel));
              }
              else
              {
                  setBasicValue(embeddedObject, embeddableColumn, ((AbstractAttribute) subAttribute).getJPAColumnName(),
                          udt, CassandraDataTranslator.getCassandraDataTypeClass(embeddableColumn.getType()), metaModel);
              }
  
          }
          return embeddedObject;
  
      }
docs: Sets the udt value.
  
  @param entity
  the entity
  @param embeddedClass
  the embedded class
  @param udt
  the udt
  @param metaModel
  the meta model
  @return the object