Class ValidationErrorRepresentationModelAssembler
java.lang.Object
org.springframework.hateoas.server.mvc.RepresentationModelAssemblerSupport<ModelValidationError,ValidationErrorResource>
org.activiti.cloud.services.modeling.rest.assembler.ValidationErrorRepresentationModelAssembler
- All Implemented Interfaces:
org.springframework.hateoas.server.RepresentationModelAssembler<ModelValidationError,ValidationErrorResource>
public class ValidationErrorRepresentationModelAssembler
extends org.springframework.hateoas.server.mvc.RepresentationModelAssemblerSupport<ModelValidationError,ValidationErrorResource>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.hateoas.CollectionModel<ValidationErrorResource> toCollectionModel(Iterable<? extends ModelValidationError> entities) toModel(ModelValidationError validationError) Methods inherited from class org.springframework.hateoas.server.mvc.RepresentationModelAssemblerSupport
createModelWithId, createModelWithId, getControllerClass, getResourceType, instantiateModel, map
-
Constructor Details
-
ValidationErrorRepresentationModelAssembler
public ValidationErrorRepresentationModelAssembler()
-
-
Method Details
-
toModel
-
toCollectionModel
public org.springframework.hateoas.CollectionModel<ValidationErrorResource> toCollectionModel(Iterable<? extends ModelValidationError> entities) - Specified by:
toCollectionModelin interfaceorg.springframework.hateoas.server.RepresentationModelAssembler<ModelValidationError,ValidationErrorResource> - Overrides:
toCollectionModelin classorg.springframework.hateoas.server.mvc.RepresentationModelAssemblerSupport<ModelValidationError,ValidationErrorResource>
-