DATACMNS-1781 - Reinstantate PersistentPropertyPathAccessor.setProperty(…).

Reintroduce method that was earlier removed as part of deprecation cleanup.
This commit is contained in:
Mark Paluch
2020-08-05 08:58:35 +02:00
parent 7b26fd199f
commit cdd8359103

View File

@@ -55,6 +55,16 @@ public interface PersistentPropertyPathAccessor<T> extends PersistentPropertyAcc
@Nullable
Object getProperty(PersistentPropertyPath<? extends PersistentProperty<?>> path, GetOptions context);
/**
* Sets the given value for the {@link PersistentProperty} pointed to by the given {@link PersistentPropertyPath}. The
* lookup of intermediate values must not yield {@literal null}.
*
* @param path must not be {@literal null} or empty.
* @param value can be {@literal null}.
* @see AccessOptions#DEFAULT
*/
void setProperty(PersistentPropertyPath<? extends PersistentProperty<?>> path, @Nullable Object value);
/**
* Sets the given value for the {@link PersistentProperty} pointed to by the given {@link PersistentPropertyPath}
* considering the given {@link AccessOptions}.