public interface ProjectionFactory
Modifier and Type | Method and Description |
---|---|
<T> T |
createProjection(Class<T> projectionType)
Creates a projection instance for the given type.
|
<T> T |
createProjection(Class<T> projectionType,
Object source)
Creates a projection of the given type for the given source object.
|
List<String> |
getInputProperties(Class<?> projectionType)
Deprecated.
|
ProjectionInformation |
getProjectionInformation(Class<?> projectionType)
Returns the
ProjectionInformation for the given projection type. |
<T> T createProjection(Class<T> projectionType, Object source)
projectionType
- the type to create, must not be null.source
- the object to create a projection for, can be null<T> T createProjection(Class<T> projectionType)
projectionType
- the type to create, must not be null.@Deprecated List<String> getInputProperties(Class<?> projectionType)
getProjectionInformation(Class)
projectionType
- must not be null.ProjectionInformation getProjectionInformation(Class<?> projectionType)
ProjectionInformation
for the given projection type.projectionType
- must not be null.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.