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 Type Method Description String
getConditionExpression()
The condition expression to use for joining the entity view root.Class<? extends CorrelationProvider>
getCorrelationProvider()
The class which provides the correlation provider for this entity view root ornull
if eithergetManagedTypeClass()
()} orgetJoinExpression()
is defined.String[]
getFetches()
The associations that should be fetched along with the entity mapped by this attribute.String
getJoinExpression()
The expression to use to create this entity view root ornull
if eithergetManagedTypeClass()
()} orgetCorrelationProvider()
is defined.JoinType
getJoinType()
The join type to use for the entity view root.String
getLimitExpression()
Returns the limit expression.Class<?>
getManagedTypeClass()
The managed type class for which to create this entity view root ornull
if eithergetJoinExpression()
orgetCorrelationProvider()
is defined.String
getName()
The name of the entity view root through which it can be accessed in the entity view mappings.String
getOffsetExpression()
Returns the offset expression.List<String>
getOrderByItems()
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 ornull
if eithergetJoinExpression()
orgetCorrelationProvider()
is defined.- Returns:
- The entity class
-
getJoinExpression
String getJoinExpression()The expression to use to create this entity view root ornull
if eithergetManagedTypeClass()
()} orgetCorrelationProvider()
is defined.- Returns:
- The expression
-
getCorrelationProvider
Class<? extends CorrelationProvider> getCorrelationProvider()The class which provides the correlation provider for this entity view root ornull
if 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
-