parameters: (self)
docstring: Return the name corresponding to an object.
  
      Not all objects necessarily need to be nameable, and not all that do have
      a "name" property.  Override as needed.
docstring_summary: Return the name corresponding to an object.
docstring_tokens: Return the name corresponding to an object .
function: def Name(self):
      """Return the name corresponding to an object.
  
      Not all objects necessarily need to be nameable, and not all that do have
      a "name" property.  Override as needed.
      """
  
      # If the schema indicates that "name" is required, try to access the
      # property even if it doesn't exist.  This will result in a KeyError
      # being raised for the property that should be present, which seems more
      # appropriate than NotImplementedError in this case.
      if 'name' in self._properties or \
          ('name' in self._schema and self._schema['name'][3]):
        return self._properties['name']
  
      raise NotImplementedError, \
            self.__class__.__name__ + ' must implement Name'
function_tokens: def Name ( self ) : # If the schema indicates that "name" is required, try to access the # property even if it doesn't exist.  This will result in a KeyError # being raised for the property that should be present, which seems more # appropriate than NotImplementedError in this case. if 'name' in self . _properties or ( 'name' in self . _schema and self . _schema [ 'name' ] [ 3 ] ) : return self . _properties [ 'name' ] raise NotImplementedError , self . __class__ . __name__ + ' must implement Name'