Skip to content

Commit

Permalink
add methods to spatial viewer dataset and organize them
Browse files Browse the repository at this point in the history
  • Loading branch information
Dert1129 committed Nov 11, 2024
1 parent 468e2d8 commit 21550c3
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 53 deletions.
103 changes: 52 additions & 51 deletions src/main/java/org/kpmp/spatialViewerDataset/SpatialViewerDataset.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,80 +2,81 @@

import org.kpmp.file.File;
import java.util.List;
import java.util.Set;

public interface SpatialViewerDataset {

List<File> getRelatedFiles();

String getLevel();

String getSpectrackSampleId();

String getEnrollmentCategory();
int getFileId();

String getTissueSource();

String getSex();

String getSampleType();

String getAge();

String getRedcapId();

int getParticipantId();

String getDataType();

String getImageType();


String getConfigType();

String getProtocol();

Long getFileSize();

String getPackageId();

String getFileName();

String getFileNameSort();
String getImageType();

int getParticipantIdSort();
String getDataType();

String getImageTypeSort();

String getDlFileId();

int getFileId();

String getExternalLink();

Double getReleaseVersion();
String getFileName();

String getPackageId();

Long getFileSize();

String getSpectrackSampleId();

String getLevel();

String getReleaseVersion();

List<File> getRelatedFiles();

String getPrimaryAdjudicatedCategory();
Set<String> getRedcapId();

String getKdigoStage();
Set<String> getAge();

String getBaselineEgfr();
Set<String> getProtocol();

String getProteinuria();
Set<String> getSex();

String getA1c();
Set<String> getTissueSource();

String getAlbuminuria();
Set<String> getEnrollmentCategory();

String getDiabetesDuration();
Set<String> getPrimaryAdjudicatedCategory();

String getDiabetesHistory();
Set<String> getKdigoStage();

String getHypertensionDuration();
Set<String> getBaselineEgfr();

String getHypertensionHistory();
Set<String> getProteinuria();

String getRace();
Set<String> getA1c();

String getOnRaasBlockade();
Set<String> getAlbuminuria();

Set<String> getDiabetesHistory();

Set<String> getDiabetesDuration();

Set<String> getHypertensionHistory();

Set<String> getHypertensionDuration();

Set<String> getOnRaasBlockade();

Set<String> getRace();

Set<String> getSampleType();

String getFileNameSort();

int getParticipantIdSort();

String getImageTypeSort();

String getExternalLink();

}

Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
import org.kpmp.file.File;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.collect.Sets.SetView;

import jakarta.persistence.Transient;

public class SpatialViewerDatasetDisplay {
public class SpatialViewerDatasetDisplay implements SpatialViewerDataset {
private static final int UUID_LENGTH = 37;
private int fileId;
private int participantId;
Expand Down

0 comments on commit 21550c3

Please sign in to comment.