PredicateProperties Class Reference
from PyKDE4.kio import *
Detailed Description
A predicate is part of the RDF trinity: subject, predicate, object.
It is identified by URI and it defines the type of the relationship.
For file metadata, a predicate can be seen as a fieldname.
It has a data type, a description, a short id, a cardinality
Method Documentation
__init__ |
( |
self, |
|
|
|
QString |
predicate=QString() |
|
) |
|
|
|
Get the attributes of this group (see Attributes)
- Returns:
- the attributes
long maxCardinality |
( |
|
self ) |
|
long minCardinality |
( |
|
self ) |
|
Localized name of the predicate.
Enumeration Documentation
This enum is used to specify some attributes that an item can have,
which fit neither in the Hint nor in the Unit enum.
- Enumerator:
-
Addable = 1 | |
Removable = 2 | |
Modifiable = 4 | |
Cumulative = 8 | |
Averaged = 16 | |
MultiLine = 32 | |
SqueezeText = 64 | |