def METHOD_NAME(self):
    """Returns a set of all objects contained by this instance.
    """
    METHOD_NAME = set()
    for assoc in self.associations:
        for obj in assoc.objects:
            METHOD_NAME.add(obj)
    return METHOD_NAME