Interface ConstructorMappingStep
public interface ConstructorMappingStep
The step in a mapping definition where a constructor can be mapped.
-
Method Summary
Modifier and TypeMethodDescriptionparameter
(int index) Starts the definition of the mapping of a specific constructor parameter.Marks the constructor to use for projections from an index object (root or object field) to a Java object.
-
Method Details
-
hostingType
TypeMappingStep hostingType()- Returns:
- A DSL step where the mapping can be defined for the type hosting this constructor.
-
projectionConstructor
ConstructorMappingStep projectionConstructor()Marks the constructor to use for projections from an index object (root or object field) to a Java object.- Returns:
this
, for method chaining.- See Also:
-
parameter
Starts the definition of the mapping of a specific constructor parameter.- Parameters:
index
- The zero-based index of the parameter in this constructor.- Returns:
- A DSL step where the property mapping can be defined in more details.
-