Interface MappingAttribute<X,​Y>

Type Parameters:
X - The type of the declaring entity view
Y - 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
  • Method Details

    • getMapping

      String getMapping()
      Returns the mapping of the attribute.
      Returns:
      The mapping of the attribute
    • renderMapping

      void renderMapping​(String parent, ServiceProvider serviceProvider, StringBuilder sb)
      Renders the mapping for the given parent expression to the given string builder.
      Parameters:
      parent - The parent expression
      serviceProvider - The service provider
      sb - The string builder
      Since:
      1.5.0