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
Nested ClassesModifier and TypeClassDescriptionstatic classAccess options for getting values for property paths.static classAccess options for setting values for property paths. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AccessOptions.GetOptionsReturns the defaultAccessOptions.GetOptionsrejecting intermediate null values when accessing property paths.static AccessOptions.SetOptionsReturns the defaultAccessOptions.SetOptionsrejecting setting values when finding an intermediate property value to be null.
-
Constructor Details
-
AccessOptions
public AccessOptions()
-
-
Method Details
-
defaultSetOptions
Returns the defaultAccessOptions.SetOptionsrejecting setting values when finding an intermediate property value to be null.- Returns:
-
defaultGetOptions
Returns the defaultAccessOptions.GetOptionsrejecting intermediate null values when accessing property paths.- Returns:
-