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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the properties that will be consumed by the projection type.Class<?>getType()Returns the projection type.booleanisClosed()Returns whether supplying values for the properties returned viaProjectionInformation.getInputProperties()is sufficient to create a working proxy instance.protected booleanisInputProperty(PropertyDescriptor descriptor) Returns whether the givenPropertyDescriptordescribes 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.
-
Constructor Details
-
SpelAwareProjectionInformation
-
-
Method Details
-
isInputProperty
Returns whether the givenPropertyDescriptordescribes 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:ProjectionInformationReturns the projection type.- Specified by:
getTypein interfaceProjectionInformation- Returns:
- will never be null.
-
getInputProperties
Description copied from interface:ProjectionInformationReturns the properties that will be consumed by the projection type.- Specified by:
getInputPropertiesin interfaceProjectionInformation- Returns:
- will never be null.
-
isClosed
public boolean isClosed()Description copied from interface:ProjectionInformationReturns 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:
isClosedin interfaceProjectionInformation- Returns:
-