:returns: return the proper name to match
493143
def getTypename(cls):
        '''
        
        '''
        if cls is Event:
            return None
        else:
            for c in cls.__bases__:
                if issubclass(c, Event):
                    if c is Event:
                        return cls._getTypename()
                    else:
                        return c.getTypename()
209592
def name(self):
        
        el_name = self._el.find('mets:name', NS)
        if el_name is not None:
            return el_name.text
1236751
def qualified_name(self):
        ''''''
        if self.module == self:
            return self.module.name
        else:
            if "." not in self.name:
                return '{0}.{1}'.format(self.module.name, self.name)
            else:
                # We have a fully qualified reference, just return it
                return self.name
1225586
def nonver_name(self):
        """"""
        nv = self.as_version(None)
        if not nv:
            import re
            nv = re.sub(r'-[^-]+$', '', self.name)

        return nv
911115
def fullName(self):
        
        if self.givenName and self.sn:
            return "{0} {1}".format(self.givenName, self.sn)
        if self.givenName:
            return self.givenName
        if self.sn:
            return self.sn
        return self.uid
590358
def name(self):
        
        size = len(self)
        if size > 0:
            return self.item_type.name.capitalize() + str(size)
        else:
            return self.item_type.name.capitalize()
320391
def get_extname(self):
        
        name = self._info['extname']
        if name.strip() == '':
            name = self._info['hduname']
        return name.strip()
883840
def name(value):
    
    if value is None:
        return 'any'
    for (test, name) in TESTS:
        if isinstance(value, test):
            return name
    return 'string'
439826
def name(self):
        
        name = super(Interface, self).name
        return name if name else self.data.get('name')
670172
def _get_name(self):
        
        if self._name is None:
            self._name = self._generate_name()
        return self._name
786108
def name(self):
        
        if self.m_name == -1 or (self.m_event != const.START_TAG and self.m_event != const.END_TAG):
            return u''

        return self.sb[self.m_name]
212427
def get_name(self):
        
        if self.OP > 0xff:
            if self.OP >= 0xf2ff:
                return DALVIK_OPCODES_OPTIMIZED[self.OP][1][0]
            return DALVIK_OPCODES_EXTENDED_WIDTH[self.OP][1][0]
        return DALVIK_OPCODES_FORMAT[self.OP][1][0]
1029160
def name(self):
        """"""
        # first two path tokens are can be removed as they are
        # refs/heads or refs/tags or refs/remotes
        tokens = self.path.split('/')
        if len(tokens) < 3:
            return self.path           # could be refs/HEAD
        return '/'.join(tokens[2:])
1255300
def full_name(self):
        
        return "%s %s %s %s" % (self.get_title_display(), 
                                self.first_name,
                                self.other_names.replace(",", ""),
                                self.last_name)
722638
def name(self):
        
        names = self._element.xpath('./c:tx//c:pt/c:v/text()')
        name = names[0] if names else ''
        return name
347907
def name(self):
        '''
        

        '''

        if self.cadence == 'lc':
            return self.__class__.__name__
        else:
            return '%s.sc' % self.__class__.__name__
319863
def name():
        
        result = ""

        if RandomBoolean.chance(3, 5):
            result += random.choice(_name_prefixes) + " "

        result += random.choice(_first_names) + " " + random.choice(_last_names)

        if RandomBoolean.chance(5, 10):
            result += " " + random.choice(_name_suffixes)

        return result