class documentation
class ObjType: (source)
An ObjType is the description for a type of object that a domain can document. In the object_types attribute of Domain subclasses, object type names are mapped to instances of this class. Constructor arguments: - *lname*: localized name of the type (do not include domain name) - *roles*: all the roles that can refer to an object of this type - *attrs*: object attributes -- currently only "searchprio" is known, which defines the object's priority in the full-text search index, see :meth:`Domain.get_objects()`.
Method | __init__ |
Undocumented |
Class Variable | known |
Undocumented |
Instance Variable | attrs |
Undocumented |
Instance Variable | lname |
Undocumented |
Instance Variable | roles |
Undocumented |