Interface ProjectionInformation
- All Known Implementing Classes:
SpelAwareProxyProjectionFactory.SpelAwareProjectionInformation
public interface ProjectionInformation
Information about a projection type.
- Since:
- 1.12
- Author:
- Oliver Gierke
-
Method Summary
Modifier and TypeMethodDescriptionReturns the properties that will be consumed by the projection type.Class<?>
getType()
Returns the projection type.default boolean
Returns whether the projection has input properties.boolean
isClosed()
Returns whether supplying values for the properties returned viagetInputProperties()
is sufficient to create a working proxy instance.
-
Method Details
-
getType
Class<?> getType()Returns the projection type.- Returns:
- will never be null.
-
getInputProperties
List<PropertyDescriptor> getInputProperties()Returns the properties that will be consumed by the projection type.- Returns:
- will never be null.
-
hasInputProperties
default boolean hasInputProperties()Returns whether the projection has input properties. Projections without input types are typically open projections that do not follow Java's property accessor naming.- Returns:
- Since:
- 3.2.11
-
isClosed
boolean isClosed()Returns whether supplying values for the properties returned viagetInputProperties()
is sufficient to create a working proxy instance. This will usually be used to determine whether the projection uses any dynamically resolved properties.- Returns:
-