Interface ProgrammaticMappingConfigurationContext


  • public interface ProgrammaticMappingConfigurationContext
    A context to configure programmatic mapping.
    • Method Detail

      • type

        TypeMappingStep type​(Class<?> clazz)
        Starts the definition of the mapping of a specific type.
        Parameters:
        clazz - The type to map.
        Returns:
        The initial step of a DSL where the type mapping can be defined.
      • type

        TypeMappingStep type​(String typeName)
        Starts the definition of the mapping of a specific named type.
        Parameters:
        typeName - The name of the type. For example for a dynamic, map-based entity type, this would be the entity name.
        Returns:
        The initial step of a DSL where the type mapping can be defined.
        Throws:
        SearchException - If the given name does not match any known type.