Nepomuk-Core
libnepomukcore/types/property.cpp
Go to the documentation of this file.
43 bool Nepomuk2::Types::PropertyPrivate::addProperty( const QUrl& property, const Soprano::Node& value )
59 if ( value.toString().startsWith( Soprano::Vocabulary::XMLSchema::xsdNamespace().toString() ) ) {
95 bool Nepomuk2::Types::PropertyPrivate::addAncestorProperty( const QUrl& ancestorResource, const QUrl& property )
bool isSubPropertyOf(const Property &other)
Check if this property is derived from another property.
Definition: libnepomukcore/types/property.cpp:432
int cardinality()
The cardinality of this property as specified by nrl:cardinality.
Definition: libnepomukcore/types/property.cpp:340
int minCardinality()
The minimum cardinality of this property as specified by nrl:minCardinality.
Definition: libnepomukcore/types/property.cpp:358
KJob * addProperty(const QList< QUrl > &resources, const QUrl &property, const QVariantList &values, const KComponentData &component=KGlobal::mainComponent())
Add one or more property values to one or more resources.
Definition: datamanagement.cpp:36
Property inverseProperty()
The inverse property (nrl:inverseProperty).
Definition: libnepomukcore/types/property.cpp:214
Literal literalRangeType()
If the rage of this property is a literal (i.e.
Definition: libnepomukcore/types/property.cpp:271
bool isParentOf(const Property &other)
Check if a property inherits this property.
Definition: libnepomukcore/types/property.cpp:404
QList< Property > parentProperties()
Each property can have multiple parent properties.
Definition: libnepomukcore/types/property.cpp:178
QList< Property > subProperties()
Definition: libnepomukcore/types/property.cpp:196
int maxCardinality()
The maximum cardinality of this property as specified by nrl:maxCardinality.
Definition: libnepomukcore/types/property.cpp:381
A property is a resource of type rdf:Property which relates a domain with a range.
Definition: libnepomukcore/types/property.h:52
Property & operator=(const Property &)
Copy operator.
Definition: libnepomukcore/types/property.cpp:171
QExplicitlySharedDataPointer< PropertyPrivate > getProperty(const QUrl &uri)
Definition: entitymanager.cpp:52
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
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.