Interface EntityViewRootMapping


public interface EntityViewRootMapping
Interface implemented by the entity view provider. Represents the current view that.
Since:
1.6.0
Author:
Christian Beikov
  • Method Details

    • getName

      String getName()
      The name of the entity view root through which it can be accessed in the entity view mappings.
      Returns:
      The entity view root name
    • getManagedTypeClass

      Class<?> getManagedTypeClass()
      The managed type class for which to create this entity view root or null if either getJoinExpression() or getCorrelationProvider() is defined.
      Returns:
      The entity class
    • getJoinExpression

      String getJoinExpression()
      The expression to use to create this entity view root or null if either getManagedTypeClass() ()} or getCorrelationProvider() is defined.
      Returns:
      The expression
    • getCorrelationProvider

      Class<? extends CorrelationProvider> getCorrelationProvider()
      The class which provides the correlation provider for this entity view root or null if either getManagedTypeClass() ()} or getJoinExpression() is defined.
      Returns:
      The correlation provider
    • getConditionExpression

      String getConditionExpression()
      The condition expression to use for joining the entity view root.
      Returns:
      The condition expression
    • getJoinType

      JoinType getJoinType()
      The join type to use for the entity view root.
      Returns:
      The join type
    • getFetches

      String[] getFetches()
      The associations that should be fetched along with the entity mapped by this attribute.
      Returns:
      The association that should be fetched
    • getOrderByItems

      List<String> getOrderByItems()
      Returns the order by items for the limit expression.
      Returns:
      The order by items for the limit expression
    • getLimitExpression

      String getLimitExpression()
      Returns the limit expression.
      Returns:
      The limit expression
    • getOffsetExpression

      String getOffsetExpression()
      Returns the offset expression.
      Returns:
      The offset expression