public interface BuildableRDFSClazz extends RDFSClazz, BuildableOntologyClazz
GET_CONNECTION, GET_RESOURCE| Modifier and Type | Method and Description |
|---|---|
Set<RDFSClazz> |
getDirectSuperclazzes()
Returns all direct superclasses of this class, i.e.
|
Set<RDFSProperty> |
getIncomingProperties()
Returns those properties of which this class is part of the range.
|
Set<RDFSProperty> |
getOutgoingProperties()
Returns those properties of which this class is part of the domain.
|
Set<RDFSClazz> |
getSubclazzes()
Returns the subclasses of this class, i.e.
|
boolean |
hasParent(RDFSClazz clazz)
Checks whether the given class is a superclass of this class, i.e.
|
boolean |
hasParent(String resource)
Checks whether the given resource is a superclass of this class, i.e.
|
boolean |
hasPropertyTransitive(RDFSProperty property)
Checks whether this clazz or one of its transitive superclass closure
is the domain of a certain property.
|
boolean |
isDatatype()
Returns whether this class is a rdfs:Datatype.
|
boolean |
isLiteral()
Returns whether this class is a rdfs:Literal.
|
addSuperclazz, getSuperclazzes, setSuperclazzesaddComment, addLabel, getComments, getLabels, setComments, setLabelsdelete, getResourceAsString, getTriples, setResource, setResourceAsStringgetObjectConnection, getResourcebuildSupportTypeSpec, buildTypeSpec, getJavaPackageName, getJavaPoetClassNameSet<RDFSProperty> getOutgoingProperties() throws org.openrdf.repository.RepositoryException
org.openrdf.repository.RepositoryExceptionSet<RDFSProperty> getIncomingProperties() throws org.openrdf.repository.RepositoryException
org.openrdf.repository.RepositoryExceptionSet<RDFSClazz> getSubclazzes() throws org.openrdf.repository.RepositoryException
org.openrdf.repository.RepositoryExceptionSet<RDFSClazz> getDirectSuperclazzes() throws org.openrdf.repository.RepositoryException
rdfs:Class instance X
which is in a rdfs:subClassOf relationship and for which no class X' does exist with
this rdfs:subClassOf+ X' . X' rdfs:subClassOf+ X . org.openrdf.repository.RepositoryException - Thrown of an error occurs while querying the repository.boolean hasParent(String resource) throws org.openrdf.repository.RepositoryException
resource - The resource to check. No check is done whether this actually has rdf:type rdfs:Classorg.openrdf.repository.RepositoryExceptionboolean hasParent(RDFSClazz clazz) throws org.openrdf.repository.RepositoryException
clazz - The class to check.org.openrdf.repository.RepositoryExceptionboolean isLiteral()
throws org.openrdf.repository.RepositoryException
org.openrdf.repository.RepositoryExceptionboolean isDatatype()
throws org.openrdf.repository.RepositoryException
org.openrdf.repository.RepositoryExceptionboolean hasPropertyTransitive(RDFSProperty property) throws org.openrdf.repository.RepositoryException
property - The property to check for.org.openrdf.repository.RepositoryExceptionCopyright © 2017 Chair of Distributed Information Systems - University of Passau. All rights reserved.