1 /*
2 * Copyright 2018-2022 Medical Information Systems Research Group (https://medical.zcu.cz),
3 * Department of Computer Science and Engineering, University of West Bohemia.
4 * Address: Univerzitni 8, 306 14 Plzen, Czech Republic.
5 *
6 * Author Petr Vcelak (vcelak@kiv.zcu.cz).
7 *
8 * This file is part of MRECore project.
9 *
10 * MRECore is free software: you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation, either version 3 of the License.
13 *
14 * MRECore is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with MRECore. If not, see <http://www.gnu.org/licenses/>.
21 */
22 package cz.zcu.mre.data.core;
23
24 /**
25 * Main interface for MRE data instance.
26 *
27 * @author Petr Vcelak (vcelak@kiv.zcu.cz)
28 */
29 public class MREStringLang {
30
31 private String string;
32 private String lang = null;
33
34 public String getString() {
35 return string;
36 }
37
38 public void setString(String string) {
39 this.string = string;
40 }
41
42 public String getLang() {
43 return lang;
44 }
45
46 public void setLang(String lang) {
47 this.lang = lang;
48 }
49
50 @Override
51 public String toString() {
52 return string;
53 }
54 }