Skip to content

Method: setDescription(String)

1: /*
2: * JOPA
3: * Copyright (C) 2023 Czech Technical University in Prague
4: *
5: * This library is free software; you can redistribute it and/or
6: * modify it under the terms of the GNU Lesser General Public
7: * License as published by the Free Software Foundation; either
8: * version 3.0 of the License, or (at your option) any later version.
9: *
10: * This library is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13: * Lesser General Public License for more details.
14: *
15: * You should have received a copy of the GNU Lesser General Public
16: * License along with this library.
17: */
18: package cz.cvut.kbss.jopa.test;
19:
20: import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
21: import cz.cvut.kbss.jopa.model.annotations.OWLClass;
22: import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
23: import cz.cvut.kbss.jopa.model.annotations.Types;
24: import cz.cvut.kbss.jopa.vocabulary.DC;
25: import cz.cvut.kbss.jopa.vocabulary.RDFS;
26:
27: import java.util.Set;
28:
29: @OWLClass(iri = Vocabulary.C_OWL_CLASS_S)
30: public class OWLClassS extends OWLClassSParent {
31:
32: @OWLAnnotationProperty(iri = RDFS.LABEL)
33: private String name;
34:
35: @OWLDataProperty(iri = DC.Terms.DESCRIPTION)
36: private String description;
37:
38: @Types
39: private Set<String> types;
40:
41: public String getName() {
42: return name;
43: }
44:
45: public void setName(String name) {
46: this.name = name;
47: }
48:
49: public String getDescription() {
50: return description;
51: }
52:
53: public void setDescription(String description) {
54: this.description = description;
55: }
56:
57: public Set<String> getTypes() {
58: return types;
59: }
60:
61: public void setTypes(Set<String> types) {
62: this.types = types;
63: }
64: }