Package | Description |
---|---|
org.springframework.data.mapping |
Base package for the mapping subsystem.
|
org.springframework.data.mapping.context |
Mapping context API and implementation base classes.
|
org.springframework.data.mapping.model |
Core implementation of the mapping subsystem's model.
|
Modifier and Type | Method and Description |
---|---|
PersistentPropertyPath<P> |
PersistentPropertyPath.getExtensionForBaseOf(PersistentPropertyPath<P> base)
Returns the sub-path of the current one as if it was based on the given base path.
|
PersistentPropertyPath<P> |
PersistentPropertyPath.getParentPath()
Returns the parent path of the current
PersistentPropertyPath , i.e. the path without the leaf property. |
Modifier and Type | Method and Description |
---|---|
Optional<PersistentPropertyPath<P>> |
PersistentPropertyPaths.getFirst()
Returns the first
PersistentPropertyPath . |
Modifier and Type | Method and Description |
---|---|
PersistentPropertyPath<P> |
PersistentPropertyPath.getExtensionForBaseOf(PersistentPropertyPath<P> base)
Returns the sub-path of the current one as if it was based on the given base path.
|
default Object |
PersistentPropertyPathAccessor.getProperty(PersistentPropertyPath<? extends PersistentProperty<?>> path)
Return the value pointed to by the given
PersistentPropertyPath . |
default Object |
PersistentPropertyAccessor.getProperty(PersistentPropertyPath<? extends PersistentProperty<?>> path)
Deprecated.
since 2.3, use
PersistentPropertyPathAccessor.getProperty(PersistentPropertyPath) instead |
Object |
PersistentPropertyPathAccessor.getProperty(PersistentPropertyPath<? extends PersistentProperty<?>> path,
AccessOptions.GetOptions context)
Return the value pointed to by the given
PersistentPropertyPath . |
default Object |
PersistentPropertyAccessor.getProperty(PersistentPropertyPath<? extends PersistentProperty<?>> path,
TraversalContext context)
Deprecated.
|
boolean |
PersistentPropertyPath.isBasePathOf(PersistentPropertyPath<P> path)
Returns whether the given
PersistentPropertyPath is a base path of the current one. |
void |
PersistentPropertyPathAccessor.setProperty(PersistentPropertyPath<? extends PersistentProperty<?>> path,
Object value)
Sets the given value for the
PersistentProperty pointed to by the given PersistentPropertyPath . |
default void |
PersistentPropertyAccessor.setProperty(PersistentPropertyPath<? extends PersistentProperty<?>> path,
Object value)
Deprecated.
since 2.3, use
PersistentPropertyPathAccessor.setProperty(PersistentPropertyPath, Object)
instead. |
void |
PersistentPropertyPathAccessor.setProperty(PersistentPropertyPath<? extends PersistentProperty<?>> path,
Object value,
AccessOptions.SetOptions options)
Sets the given value for the
PersistentProperty pointed to by the given PersistentPropertyPath
considering the given AccessOptions . |
Modifier and Type | Method and Description |
---|---|
PersistentPropertyPath<P> |
AbstractMappingContext.getPersistentPropertyPath(PropertyPath propertyPath) |
PersistentPropertyPath<P> |
MappingContext.getPersistentPropertyPath(PropertyPath propertyPath)
Returns all
PersistentProperty s for the given path expression based on the given PropertyPath . |
PersistentPropertyPath<P> |
AbstractMappingContext.getPersistentPropertyPath(String propertyPath,
Class<?> type) |
PersistentPropertyPath<P> |
MappingContext.getPersistentPropertyPath(String propertyPath,
Class<?> type)
Returns all
PersistentProperty s for the given dot path notation based on the given type. |
Constructor and Description |
---|
InvalidPersistentPropertyPath(String source,
TypeInformation<?> type,
String unresolvableSegment,
PersistentPropertyPath<? extends PersistentProperty<?>> resolvedPath)
Creates a new
InvalidPersistentPropertyPath for the given resolved path and message. |
Modifier and Type | Method and Description |
---|---|
void |
ConvertingPropertyAccessor.setProperty(PersistentPropertyPath<? extends PersistentProperty<?>> path,
Object value) |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.