Provides a name for display purpose respecting the alias

def getDisplayName(self):
        """Provides a name for display purpose respecting the alias"""
        if self.alias == "":
            return self.name
        return self.name + " as " + self.alias