Interface TypeMappingStep
-
public interface TypeMappingStepThe 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 TypeMappingStepbinder(TypeBinder binder)Define a type binder, responsible for creating a bridge.TypeMappingStepbinder(TypeBinder binder, Map<String,Object> params)Define a type binder, responsible for creating a bridge.TypeMappingIndexedStepindexed()Maps an entity type to an index.PropertyMappingStepproperty(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- ATypeBinderresponsible 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- ATypeBinderresponsible 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.
-
-