M - the mapped type acting as view onto the domain type.D - the domain type.public static class EntityProjection.PropertyProjection<M,D> extends EntityProjection<M,D>
EntityProjection.ContainerPropertyProjection<M,D>, EntityProjection.ProjectionType, EntityProjection.PropertyProjection<M,D>| Modifier and Type | Method and Description |
|---|---|
PropertyPath |
getPropertyPath() |
static <M,D> EntityProjection.PropertyProjection<M,D> |
nonProjecting(PropertyPath propertyPath,
TypeInformation<M> mappedType,
TypeInformation<D> domainType)
Create a non-projecting variant of a mapped type.
|
static <M,D> EntityProjection.PropertyProjection<M,D> |
projecting(PropertyPath propertyPath,
TypeInformation<M> mappedType,
TypeInformation<D> domainType,
List<EntityProjection.PropertyProjection<?,?>> properties,
EntityProjection.ProjectionType projectionType)
Create a projecting variant of a mapped type.
|
String |
toString() |
findProperty, forEachRecursive, getActualDomainType, getActualMappedType, getDomainType, getMappedType, isClosedProjection, isProjection, iterator, nonProjecting, nonProjecting, projectingclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitand, and, and, and, empty, filter, flatMap, get, isEmpty, map, of, of, of, stream, toList, toSet, toStreamable, toStreamableforEach, spliteratorpublic static <M,D> EntityProjection.PropertyProjection<M,D> projecting(PropertyPath propertyPath, TypeInformation<M> mappedType, TypeInformation<D> domainType, List<EntityProjection.PropertyProjection<?,?>> properties, EntityProjection.ProjectionType projectionType)
propertyPath - the path to the actual property.mappedType - the target projection type. Must not be null.domainType - the source domain type. Must not be null.properties - properties to include.projectionType - must not be null.EntityProjection.PropertyProjection.public static <M,D> EntityProjection.PropertyProjection<M,D> nonProjecting(PropertyPath propertyPath, TypeInformation<M> mappedType, TypeInformation<D> domainType)
propertyPath - the path to the actual property.mappedType - the target projection type. Must not be null.domainType - the source domain type. Must not be null.public PropertyPath getPropertyPath()
public String toString()
toString in class EntityProjection<M,D>Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.