- All Implemented Interfaces:
- org.springframework.core.convert.converter.Converter<java.lang.Object,org.springframework.hateoas.Resource>
public class EntityToResourceConverter
extends java.lang.Object
implements org.springframework.core.convert.converter.Converter<java.lang.Object,org.springframework.hateoas.Resource>
A Converter
to turn domain entities into Resource
s by segregating embedded entities (those entities
not managed by a Repository
) from linked or related entities (which
don't get inlined into an entity's representation but are replaced by links instead.
- Author:
- Jon Brisbin