Package: OWLClassV
OWLClassV
name | instruction | branch | complexity | line | method | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OWLClassV() |
|
|
|
|
|
||||||||||||||||||||
getDescription() |
|
|
|
|
|
||||||||||||||||||||
getName() |
|
|
|
|
|
||||||||||||||||||||
getPersistenceContext() |
|
|
|
|
|
||||||||||||||||||||
getProperties() |
|
|
|
|
|
||||||||||||||||||||
getThings() |
|
|
|
|
|
||||||||||||||||||||
getTypes() |
|
|
|
|
|
||||||||||||||||||||
getUri() |
|
|
|
|
|
||||||||||||||||||||
setDescription(String) |
|
|
|
|
|
||||||||||||||||||||
setName(String) |
|
|
|
|
|
||||||||||||||||||||
setPersistenceContext(UnitOfWorkImpl) |
|
|
|
|
|
||||||||||||||||||||
setProperties(Map) |
|
|
|
|
|
||||||||||||||||||||
setThings(Set) |
|
|
|
|
|
||||||||||||||||||||
setTypes(Set) |
|
|
|
|
|
||||||||||||||||||||
setUri(String) |
|
|
|
|
|
||||||||||||||||||||
static {...} |
|
|
|
|
|
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.RDFS;
19:
20: import java.util.Map;
21: import java.util.Set;
22:
23: @OWLClass(iri = Vocabulary.C_OWL_CLASS_V)
24: public class OWLClassV {
25:
26: @Id(generated = true)
27: private String uri;
28:
29: @OWLAnnotationProperty(iri = RDFS.LABEL)
30: private String name;
31:
32: @OWLAnnotationProperty(iri = Vocabulary.DC_DESCRIPTION)
33: private String description;
34:
35: @Types
36: private Set<String> types;
37:
38: @Properties(fetchType = FetchType.EAGER)
39: private Map<String, Set<String>> properties;
40:
41: @OWLObjectProperty(iri = Vocabulary.V_HAS_THING)
42: private Set<Thing> things;
43:
44: public String getUri() {
45: return uri;
46: }
47:
48: public void setUri(String uri) {
49: this.uri = uri;
50: }
51:
52: public String getName() {
53: return name;
54: }
55:
56: public void setName(String name) {
57: this.name = name;
58: }
59:
60: public String getDescription() {
61: return description;
62: }
63:
64: public void setDescription(String description) {
65: this.description = description;
66: }
67:
68: public Set<String> getTypes() {
69: return types;
70: }
71:
72: public void setTypes(Set<String> types) {
73: this.types = types;
74: }
75:
76: public Map<String, Set<String>> getProperties() {
77: return properties;
78: }
79:
80: public void setProperties(Map<String, Set<String>> properties) {
81: this.properties = properties;
82: }
83:
84: public Set<Thing> getThings() {
85: return things;
86: }
87:
88: public void setThings(Set<Thing> things) {
89: this.things = things;
90: }
91: }