'Finds a component definition.
@param table: the primary table or table name
@param name: the component name (without prefix)'

@classmethod
def get_component(cls, table, name):

    components = cls.get_components(table, names=name)
    if (name in components):
        return components[name]
    else:
        return None
