Package: OWLClassI
OWLClassI
name | instruction | branch | complexity | line | method | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OWLClassI() |
|
|
|
|
|
||||||||||||||||||||
getOwlClassA() |
|
|
|
|
|
||||||||||||||||||||
getPersistenceContext() |
|
|
|
|
|
||||||||||||||||||||
getUri() |
|
|
|
|
|
||||||||||||||||||||
setOwlClassA(OWLClassA) |
|
|
|
|
|
||||||||||||||||||||
setPersistenceContext(UnitOfWorkImpl) |
|
|
|
|
|
||||||||||||||||||||
setUri(URI) |
|
|
|
|
|
||||||||||||||||||||
static {...} |
|
|
|
|
|
||||||||||||||||||||
toString() |
|
|
|
|
|
Coverage
1:•/**
2: * Copyright (C) 2020 Czech Technical University in Prague
3: * <p>
4: * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
5: * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
6: * version.
7: * <p>
8: * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
9: * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
10: * details. You should have received a copy of the GNU General Public License along with this program. If not, see
11: * <http://www.gnu.org/licenses/>.
12: */
13: package cz.cvut.kbss.jopa.test;
14:
15: import cz.cvut.kbss.jopa.model.annotations.*;
16:
17: import java.net.URI;
18:
19: @OWLClass(iri = "http://krizik.felk.cvut.cz/ontologies/jopa/entities#OWLClassI")
20: public class OWLClassI {
21:
22: @Id
23: private URI uri;
24:
25: @OWLObjectProperty(iri = "http://krizik.felk.cvut.cz/ontologies/jopa/attributes#hasA", fetch = FetchType.LAZY, cascade = CascadeType.PERSIST)
26: private OWLClassA owlClassA;
27:
28: /**
29: * @param uri the uri to set
30: */
31: public void setUri(URI uri) {
32: this.uri = uri;
33: }
34:
35: /**
36: * @return the uri
37: */
38: public URI getUri() {
39: return uri;
40: }
41:
42: public void setOwlClassA(OWLClassA owlClassA) {
43: this.owlClassA = owlClassA;
44: }
45:
46: public OWLClassA getOwlClassA() {
47: return owlClassA;
48: }
49:
50: @Override
51: public String toString() {
52: return "OWLClassI{" +
53: "uri=" + uri +
54: ", owlClassA=" + owlClassA +
55: '}';
56: }
57: }