Package org.springframework.data.mapping
Class AccessOptions
java.lang.Object
org.springframework.data.mapping.AccessOptions
Access options when using
PersistentPropertyPathAccessor
to get and set properties. Allows defining how to
handle null values, register custom transforming handlers when accessing collections and maps and
propagation settings for how to handle intermediate collection and map values when setting values.- Since:
- 2.3
- Author:
- Oliver Drotbohm
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Access options for getting values for property paths.static class
Access options for setting values for property paths. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AccessOptions.GetOptions
Returns the defaultAccessOptions.GetOptions
rejecting intermediate null values when accessing property paths.static AccessOptions.SetOptions
Returns the defaultAccessOptions.SetOptions
rejecting setting values when finding an intermediate property value to be null.
-
Constructor Details
-
AccessOptions
public AccessOptions()
-
-
Method Details
-
defaultSetOptions
Returns the defaultAccessOptions.SetOptions
rejecting setting values when finding an intermediate property value to be null.- Returns:
-
defaultGetOptions
Returns the defaultAccessOptions.GetOptions
rejecting intermediate null values when accessing property paths.- Returns:
-