Uranium
Application Framework
|
A representation of a relationship between two settings. More...
Public Member Functions | |
def | __init__ |
Constructor. More... | |
def | __hash__ |
Ensure that the SettingRelation is hashable, so it can be used in a set. More... | |
def | owner |
The owner of this relation. More... | |
def | target |
The target of this relation. More... | |
def | type |
The type of this relation. More... | |
def | role |
The role of this relation. More... | |
def | __repr__ |
A representation of a relationship between two settings.
This is a simple class representing a relationship between two settings. One of the settings is the "owner", which means it contains the setting, the other setting is the "target", the setting the relation is pointing at. Relations have a type and a role. The type determines in what direction this relation is, the role what property it is used for.
def UM.Settings.SettingRelation.SettingRelation.__init__ | ( | self, | |
owner | |||
) |
Constructor.
owner | SettingDefinition The object that owns this relation. |
target | SettingDefinition The target of the relation. |
type | RelationType The type of the relation. |
role | string The role of the relation, what property is it used for. |
def UM.Settings.SettingRelation.SettingRelation.__hash__ | ( | self | ) |
Ensure that the SettingRelation is hashable, so it can be used in a set.
def UM.Settings.SettingRelation.SettingRelation.owner | ( | self | ) |
The owner of this relation.
def UM.Settings.SettingRelation.SettingRelation.role | ( | self | ) |
The role of this relation.
def UM.Settings.SettingRelation.SettingRelation.target | ( | self | ) |
The target of this relation.
def UM.Settings.SettingRelation.SettingRelation.type | ( | self | ) |
The type of this relation.