Package org.trustdeck.dto
Class HttpStatusDTO
java.lang.Object
org.trustdeck.dto.HttpStatusDTO
- All Implemented Interfaces:
IObjectDTO<org.springframework.http.HttpStatus,HttpStatusDTO>
@Scope("prototype")
public class HttpStatusDTO
extends Object
implements IObjectDTO<org.springframework.http.HttpStatus,HttpStatusDTO>
The HTTP status DTO.
- Author:
- Eric Wündisch and Armin Müller
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignPojoValues(org.springframework.http.HttpStatus pojo) Assigns values from the given POJO to the desired DTO.Checks if only the fields for the standard view are filled.Reduces an Object to its minimal view.Represents an object as a string.validate()Checks if mandatory fields are filled.
-
Constructor Details
-
HttpStatusDTO
public HttpStatusDTO()
-
-
Method Details
-
assignPojoValues
Description copied from interface:IObjectDTOAssigns values from the given POJO to the desired DTO.- Specified by:
assignPojoValuesin interfaceIObjectDTO<org.springframework.http.HttpStatus,HttpStatusDTO>
-
isValidStandardView
Description copied from interface:IObjectDTOChecks if only the fields for the standard view are filled.- Specified by:
isValidStandardViewin interfaceIObjectDTO<org.springframework.http.HttpStatus,HttpStatusDTO>
-
toReducedStandardView
Description copied from interface:IObjectDTOReduces an Object to its minimal view.- Specified by:
toReducedStandardViewin interfaceIObjectDTO<org.springframework.http.HttpStatus,HttpStatusDTO>
-
toRepresentationString
Description copied from interface:IObjectDTORepresents an object as a string.- Specified by:
toRepresentationStringin interfaceIObjectDTO<org.springframework.http.HttpStatus,HttpStatusDTO>
-
validate
Description copied from interface:IObjectDTOChecks if mandatory fields are filled.- Specified by:
validatein interfaceIObjectDTO<org.springframework.http.HttpStatus,HttpStatusDTO>
-