Class JsExecutionDTOModelAssembler

  • All Implemented Interfaces:
    org.springframework.hateoas.server.RepresentationModelAssembler<JsExecutionDTO,​org.springframework.hateoas.EntityModel<JsExecutionDTO>>

    @Component
    public class JsExecutionDTOModelAssembler
    extends java.lang.Object
    implements org.springframework.hateoas.server.RepresentationModelAssembler<JsExecutionDTO,​org.springframework.hateoas.EntityModel<JsExecutionDTO>>
    RepresentationModelAssembler bean. Converts JsExecutionDTO object into HATEOAS EntityModel containing links.
    Since:
    1.2
    Author:
    Martynenko Anton
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.hateoas.EntityModel<JsExecutionDTO> toModel​(JsExecutionDTO jsExecutionDTO)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.hateoas.server.RepresentationModelAssembler

        toCollectionModel
    • Constructor Detail

      • JsExecutionDTOModelAssembler

        public JsExecutionDTOModelAssembler()
    • Method Detail

      • toModel

        @NotNull
        public org.springframework.hateoas.EntityModel<JsExecutionDTO> toModel​(@NotNull
                                                                               JsExecutionDTO jsExecutionDTO)
        Specified by:
        toModel in interface org.springframework.hateoas.server.RepresentationModelAssembler<JsExecutionDTO,​org.springframework.hateoas.EntityModel<JsExecutionDTO>>