class Facet - 5.4.1 Facet link

Declared in module tm

Synopsis

class Facet:
    def __init__(self, linktype='', type=None, values=())
    def add_value(self, value) # Add the value to the list of facet values.
    def finalize(self) # Finalize the Facet object and resolve any missing information.
    def get_id(self) # Get the internal Facet id.
    def get_linktype(self) # Get the facet link type.
    def get_type(self) # Get the type of this facet.
    def get_values(self) # Get the facet values of this facet.
    def set_linktype(self, linktype) # Set the facet link type.
    def set_type(self, type) # Set the facet type.
    def set_values(self, values) # Set the values of this facet.