Interface MappingAttribute<X,Y>
- Type Parameters:
X
- The type of the declaring entity viewY
- The type of attribute
- All Superinterfaces:
Attribute<X,Y>
public interface MappingAttribute<X,Y> extends Attribute<X,Y>
Represents an attribute that has a mapping expression.
- Since:
- 1.0.0
- Author:
- Christian Beikov
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.blazebit.persistence.view.metamodel.Attribute
Attribute.AttributeType, Attribute.MappingType, Attribute.MemberType
-
Method Summary
Modifier and Type Method Description String
getMapping()
Returns the mapping of the attribute.void
renderMapping(String parent, ServiceProvider serviceProvider, StringBuilder sb)
Renders the mapping for the given parent expression to the given string builder.Methods inherited from interface com.blazebit.persistence.view.metamodel.Attribute
getAttributeType, getBatchSize, getConvertedJavaType, getDeclaringType, getFetches, getFetchStrategy, getJavaType, getLimitExpression, getMappingType, getMemberType, getOffsetExpression, getOrderByItems, isCollection, isCorrelated, isSubquery, isSubview
-
Method Details
-
getMapping
String getMapping()Returns the mapping of the attribute.- Returns:
- The mapping of the attribute
-
renderMapping
Renders the mapping for the given parent expression to the given string builder.- Parameters:
parent
- The parent expressionserviceProvider
- The service providersb
- The string builder- Since:
- 1.5.0
-