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 Summary
Modifier and TypeMethodDescriptionThe condition expression to use for joining the entity view root.Class<? extends CorrelationProvider>The class which provides the correlation provider for this entity view root ornullif eithergetManagedTypeClass()()} orgetJoinExpression()is defined.String[]The associations that should be fetched along with the entity mapped by this attribute.The expression to use to create this entity view root ornullif eithergetManagedTypeClass()()} orgetCorrelationProvider()is defined.The join type to use for the entity view root.Returns the limit expression.Class<?>The managed type class for which to create this entity view root ornullif eithergetJoinExpression()orgetCorrelationProvider()is defined.getName()The name of the entity view root through which it can be accessed in the entity view mappings.Returns the offset expression.Returns the order by items for the limit expression.
-
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 ornullif eithergetJoinExpression()orgetCorrelationProvider()is defined.- Returns:
- The entity class
-
getJoinExpression
String getJoinExpression()The expression to use to create this entity view root ornullif eithergetManagedTypeClass()()} orgetCorrelationProvider()is defined.- Returns:
- The expression
-
getCorrelationProvider
Class<? extends CorrelationProvider> getCorrelationProvider()The class which provides the correlation provider for this entity view root ornullif eithergetManagedTypeClass()()} orgetJoinExpression()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
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
-