public class PersistentEntityProjector extends DefaultExcerptProjector implements Projector
Projector looking up a projection by name for the given source type.| Constructor and Description |
|---|
PersistentEntityProjector(ProjectionDefinitions projectionDefinitions,
ProjectionFactory factory,
String projection,
ResourceMappings mappings)
Creates a new
PersistentEntityProjector using the given ProjectionDefinitions,
ProjectionFactory and projection name. |
| Modifier and Type | Method and Description |
|---|---|
Object |
project(Object source)
Returns the projection object for the given source.
|
hasExcerptProjection, projectExcerptclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasExcerptProjection, projectExcerptpublic PersistentEntityProjector(ProjectionDefinitions projectionDefinitions, ProjectionFactory factory, String projection, ResourceMappings mappings)
PersistentEntityProjector using the given ProjectionDefinitions,
ProjectionFactory and projection name.projectionDefinitions - must not be null.factory - must not be null.projection - can be empty.Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.