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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface JoinExpressionProvider
      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)