Interface ProjectionMetadata<D>

Type Parameters:
D - DTO type

public interface ProjectionMetadata<D>
Describes how a DTO maps to entity attributes. Implementations are expected to be generated at compile time.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Attribute binding between DTO constructor arguments and entity paths.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return attributes in the order of the DTO constructor parameters.
    Returns the DTO type this metadata represents.
  • Method Details

    • dtoType

      Class<D> dtoType()
      Returns the DTO type this metadata represents.
    • attributes

      Return attributes in the order of the DTO constructor parameters.