Nepomuk-Core
Go to the documentation of this file.
20 #ifndef _NEPOMUK2_CLASS_H_
21 #define _NEPOMUK2_CLASS_H_
23 #include <QtCore/QList>
24 #include <QtCore/QUrl>
25 #include <QtCore/QString>
26 #include <QtCore/QSharedData>
51 friend class ClassPrivate;
68 Class(
const QUrl& uri );
90 QList<Property> rangeOf();
101 QList<Property> rangeOf()
const;
108 QList<Property> domainOf();
119 QList<Property> domainOf()
const;
126 Property findPropertyByName(
const QString& name );
137 Property findPropertyByName(
const QString& name )
const;
146 Property findPropertyByLabel(
const QString& label,
const QString& language = QString() );
159 Property findPropertyByLabel(
const QString& label,
const QString& language = QString() )
const;
169 QList<Class> parentClasses();
183 QList<Class> parentClasses()
const;
191 QList<Class> subClasses();
203 QList<Class> subClasses()
const;
211 QList<Class> allParentClasses();
223 QList<Class> allParentClasses()
const;
231 QList<Class> allSubClasses();
243 QList<Class> allSubClasses()
const;
251 bool isParentOf(
const Class& other );
263 bool isParentOf(
const Class& other )
const;
271 bool isSubClassOf(
const Class& other );
283 bool isSubClassOf(
const Class& other )
const;
Abstract base class for Class and Property;.
A Class is a resource of type rdf:Class.
A property is a resource of type rdf:Property which relates a domain with a range.
Represents the property of a resource.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.