Package org.trustdeck.dto
Class EntityInstanceDTO
java.lang.Object
org.trustdeck.dto.EntityInstanceDTO
- All Implemented Interfaces:
IObjectDTO<EntityInstance,EntityInstanceDTO>
@Scope("prototype")
public class EntityInstanceDTO
extends Object
implements IObjectDTO<EntityInstance,EntityInstanceDTO>
This class represents a Data Transfer Object (DTO) for an entity instance.
- Author:
- Armin Müller
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAssigns 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
-
EntityInstanceDTO
public EntityInstanceDTO()
-
-
Method Details
-
assignPojoValues
Description copied from interface:IObjectDTOAssigns values from the given POJO to the desired DTO.- Specified by:
assignPojoValuesin interfaceIObjectDTO<EntityInstance,EntityInstanceDTO>
-
isValidStandardView
Description copied from interface:IObjectDTOChecks if only the fields for the standard view are filled.- Specified by:
isValidStandardViewin interfaceIObjectDTO<EntityInstance,EntityInstanceDTO>
-
toReducedStandardView
Description copied from interface:IObjectDTOReduces an Object to its minimal view.- Specified by:
toReducedStandardViewin interfaceIObjectDTO<EntityInstance,EntityInstanceDTO>
-
toRepresentationString
Description copied from interface:IObjectDTORepresents an object as a string.- Specified by:
toRepresentationStringin interfaceIObjectDTO<EntityInstance,EntityInstanceDTO>
-
validate
Description copied from interface:IObjectDTOChecks if mandatory fields are filled.- Specified by:
validatein interfaceIObjectDTO<EntityInstance,EntityInstanceDTO>
-