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 ClassesModifier and TypeInterfaceDescriptionstatic interface
Attribute binding between DTO constructor arguments and entity paths. -
Method Summary
Modifier and TypeMethodDescriptionReturn attributes in the order of the DTO constructor parameters.dtoType()
Returns the DTO type this metadata represents.
-
Method Details
-
dtoType
Returns the DTO type this metadata represents. -
attributes
List<ProjectionMetadata.Attribute> attributes()Return attributes in the order of the DTO constructor parameters.
-