Package org.molgenis.api.metadata.v3
Class EntityTypeRequestMapperImpl
- java.lang.Object
-
- org.molgenis.api.metadata.v3.EntityTypeRequestMapperImpl
-
- All Implemented Interfaces:
EntityTypeRequestMapper
@Component public class EntityTypeRequestMapperImpl extends Object implements EntityTypeRequestMapper
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityTypetoEntityType(CreateEntityTypeRequest entityTypeRequest)Creates a new entity type from a entity type request.voidupdateEntityType(EntityType entityType, Map<String,Object> entityTypeValues)Updates entity type in-place.
-
-
-
Method Detail
-
toEntityType
public EntityType toEntityType(CreateEntityTypeRequest entityTypeRequest)
Description copied from interface:EntityTypeRequestMapperCreates a new entity type from a entity type request.- Specified by:
toEntityTypein interfaceEntityTypeRequestMapper- Parameters:
entityTypeRequest- entity type request- Returns:
- new entity type
-
updateEntityType
public void updateEntityType(EntityType entityType, Map<String,Object> entityTypeValues)
Description copied from interface:EntityTypeRequestMapperUpdates entity type in-place.- Specified by:
updateEntityTypein interfaceEntityTypeRequestMapper- Parameters:
entityType- entity type to updateentityTypeValues- entity type values to apply
-
-