/** * Update the value of the extension attribute at the provided path. * Equivalent to using the {@link JsonUtils#replaceValue(Path, ObjectNode, * JsonNode)} method: JsonUtils.replaceValues(Path.fromString(path), * getExtensionObjectNode(), value). * * The {@link JsonUtils#valueToNode(Object)} method may be used to convert * the given value instance to a JSON node. * * @param path The path to the attribute whose value to set. * @param value The value(s) to set. * @throws ScimException If the path is invalid. */ public void replaceExtensionValue(final String path, final JsonNode value) throws ScimException { replaceExtensionValue(Path.fromString(path), value); }
/** * Update the value of the extension attribute at the provided path. * Equivalent to using the {@link JsonUtils#replaceValue(Path, ObjectNode, * JsonNode)} method: JsonUtils.replaceValues(Path.fromString(path), * getExtensionObjectNode(), value). * * The {@link JsonUtils#valueToNode(Object)} method may be used to convert * the given value instance to a JSON node. * * @param path The path to the attribute whose value to set. * @param value The value(s) to set. * @throws ScimException If the path is invalid. */ public void replaceExtensionValue(final String path, final JsonNode value) throws ScimException { replaceExtensionValue(Path.fromString(path), value); }