Interface ConstructorMappingStep
-
public interface ConstructorMappingStepThe step in a mapping definition where a constructor can be mapped.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeMappingStephostingType()MethodParameterMappingStepparameter(int index)Starts the definition of the mapping of a specific constructor parameter.ConstructorMappingStepprojectionConstructor()Marks the constructor to use for projections from an index object (root or object field) to a Java object.
-
-
-
Method Detail
-
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:
ProjectionConstructor
-
parameter
MethodParameterMappingStep parameter(int index)
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.
-
-