Package: OWLClassN
OWLClassN
name | instruction | branch | complexity | line | method | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OWLClassN() |
|
|
|
|
|
||||||||||||||||||||
getAnnotationProperty() |
|
|
|
|
|
||||||||||||||||||||
getAnnotationUri() |
|
|
|
|
|
||||||||||||||||||||
getId() |
|
|
|
|
|
||||||||||||||||||||
getProperties() |
|
|
|
|
|
||||||||||||||||||||
getStringAttribute() |
|
|
|
|
|
||||||||||||||||||||
setAnnotationProperty(String) |
|
|
|
|
|
||||||||||||||||||||
setAnnotationUri(URI) |
|
|
|
|
|
||||||||||||||||||||
setId(String) |
|
|
|
|
|
||||||||||||||||||||
setProperties(Map) |
|
|
|
|
|
||||||||||||||||||||
setStringAttribute(String) |
|
|
|
|
|
||||||||||||||||||||
static {...} |
|
|
|
|
|
||||||||||||||||||||
toString() |
|
|
|
|
|
Coverage
1: /**
2: * Copyright (C) 2016 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.util.Map;
21: import java.util.Set;
22:
23: @OWLClass(iri = "http://krizik.felk.cvut.cz/ontologies/jopa/entities#OWLClassN")
24: public class OWLClassN {
25:
26: @Id(generated = true)
27: private String id;
28:
29: @OWLAnnotationProperty(iri = "http://krizik.felk.cvut.cz/ontologies/jopa/attributes#annotationProperty")
30: private String annotationProperty;
31:
32: @OWLAnnotationProperty(iri = "http://krizik.felk.cvut.cz/ontologies/jopa/attributes#annotationUri")
33: private URI annotationUri;
34:
35: @ParticipationConstraints(nonEmpty = true)
36: @OWLDataProperty(iri = "http://krizik.felk.cvut.cz/ontologies/jopa/attributes#A-stringAttribute")
37: private String stringAttribute;
38:
39: @Inferred
40: @Properties(fetchType = FetchType.LAZY)
41: private Map<String, Set<String>> properties;
42:
43: public String getId() {
44: return id;
45: }
46:
47: public void setId(String id) {
48: this.id = id;
49: }
50:
51: public String getAnnotationProperty() {
52: return annotationProperty;
53: }
54:
55: public void setAnnotationProperty(String annotationProperty) {
56: this.annotationProperty = annotationProperty;
57: }
58:
59: public URI getAnnotationUri() {
60: return annotationUri;
61: }
62:
63: public void setAnnotationUri(URI annotationUri) {
64: this.annotationUri = annotationUri;
65: }
66:
67: public String getStringAttribute() {
68: return stringAttribute;
69: }
70:
71: public void setStringAttribute(String stringAttribute) {
72: this.stringAttribute = stringAttribute;
73: }
74:
75: public Map<String, Set<String>> getProperties() {
76: return properties;
77: }
78:
79: public void setProperties(Map<String, Set<String>> properties) {
80: this.properties = properties;
81: }
82:
83: @Override
84: public String toString() {
85: return "OWLClassN{" +
86: "id='" + id + '\'' +
87: ", annotationProperty='" + annotationProperty + '\'' +
88: ", annotationUri=" + annotationUri +
89: ", stringAttribute='" + stringAttribute + '\'' +
90: ", properties=" + properties +
91: '}';
92: }
93: }