src/main/java/com/opencredo/demo/hateoas/api/EmbeddableResourceAssemblerSupport.java
/**
    * Create a wrapped representation of a single object, to be added to the _embedded Resources of the containing resource
    */
Create a wrapped representation of a single object, to be added to the _embedded Resources of the containing resource
Create a wrapped representation of a single object to be added to the _embedded Resources of the containing resource
public EmbeddedWrapper toEmbeddable(T entity) {
      final EmbeddedWrappers wrapper = new EmbeddedWrappers(false); 
      final D resource = toResource(entity);
      return wrapper.wrap(resource);
   }
public EmbeddedWrapper toEmbeddable ( T entity ) { final EmbeddedWrappers wrapper = new EmbeddedWrappers ( false ) ; final D resource = toResource ( entity ) ; return wrapper . wrap ( resource ) ; }
Create a wrapped representation of a single object, to be added to the _embedded Resources of the containing resource
Create a wrapped representation of a single object to be added to the _embedded Resources of the containing resource
// DO NOT prefer collections