Interface CorrelatedAttribute<X,​Y>

Type Parameters:
X - The type of the declaring entity view
Y - The type of attribute
All Superinterfaces:
Attribute<X,​Y>

public interface CorrelatedAttribute<X,​Y>
extends Attribute<X,​Y>
Instances of the type CorrelatedAttribute represents single-valued properties or fields.
Since:
1.2.0
Author:
Christian Beikov
  • Method Details

    • getCorrelationProviderFactory

      CorrelationProviderFactory getCorrelationProviderFactory()
      Returns the correlation provider factory of the attribute.
      Returns:
      The correlation provider factory of the attribute
      Since:
      1.4.0
    • getCorrelationProvider

      Class<? extends CorrelationProvider> getCorrelationProvider()
      Returns the correlation provider of the attribute.
      Returns:
      The correlation provider of the attribute
    • getCorrelationBasis

      String getCorrelationBasis()
      Returns the correlation basis of the attribute.
      Returns:
      The correlation basis of the attribute
    • getCorrelationResult

      String getCorrelationResult()
      Returns the correlation result of the attribute.
      Returns:
      The correlation result of the attribute
    • renderCorrelationBasis

      void renderCorrelationBasis​(String parent, ServiceProvider serviceProvider, StringBuilder sb)
      Renders the correlation basis expression 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
    • renderCorrelationResult

      void renderCorrelationResult​(String parent, ServiceProvider serviceProvider, StringBuilder sb)
      Renders the correlation result expression 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