Skip to content

Package: Thing

Thing

nameinstructionbranchcomplexitylinemethod
Thing()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getDescription()
M: 13 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getName()
M: 13 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getPersistenceContext()
M: 0 C: 10
100%
M: 0 C: 2
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getProperties()
M: 13 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getTypes()
M: 13 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getUri()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
setDescription(String)
M: 0 C: 18
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
setName(String)
M: 0 C: 18
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
setPersistenceContext(UnitOfWorkImpl)
M: 0 C: 11
100%
M: 0 C: 2
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
setProperties(Map)
M: 18 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
setTypes(Set)
M: 0 C: 18
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
setUri(String)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
static {...}
M: 0 C: 2
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%

Coverage

1:•/**
2: * Copyright (C) 2022 Czech Technical University in Prague
3: *
4: * This program is free software: you can redistribute it and/or modify it under
5: * the terms of the GNU General Public License as published by the Free Software
6: * Foundation, either version 3 of the License, or (at your option) any
7: * later version.
8: *
9: * This program is distributed in the hope that it will be useful, but WITHOUT
10: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11: * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
12: * details. You should have received a copy of the GNU General Public License
13: * along with this program. If not, see <http://www.gnu.org/licenses/>.
14: */
15: package cz.cvut.kbss.jopa.test;
16:
17: import cz.cvut.kbss.jopa.model.annotations.*;
18: import cz.cvut.kbss.jopa.vocabulary.OWL;
19: import cz.cvut.kbss.jopa.vocabulary.RDFS;
20:
21: import java.util.Map;
22: import java.util.Set;
23:
24: @OWLClass(iri = OWL.THING)
25: public class Thing {
26:
27: @Id(generated = true)
28: private String uri;
29:
30: @OWLAnnotationProperty(iri = RDFS.LABEL)
31: private String name;
32:
33: @OWLAnnotationProperty(iri = Vocabulary.DC_DESCRIPTION)
34: private String description;
35:
36: @Types
37: private Set<String> types;
38:
39: @Properties
40: private Map<String, Set<String>> properties;
41:
42: public String getUri() {
43: return uri;
44: }
45:
46: public void setUri(String uri) {
47: this.uri = uri;
48: }
49:
50: public String getName() {
51: return name;
52: }
53:
54: public void setName(String name) {
55: this.name = name;
56: }
57:
58: public String getDescription() {
59: return description;
60: }
61:
62: public void setDescription(String description) {
63: this.description = description;
64: }
65:
66: public Set<String> getTypes() {
67: return types;
68: }
69:
70: public void setTypes(Set<String> types) {
71: this.types = types;
72: }
73:
74: public Map<String, Set<String>> getProperties() {
75: return properties;
76: }
77:
78: public void setProperties(Map<String, Set<String>> properties) {
79: this.properties = properties;
80: }
81: }