Class DefaultQueryDslTarget<T>
- java.lang.Object
-
- com.holonplatform.datastore.jpa.querydsl.internal.DefaultQueryDslTarget<T>
-
- All Implemented Interfaces:
com.holonplatform.core.DataMappable,com.holonplatform.core.datastore.DataTarget<T>,com.holonplatform.core.Expression,com.holonplatform.core.Path<T>,com.holonplatform.core.Path.FinalPath<T>,com.holonplatform.core.TypedExpression<T>,QueryDslTarget<T>,Serializable
public class DefaultQueryDslTarget<T> extends Object implements QueryDslTarget<T>
DataTargetusing a QueryDSLEntityPath- Since:
- 4.4.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.holonplatform.core.datastore.DataTarget
com.holonplatform.core.datastore.DataTarget.DataTargetResolver<T extends com.holonplatform.core.datastore.DataTarget>, com.holonplatform.core.datastore.DataTarget.DataTargetSupport<C extends com.holonplatform.core.datastore.DataTarget.DataTargetSupport<C>>
-
Nested classes/interfaces inherited from interface com.holonplatform.core.Expression
com.holonplatform.core.Expression.ExpressionResolverFunction<E extends com.holonplatform.core.Expression,R extends com.holonplatform.core.Expression>, com.holonplatform.core.Expression.InvalidExpressionException
-
Nested classes/interfaces inherited from interface com.holonplatform.core.Path
com.holonplatform.core.Path.Builder<T extends Object,B extends com.holonplatform.core.Path.Builder<T,B>>, com.holonplatform.core.Path.FinalPath<T extends Object>, com.holonplatform.core.Path.PathBuilder<T extends Object>
-
Nested classes/interfaces inherited from interface com.holonplatform.core.Path.FinalPath
com.holonplatform.core.Path.FinalPath.FinalPathBuilder<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description DefaultQueryDslTarget(com.querydsl.core.types.EntityPath<T> entityPath)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.querydsl.core.types.EntityPath<T>getEntityPath()Get the EntityPath to be used as query targetStringgetName()Class<? extends T>getType()voidvalidate()-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.holonplatform.core.datastore.DataTarget
property, property, property, property, property, property, property
-
Methods inherited from interface com.holonplatform.core.Path
fullName, fullName, isRootPath, relativeName, relativeName, stream
-
Methods inherited from interface com.holonplatform.datastore.jpa.querydsl.QueryDslTarget
getDataPath
-
-
-
-
Constructor Detail
-
DefaultQueryDslTarget
public DefaultQueryDslTarget(com.querydsl.core.types.EntityPath<T> entityPath)
Constructor- Parameters:
entityPath- EntityPath
-
-
Method Detail
-
getType
public Class<? extends T> getType()
- Specified by:
getTypein interfacecom.holonplatform.core.TypedExpression<T>
-
getEntityPath
public com.querydsl.core.types.EntityPath<T> getEntityPath()
Description copied from interface:QueryDslTargetGet the EntityPath to be used as query target- Specified by:
getEntityPathin interfaceQueryDslTarget<T>- Returns:
- Target EntityPath
-
validate
public void validate() throws com.holonplatform.core.Expression.InvalidExpressionException- Specified by:
validatein interfacecom.holonplatform.core.Expression- Throws:
com.holonplatform.core.Expression.InvalidExpressionException
-
-