Uses of Class
org.springframework.data.mapping.AccessOptions.SetOptions
Packages that use AccessOptions.SetOptions
-
Uses of AccessOptions.SetOptions in org.springframework.data.mapping
Methods in org.springframework.data.mapping that return AccessOptions.SetOptionsModifier and TypeMethodDescriptionstatic AccessOptions.SetOptionsAccessOptions.defaultSetOptions()Returns the defaultAccessOptions.SetOptionsrejecting setting values when finding an intermediate property value to be null.AccessOptions.SetOptions.rejectNulls()Returns a newAccessOptionsthat will cause paths that contain null values to be skipped when setting a property.AccessOptions.SetOptions.skipAndLogNulls()Returns a newAccessOptionsthat 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 newAccessOptionsthat 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.Propagationfor 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) Methods in org.springframework.data.mapping with parameters of type AccessOptions.SetOptionsModifier and TypeMethodDescriptionvoidPersistentPropertyPathAccessor.setProperty(PersistentPropertyPath<? extends PersistentProperty<?>> path, Object value, AccessOptions.SetOptions options) Sets the given value for thePersistentPropertypointed to by the givenPersistentPropertyPathconsidering the givenAccessOptions.