Interface EntityModelFactory
- 
 public interface EntityModelFactoryA factory to create anEntityModelinstance based on the given input that is evaluated during deserialization.- Since:
- 1.0.0
- Author:
- Ingo Griebsch
- See Also:
- EntityModel
 
- 
- 
Method SummaryAll Methods Instance Methods Default Methods Modifier and Type Method Description default org.springframework.hateoas.EntityModel<?>create(@NonNull com.fasterxml.jackson.databind.JavaType type, @NonNull Iterable<org.springframework.hateoas.Link> links, @NonNull Object content, Map<String,Object> properties)Creates anEntityModelbased on the given input.
 
- 
- 
- 
Method Detail- 
createdefault org.springframework.hateoas.EntityModel<?> create(@NonNull @NonNull com.fasterxml.jackson.databind.JavaType type, @NonNull @NonNull Iterable<org.springframework.hateoas.Link> links, @NonNull @NonNull Object content, @Nullable Map<String,Object> properties)Creates anEntityModelbased on the given input.The default implementation instantiates the concrete EntityModelbased on the assumption that theEntityModel(Object, Iterable)constructor is accessible.- Parameters:
- type- the type of the instance that should be created. Must be assignable to- EntityModel. Is never null.
- links- the links which should be used to instantiate the- model. Is never null.
- content- the object which should be used to instantiate the- model. Is never null.
- properties- the properties which should be applied on the instantiated- model. Can be null.
- Returns:
- the created EntityModelinstance.
 
 
- 
 
-