code: public static String getValueString(Object value, int type, MappingRules mapping) {
          String string = value.toString();
          if (type != PropertyType.STRING &&
                  mapping.propertyFormat.embedType &&
                  mapping.propertyFormat.scope == MappingRules.PropertyFormat.Scope.value) {
              string = "{" + PropertyType.nameFromValue(type) + "}" + string;
          }
          return string;
      }
docs: Embeds the property type in the string value if the formats scope is 'value'.
  
  @param value
  @param type
  @param mapping
  @return