Interface ConstructorMappingStep

public interface ConstructorMappingStep
The step in a mapping definition where a constructor can be mapped.
  • Method Details

    • hostingType

      TypeMappingStep hostingType()
      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.
      this, for method chaining.
      See Also:
    • parameter

      MethodParameterMappingStep parameter(int index)
      Starts the definition of the mapping of a specific constructor parameter.
      index - The zero-based index of the parameter in this constructor.
      A DSL step where the property mapping can be defined in more details.