Class JsExecutionDTOModelAssembler
- java.lang.Object
-
- com.anton.martynenko.jswrapper.jsexecution.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. ConvertsJsExecutionDTO
object into HATEOASEntityModel
containing links.- Since:
- 1.2
- Author:
- Martynenko Anton
-
-
Constructor Summary
Constructors Constructor Description JsExecutionDTOModelAssembler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.hateoas.EntityModel<JsExecutionDTO>
toModel(JsExecutionDTO jsExecutionDTO)
-
-
-
Method Detail
-
toModel
@NotNull public org.springframework.hateoas.EntityModel<JsExecutionDTO> toModel(@NotNull JsExecutionDTO jsExecutionDTO)
- Specified by:
toModel
in interfaceorg.springframework.hateoas.server.RepresentationModelAssembler<JsExecutionDTO,org.springframework.hateoas.EntityModel<JsExecutionDTO>>
-
-