Class SpelAwareProxyProjectionFactory.SpelAwareProjectionInformation
java.lang.Object
org.springframework.data.projection.SpelAwareProxyProjectionFactory.SpelAwareProjectionInformation
- All Implemented Interfaces:
ProjectionInformation
- Enclosing class:
- SpelAwareProxyProjectionFactory
protected static class SpelAwareProxyProjectionFactory.SpelAwareProjectionInformation
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the properties that will be consumed by the projection type.Class<?>
getType()
Returns the projection type.boolean
isClosed()
Returns whether supplying values for the properties returned viaProjectionInformation.getInputProperties()
is sufficient to create a working proxy instance.protected boolean
isInputProperty
(PropertyDescriptor descriptor) Returns whether the givenPropertyDescriptor
describes an input property for the projection, i.e. a property that needs to be present on the source to be able to create reasonable projections for the type the descriptor was looked up on.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.projection.ProjectionInformation
hasInputProperties
-
Constructor Details
-
SpelAwareProjectionInformation
-
-
Method Details
-
isInputProperty
Returns whether the givenPropertyDescriptor
describes an input property for the projection, i.e. a property that needs to be present on the source to be able to create reasonable projections for the type the descriptor was looked up on.- Parameters:
descriptor
- will never be null.- Returns:
-
getType
Description copied from interface:ProjectionInformation
Returns the projection type.- Specified by:
getType
in interfaceProjectionInformation
- Returns:
- will never be null.
-
getInputProperties
Description copied from interface:ProjectionInformation
Returns the properties that will be consumed by the projection type.- Specified by:
getInputProperties
in interfaceProjectionInformation
- Returns:
- will never be null.
-
isClosed
public boolean isClosed()Description copied from interface:ProjectionInformation
Returns whether supplying values for the properties returned viaProjectionInformation.getInputProperties()
is sufficient to create a working proxy instance. This will usually be used to determine whether the projection uses any dynamically resolved properties.- Specified by:
isClosed
in interfaceProjectionInformation
- Returns:
-