1 /* 2 * Copyright 2013-2023 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 * This file is part of Sparkle project. 7 * 8 * Sparkle is free software: you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation, either version 3 of the License. 11 * 12 * Sparkle is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with Sparkle. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 package cz.zcu.mre.sparkle.data.resourceStorage; 21 22 import cz.zcu.mre.sparkle.data.StorageEntry; 23 import org.apache.jena.rdf.model.Resource; 24 25 /** 26 * Položka seznamu {@link ResourcesStorage} obsahující zdroj. 27 * 28 * @author Jan Smucr 29 * @author Petr Vcelak (vcelak@kiv.zcu.cz) 30 */ 31 public class ResourceStorageEntry 32 extends StorageEntry { 33 34 private static final long serialVersionUID = 5235342271809622294L; 35 36 public ResourceStorageEntry(final String namespace, final String localName) { 37 super(namespace, localName); 38 } 39 40 public ResourceStorageEntry(final Resource resource) { 41 super(resource.getNameSpace(), resource.getLocalName()); 42 } 43 44 public ResourceStorageEntry(final Resource resource, final String title) { 45 super(resource.getNameSpace(), resource.getLocalName(), title); 46 } 47 48 public ResourceStorageEntry(String namespace, String localName, String title) { 49 super(namespace, localName, title); 50 } 51 }