class Association - 5.3.1 Association link

Declared in module tm

Synopsis

class Association:
    def __init__(self, linktype='', type=None, roles=(), scopes=())
    def add_role(self, role) # Add the association roles to the list of association roles.
    def add_scope(self, scope) # Add the scoping topic to the list of scoping topics.
    def finalize(self) # Finalize the Association object and resolve any missing information.
    def get_id(self) # Get the internal Association id.
    def get_linktype(self) # Get the association link type.
    def get_roles(self) # Get the association roles of this association.
    def get_scopes(self) # Get the scopes that apply to this association.
    def get_type(self) # Get the type of this association.
    def set_linktype(self, linktype) # Set the association link type.
    def set_roles(self, roles) # Set the association roles of this association.
    def set_scopes(self, scopes) # Set the scopes that apply to this association.
    def set_type(self, type) # Set the association type.