class AssociationRole - 5.3.2 Association role

Declared in module tm

Synopsis

class AssociationRole:
    def __init__(self, rolename='', type=None, locators=())
    def add_locator(self, locator) # Add the locator to the list of locators.
    def finalize(self) # Finalize the AssociationRole object and resolve any missing information.
    def get_id(self) # Get the internal AssociationRole id.
    def get_locators(self) # Get the locators of this association role.
    def get_rolename(self) # Get the name of this association role.
    def get_type(self) # Get the association type of this association role.
    def set_locators(self, locators) # Set the locators of this association role.
    def set_rolename(self, rolename) # Set the name of this association role.
    def set_type(self, type) # Set the association types of this association role.