Uses of Class
org.springframework.data.mapping.AccessOptions.SetOptions
-
Uses of AccessOptions.SetOptions in org.springframework.data.mapping
Modifier and TypeMethodDescriptionstatic AccessOptions.SetOptions
AccessOptions.defaultSetOptions()
Returns the defaultAccessOptions.SetOptions
rejecting setting values when finding an intermediate property value to be null.AccessOptions.SetOptions.rejectNulls()
Returns a newAccessOptions
that will cause paths that contain null values to be skipped when setting a property.AccessOptions.SetOptions.skipAndLogNulls()
Returns a newAccessOptions
that will cause paths that contain null values to be skipped when setting a property but a log message produced in TRACE level.AccessOptions.SetOptions.skipNulls()
Returns a newAccessOptions
that will cause paths that contain null values to be skipped when setting a property.AccessOptions.SetOptions.withCollectionAndMapPropagation
(AccessOptions.SetOptions.Propagation propagation) Shortcut to configure the sameAccessOptions.SetOptions.Propagation
for both collection and map property path segments.AccessOptions.SetOptions.withCollectionPropagation
(AccessOptions.SetOptions.Propagation collectionPropagation) AccessOptions.SetOptions.withMapPropagation
(AccessOptions.SetOptions.Propagation mapPropagation) AccessOptions.SetOptions.withNullHandling
(AccessOptions.SetOptions.SetNulls nullHandling) Modifier and TypeMethodDescriptionvoid
PersistentPropertyPathAccessor.setProperty
(PersistentPropertyPath<? extends PersistentProperty<?>> path, Object value, AccessOptions.SetOptions options) Sets the given value for thePersistentProperty
pointed to by the givenPersistentPropertyPath
considering the givenAccessOptions
.