Interface IObjectDTO<F,T>

Type Parameters:
F - the type of the jOOQ-generated POJO that is backing this DTO
T - the concrete DTO type implementing this interface
All Known Implementing Classes:
AlgorithmDTO, DomainDTO, EntityInstanceDTO, EntityTypeDTO, HttpStatusDTO, PermissionDTO, ProjectDTO, ProjectImageDTO, PseudonymDTO, UserDTO

@Scope("prototype") public interface IObjectDTO<F,T>
Interface for a proper representation object.
Author:
Armin Müller and Eric Wündisch
  • Method Details

    • assignPojoValues

      T assignPojoValues(F pojo)
      Assigns values from the given POJO to the desired DTO.
    • isValidStandardView

      Boolean isValidStandardView()
      Checks if only the fields for the standard view are filled.
    • toReducedStandardView

      T toReducedStandardView()
      Reduces an Object to its minimal view.
    • toRepresentationString

      String toRepresentationString()
      Represents an object as a string.
    • validate

      Boolean validate()
      Checks if mandatory fields are filled.