Package: OWLClassP
OWLClassP
name | instruction | branch | complexity | line | method | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OWLClassP() |
|
|
|
|
|
||||||||||||||||||||
getIndividualUri() |
|
|
|
|
|
||||||||||||||||||||
getIndividuals() |
|
|
|
|
|
||||||||||||||||||||
getPersistenceContext() |
|
|
|
|
|
||||||||||||||||||||
getProperties() |
|
|
|
|
|
||||||||||||||||||||
getReferencedList() |
|
|
|
|
|
||||||||||||||||||||
getSimpleList() |
|
|
|
|
|
||||||||||||||||||||
getTypes() |
|
|
|
|
|
||||||||||||||||||||
getUri() |
|
|
|
|
|
||||||||||||||||||||
setIndividualUri(URI) |
|
|
|
|
|
||||||||||||||||||||
setIndividuals(Set) |
|
|
|
|
|
||||||||||||||||||||
setPersistenceContext(UnitOfWorkImpl) |
|
|
|
|
|
||||||||||||||||||||
setProperties(Map) |
|
|
|
|
|
||||||||||||||||||||
setReferencedList(List) |
|
|
|
|
|
||||||||||||||||||||
setSimpleList(List) |
|
|
|
|
|
||||||||||||||||||||
setTypes(Set) |
|
|
|
|
|
||||||||||||||||||||
setUri(URI) |
|
|
|
|
|
||||||||||||||||||||
static {...} |
|
|
|
|
|
||||||||||||||||||||
toString() |
|
|
|
|
|
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:
19: import java.net.URI;
20: import java.net.URL;
21: import java.util.List;
22: import java.util.Map;
23: import java.util.Set;
24:
25: @OWLClass(iri = Vocabulary.C_OWL_CLASS_P)
26: public class OWLClassP implements HasUri {
27:
28: @Id(generated = true)
29: private URI uri;
30:
31: @OWLObjectProperty(iri = "http://krizik.felk.cvut.cz/ontologies/jopa/attributes#hasIndividual")
32: private URI individualUri;
33:
34: @OWLObjectProperty(iri = "http://krizik.felk.cvut.cz/ontologies/jopa/attributes#hasOtherIndividual")
35: private Set<URL> individuals;
36:
37: @Sequence(type = SequenceType.simple)
38: @OWLObjectProperty(iri = "http://krizik.felk.cvut.cz/ontologies/jopa/attributes#P-hasSimpleSequence")
39: private List<URI> simpleList;
40:
41: @Sequence
42: @OWLObjectProperty(iri = "http://krizik.felk.cvut.cz/ontologies/jopa/attributes#P-hasReferencedSequence")
43: private List<URI> referencedList;
44:
45: @Types
46: private Set<URI> types;
47:
48: @Properties(fetchType = FetchType.EAGER)
49: private Map<URI, Set<Object>> properties;
50:
51: @Override
52: public URI getUri() {
53: return uri;
54: }
55:
56: public void setUri(URI uri) {
57: this.uri = uri;
58: }
59:
60: public URI getIndividualUri() {
61: return individualUri;
62: }
63:
64: public void setIndividualUri(URI individualUri) {
65: this.individualUri = individualUri;
66: }
67:
68: public Set<URL> getIndividuals() {
69: return individuals;
70: }
71:
72: public void setIndividuals(Set<URL> individuals) {
73: this.individuals = individuals;
74: }
75:
76: public List<URI> getSimpleList() {
77: return simpleList;
78: }
79:
80: public void setSimpleList(List<URI> simpleList) {
81: this.simpleList = simpleList;
82: }
83:
84: public List<URI> getReferencedList() {
85: return referencedList;
86: }
87:
88: public void setReferencedList(List<URI> referencedList) {
89: this.referencedList = referencedList;
90: }
91:
92: public Set<URI> getTypes() {
93: return types;
94: }
95:
96: public void setTypes(Set<URI> types) {
97: this.types = types;
98: }
99:
100: public Map<URI, Set<Object>> getProperties() {
101: return properties;
102: }
103:
104: public void setProperties(Map<URI, Set<Object>> properties) {
105: this.properties = properties;
106: }
107:
108: @Override
109: public String toString() {
110: return "OWLClassP{" +
111: "uri=" + uri +
112: ", types=" + types +
113: ", properties=" + properties +
114: '}';
115: }
116: }