• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kit-data-manager / ro-crate-java / #348

15 Apr 2025 08:24AM UTC coverage: 86.955%. First build
#348

Pull #233

github

web-flow
Merge pull request #244 from kit-data-manager/renovate/commons-io-commons-io-2.x

chore(deps): update dependency commons-io:commons-io to v2.19.0
Pull Request #233: Version 2.1.0

521 of 659 new or added lines in 18 files covered. (79.06%)

1873 of 2154 relevant lines covered (86.95%)

0.87 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

95.83
/src/main/java/edu/kit/datamanager/ro_crate/preview/model/ROCratePreviewModel.java
1
package edu.kit.datamanager.ro_crate.preview.model;
2

3
import java.util.List;
4

5
/**
6
 *
7
 * @author jejkal
8
 */
9
public class ROCratePreviewModel {
1✔
10

11
    public ROCrate crate;
12
    public List<Dataset> datasets;
13
    public List<File> files;
14

15
    public ROCrate getCrate() {
16
        return crate;
1✔
17
    }
18

19
    public List<Dataset> getDatasets() {
20
        return datasets;
1✔
21
    }
22

23
    public List<File> getFiles() {
24
        return files;
1✔
25
    }
26

27
    public static class ROCrate {
1✔
28

29
        public String name;
30
        public String description;
31
        public String type;
32
        public String license;
33
        public String datePublished;
34
        public List<Part> hasPart;
35

36
        public String getName() {
37
            return name;
1✔
38
        }
39

40
        public String getDescription() {
41
            return description;
1✔
42
        }
43

44
        public String getType() {
NEW
45
            return type;
×
46
        }
47

48
        public String getLicense() {
49
            return license;
1✔
50
        }
51

52
        public String getDatePublished() {
53
            return datePublished;
1✔
54
        }
55

56
        public List<Part> getHasPart() {
57
            return hasPart;
1✔
58
        }
59

60
    }
61

62
    public static class Part {
1✔
63

64
        public String id;
65
        public String name;
66

67
        public String getId() {
68
            return id;
1✔
69
        }
70

71
        public String getName() {
72
            return name;
1✔
73
        }
74

75
    }
76

77
    public static class Dataset {
1✔
78

79
        public String id;
80
        public String name;
81
        public String description;
82

83
        public String getId() {
84
            return id;
1✔
85
        }
86

87
        public String getName() {
88
            return name;
1✔
89
        }
90

91
        public String getDescription() {
92
            return description;
1✔
93
        }
94

95
    }
96

97
    public static class File {
1✔
98

99
        public String id;
100
        public String name;
101
        public String description;
102
        public String contentSize;
103
        public String encodingFormat;
104

105
        public String getId() {
106
            return id;
1✔
107
        }
108

109
        public String getName() {
110
            return name;
1✔
111
        }
112

113
        public String getDescription() {
114
            return description;
1✔
115
        }
116

117
        public String getContentSize() {
118
            return contentSize;
1✔
119
        }
120

121
        public String getEncodingFormat() {
122
            return encodingFormat;
1✔
123
        }
124

125
    }
126
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc