DATACMNS-1781 - Reinstantate PersistentPropertyPathAccessor.setProperty(…).
Reintroduce method that was earlier removed as part of deprecation cleanup.
This commit is contained in:
@@ -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}.
|
||||
|
||||
Reference in New Issue
Block a user