'Get all names of children
:return:
:rtype:'

@property
def names(self):

    if (not self.children):
        return set([self.name])
    else:
        ret = set()
        for child in self.children:
            for name in child.names:
                ret.add(name)
        return ret
