Declared in module tm
class Topic: def __init__(self, sgml_id='', identity='', linktype='', types=(), scopes=(), names=(), occurs=()) def __repr__(self) def __str__(self) def add_association(self, association) # Add an association to the list of associations that this topic is an anchor of. def add_name(self, name) # Add name to the list of names. def add_occurrence(self, occurrence) # Add occurrence to the list of occurrences. def add_scope(self, scope) # Add scope to the list of scopes. def add_type(self, type) # Add type to the list of topic types. def finalize(self) # Finalize the Topic object and resolve any missing information. def get_associations(self) # Get the list of associations that this topic is an anchor of. def get_id(self) # Get the internal Topic id. def get_identity(self) # Get the topic's subject identity. def get_linktype(self) # Get the topic link type. def get_names(self) # Get list of all names. def get_occurrences(self) # Get list of occurrences. def get_scopes(self) # Get the scopes that apply to this topic. def get_sgml_id(self) # Get topic id. def get_types(self) # Get list of topic types. def set_associations(self, associations) # Set the list of associations that this topic is an anchor of. def set_identity(self, identity) # Set the subject identity. def set_linktype(self, linktype) # Set the topic link type. def set_names(self, names) # Set list of all names. def set_occurrences(self, occurrences) # Set list of occurrences. def set_scopes(self, scopes) # Set list of scopes. def set_sgml_id(self, sgml_id) # Set topic id. def set_types(self, types) # Set list of topic types.