Interface TypeMappingStep
-
public interface TypeMappingStep
The step in a mapping definition where a type can be mapped, and where properties of that type can be referenced to map them more precisely.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TypeMappingStep
binder(TypeBinder binder)
Define a type binder, responsible for creating a bridge.TypeMappingStep
binder(TypeBinder binder, Map<String,Object> params)
Define a type binder, responsible for creating a bridge.TypeMappingIndexedStep
indexed()
Maps an entity type to an index.PropertyMappingStep
property(String propertyName)
Starts the definition of the mapping of a specific property.
-
-
-
Method Detail
-
indexed
TypeMappingIndexedStep indexed()
Maps an entity type to an index.- Returns:
this
, for method chaining.- See Also:
Indexed
-
binder
default TypeMappingStep binder(TypeBinder binder)
Define a type binder, responsible for creating a bridge. To pass some parameters to the bridge, use the methodbinder(TypeBinder, Map)
instead.- Parameters:
binder
- ATypeBinder
responsible for creating a bridge.- Returns:
this
, for method chaining.- See Also:
TypeBinder
-
binder
TypeMappingStep binder(TypeBinder binder, Map<String,Object> params)
Define a type binder, responsible for creating a bridge. With this method it is possible to pass a set of parameters to the binder.- Parameters:
binder
- ATypeBinder
responsible for creating a bridge.params
- The parameters to pass to the binder.- Returns:
this
, for method chaining.- See Also:
TypeBinder
-
property
PropertyMappingStep property(String propertyName)
Starts the definition of the mapping of a specific property.- Parameters:
propertyName
- The name of a property in this type.- Returns:
- A DSL step where the property mapping can be defined in more details.
-
-