1 /* 2 Copyright 2007-2014 Fraunhofer IGD, http://www.igd.fraunhofer.de 3 Fraunhofer-Gesellschaft - Institute for Computer Graphics Research 4 5 See the NOTICE file distributed with this work for additional 6 information regarding copyright ownership 7 8 Licensed under the Apache License, Version 2.0 (the "License"); 9 you may not use this file except in compliance with the License. 10 You may obtain a copy of the License at 11 12 http://www.apache.org/licenses/LICENSE-2.0 13 14 Unless required by applicable law or agreed to in writing, software 15 distributed under the License is distributed on an "AS IS" BASIS, 16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 See the License for the specific language governing permissions and 18 limitations under the License. 19 */ 20 package org.universAAL.middleware.rdf; 21 22 import java.util.Enumeration; 23 24 /** 25 * This class finalizes some of the methods of {@link Resource} so that they 26 * cannot be overwritten by subclasses. 27 * 28 * @author Carsten Stockloew 29 */ 30 public class FinalizedResource extends Resource { 31 32 /** @see org.universAAL.middleware.rdf.Resource#Resource() */ 33 protected FinalizedResource() { 34 super(); 35 } 36 37 /** @see org.universAAL.middleware.rdf.Resource#Resource(boolean) */ 38 public FinalizedResource(boolean isXMLLiteral) { 39 super(isXMLLiteral); 40 } 41 42 /** @see org.universAAL.middleware.rdf.Resource#Resource(String) */ 43 protected FinalizedResource(String uri) { 44 super(uri); 45 } 46 47 /** @see org.universAAL.middleware.rdf.Resource#Resource(String, boolean) */ 48 public FinalizedResource(String uri, boolean isXMLLiteral) { 49 super(uri, isXMLLiteral); 50 } 51 52 /** @see org.universAAL.middleware.rdf.Resource#Resource(String, int) */ 53 protected FinalizedResource(String uriPrefix, int numProps) { 54 super(uriPrefix, numProps); 55 } 56 57 /** @see org.universAAL.middleware.rdf.Resource#getProperty(String) */ 58 public final Object getProperty(String propURI) { 59 return super.getProperty(propURI); 60 } 61 62 /** @see org.universAAL.middleware.rdf.Resource#numberOfProperties() */ 63 public final int numberOfProperties() { 64 return super.numberOfProperties(); 65 } 66 67 /** @see org.universAAL.middleware.rdf.Resource#isAnon() */ 68 public final boolean isAnon() { 69 return super.isAnon(); 70 } 71 72 /** @see org.universAAL.middleware.rdf.Resource#hasQualifiedName() */ 73 public final boolean hasQualifiedName() { 74 return super.hasQualifiedName(); 75 } 76 77 /** @see org.universAAL.middleware.rdf.Resource#getURI() */ 78 public final String getURI() { 79 return super.getURI(); 80 } 81 82 /** @see org.universAAL.middleware.rdf.Resource#getPropertyURIs() */ 83 public final Enumeration getPropertyURIs() { 84 return super.getPropertyURIs(); 85 } 86 87 /** @see org.universAAL.middleware.rdf.Resource#addType(String, boolean) */ 88 public final boolean addType(String typeURI, boolean blockFurtherTypes) { 89 return super.addType(typeURI, blockFurtherTypes); 90 } 91 92 /** @see org.universAAL.middleware.rdf.Resource#getLocalName() */ 93 public final String getLocalName() { 94 return super.getLocalName(); 95 } 96 97 /** @see org.universAAL.middleware.rdf.Resource#getNamespace() */ 98 public final String getNamespace() { 99 return super.getNamespace(); 100 } 101 102 /** @see org.universAAL.middleware.rdf.Resource#getType() */ 103 public final String getType() { 104 return super.getType(); 105 } 106 107 /** @see org.universAAL.middleware.rdf.Resource#getTypes() */ 108 public final String[] getTypes() { 109 return super.getTypes(); 110 } 111 }