Nepomuk
class.h
Go to the documentation of this file.
159 Property findPropertyByLabel( const QString& label, const QString& language = QString() ) const;
338 const Property* findPropertyByLabel( const QString& label, const QString& language = QString() ) const;
const Property * findPropertyByUri(const QUrl &uri) const
Search for a property in the class by its name.
static const Class * load(const QUrl &uri)
Loads a class actually including the whole ontology it is declared in.
bool isParentOf(const Class *other) const
Check if a class inherits this class.
QList< const Property * > allProperties() const
const Property * findPropertyByLabel(const QString &label, const QString &language=QString()) const
Search for a property in the class by its label.
const Property * findPropertyByName(const QString &name) const
Search for a property in the class by its name.
QList< const Class * > subClasses() const
Class & operator=(const Class &)
bool isSubClassOf(const Class *other) const
Check if this class is derived from another class.
QList< const Class * > parentClasses() const
Each class can have multiple parent classes.
Definition: entity.h:270
The OntologyManager is the central ontology cache handler.
Definition: ontologymanager.h:45
A property is a resource of type rdf:Property which relates a domain with a range.
Definition: property.h:317
QList< Class > allParentClasses()
Recursively determines all parent classes of this class, not only the direct ones.
Property findPropertyByLabel(const QString &label, const QString &language=QString())
Search for a property in the class by its label.
Property findPropertyByName(const QString &name)
Search for a property in the class by its name.
bool isSubClassOf(const Class &other)
Check if this class is derived from another class.
QList< Property > domainOf() const
A Property has a certain domain which is a Class.
bool isParentOf(const Class &other)
Check if a class inherits this class.
Property findPropertyByName(const QString &name) const
Search for a property in the class by its name.
QList< Property > rangeOf() const
A Property has a certain range which is a Class or a Literal.
QList< Property > domainOf()
A Property has a certain domain which is a Class.
bool isParentOf(const Class &other) const
Check if a class inherits this class.
QList< Class > subClasses()
QList< Class > parentClasses()
Each class can have multiple parent classes.
QList< Class > allSubClasses()
Recursively determines all sub classes of this class, not only the direct ones.
Property findPropertyByLabel(const QString &label, const QString &language=QString()) const
Search for a property in the class by its label.
bool isSubClassOf(const Class &other) const
Check if this class is derived from another class.
QList< Class > parentClasses() const
Each class can have multiple parent classes.
QList< Class > allParentClasses() const
Recursively determines all parent classes of this class, not only the direct ones.
QList< Property > rangeOf()
A Property has a certain range which is a Class or a Literal.
QList< Class > allSubClasses() const
Recursively determines all sub classes of this class, not only the direct ones.
QList< Class > subClasses() const
A property is a resource of type rdf:Property which relates a domain with a range.
Definition: property.h:53
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.