Search in sources :

Example 6 with HarmonizationStudyTable

use of org.obiba.mica.core.domain.HarmonizationStudyTable in project mica2 by obiba.

the class DatasetDtosTest method createHarmonizedDataset.

private HarmonizationDataset createHarmonizedDataset() {
    HarmonizationDataset harmonizationDataset = new HarmonizationDataset();
    harmonizationDataset.setId("123");
    HarmonizationStudyTable harmonizationLink = new HarmonizationStudyTable();
    harmonizationLink.setProject("project123");
    harmonizationLink.setTable("table123");
    harmonizationLink.setStudyId("study123");
    harmonizationLink.setPopulationId("population123");
    harmonizationDataset.setHarmonizationTable(harmonizationLink);
    return harmonizationDataset;
}
Also used : HarmonizationStudyTable(org.obiba.mica.core.domain.HarmonizationStudyTable) HarmonizationDataset(org.obiba.mica.dataset.domain.HarmonizationDataset)

Aggregations

HarmonizationStudyTable (org.obiba.mica.core.domain.HarmonizationStudyTable)6 HarmonizationDataset (org.obiba.mica.dataset.domain.HarmonizationDataset)3 StudyTable (org.obiba.mica.core.domain.StudyTable)2 Strings (com.google.common.base.Strings)1 Lists (com.google.common.collect.Lists)1 Maps (com.google.common.collect.Maps)1 Collection (java.util.Collection)1 Collections (java.util.Collections)1 List (java.util.List)1 Map (java.util.Map)1 Optional (java.util.Optional)1 Collectors (java.util.stream.Collectors)1 Nullable (javax.annotation.Nullable)1 Inject (javax.inject.Inject)1 NotNull (javax.validation.constraints.NotNull)1 JSONUtils (org.obiba.mica.JSONUtils)1 Attributes (org.obiba.mica.core.domain.Attributes)1 LocalizedString (org.obiba.mica.core.domain.LocalizedString)1 OpalTable (org.obiba.mica.core.domain.OpalTable)1 HarmonizationDatasetStateRepository (org.obiba.mica.dataset.HarmonizationDatasetStateRepository)1