use of io.lumeer.api.model.common.Resource in project engine by Lumeer.
the class ProjectCodec method generateIdIfAbsentFromDocument.
@Override
public Project generateIdIfAbsentFromDocument(final Project jsonProject) {
Resource resource = generateIdIfAbsentFromDocument((Resource) jsonProject);
jsonProject.setId(resource.getId());
return jsonProject;
}
Aggregations