Package io.jmix.eclipselink.impl.mapping
Class AbstractJoinExpressionProvider
java.lang.Object
io.jmix.eclipselink.impl.mapping.AbstractJoinExpressionProvider
- All Implemented Interfaces:
JoinExpressionProvider
- Direct Known Subclasses:
MultiTenantJoinExpressionProvider
,SoftDeleteJoinExpressionProvider
public abstract class AbstractJoinExpressionProvider
extends Object
implements JoinExpressionProvider
Simplifies join expression generation depending on mapping type.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.persistence.expressions.Expression
getJoinCriteriaExpression
(org.eclipse.persistence.mappings.DatabaseMapping mapping) Returns join expression that can be applied to certain types of mappings.protected abstract org.eclipse.persistence.expressions.Expression
processManyToManyMapping
(org.eclipse.persistence.mappings.ManyToManyMapping mapping) protected abstract org.eclipse.persistence.expressions.Expression
processManyToOneMapping
(org.eclipse.persistence.mappings.ManyToOneMapping mapping) protected abstract org.eclipse.persistence.expressions.Expression
processOneToManyMapping
(org.eclipse.persistence.mappings.OneToManyMapping mapping) protected abstract org.eclipse.persistence.expressions.Expression
processOneToOneMapping
(org.eclipse.persistence.mappings.OneToOneMapping mapping)
-
Constructor Details
-
AbstractJoinExpressionProvider
public AbstractJoinExpressionProvider()
-
-
Method Details
-
getJoinCriteriaExpression
@Nullable public org.eclipse.persistence.expressions.Expression getJoinCriteriaExpression(org.eclipse.persistence.mappings.DatabaseMapping mapping) Description copied from interface:JoinExpressionProvider
Returns join expression that can be applied to certain types of mappings.- Specified by:
getJoinCriteriaExpression
in interfaceJoinExpressionProvider
- Parameters:
mapping
- mapping to be processed.- Returns:
- EclipseLink's expression object, similar to criteria API expression.
-
processOneToManyMapping
@Nullable protected abstract org.eclipse.persistence.expressions.Expression processOneToManyMapping(org.eclipse.persistence.mappings.OneToManyMapping mapping) -
processOneToOneMapping
@Nullable protected abstract org.eclipse.persistence.expressions.Expression processOneToOneMapping(org.eclipse.persistence.mappings.OneToOneMapping mapping) -
processManyToOneMapping
@Nullable protected abstract org.eclipse.persistence.expressions.Expression processManyToOneMapping(org.eclipse.persistence.mappings.ManyToOneMapping mapping) -
processManyToManyMapping
@Nullable protected abstract org.eclipse.persistence.expressions.Expression processManyToManyMapping(org.eclipse.persistence.mappings.ManyToManyMapping mapping)
-